Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

A team runs several REST APIs on Cloud Run services and Cloud Run functions.

A team runs several REST APIs on Cloud Run services and Cloud Run functions. They want a single fully managed entry point that validates client credentials such as API keys, enforces per-consumer usage quotas, and provides consistent monitoring for all of the APIs. They don't want to change the backend code. Which service should they deploy?

  • AAPI Gateway, with an API config that defines the serverless backends
  • BCloud CDN, enabled in front of the serverless backends
  • CCloud NAT, configured for the region of the serverless backends
  • DEventarc, with triggers that route requests to each backend
Show the answer and explanation

Correct answer: A) API Gateway, with an API config that defines the serverless backends

API Gateway gives serverless backends such as Cloud Run services and Cloud Run functions one managed entry point for authentication, API keys, quotas and monitoring. Apigee is the full-featured alternative for enterprise API management, but this scenario is a simple serverless case that API Gateway covers.

Why each option is right or wrong

  • A) Correct. API Gateway is a fully managed gateway for serverless backends such as Cloud Run services and Cloud Run functions. It authenticates requests using the method in the API config, can require API keys, enforces quotas and usage limits, and provides monitoring. None of this requires changes to the backend code.
  • B) Incorrect. Cloud CDN caches content at Google's edge to reduce latency and backend load. It doesn't validate API keys, enforce per-consumer quotas or provide API management.
  • C) Incorrect. Cloud NAT gives private resources outbound internet access. It doesn't handle inbound API requests, authentication or quotas.
  • D) Incorrect. Eventarc delivers events from sources such as Pub/Sub or audit logs to targets such as Cloud Run. It isn't a synchronous API front door and doesn't provide API keys, quotas or API monitoring.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.