PROFESSIONAL-CLOUD-DEVELOPER · Question #253
You need to build a public API that authenticates, enforces quotas, and reports metrics for API callers. Which tool should you use to complete this architecture?
The correct answer is B. Cloud Endpoints. Cloud Endpoints is Google's API management platform designed precisely for this use case. It provides: (1) authentication via API keys, JWT, or Firebase/Google Auth; (2) quota and rate-limit enforcement per consumer; and (3) automatic metric collection and dashboards through Clou
Question
You need to build a public API that authenticates, enforces quotas, and reports metrics for API callers. Which tool should you use to complete this architecture?
Options
- AApp Engine
- BCloud Endpoints
- CIdentity-Aware Proxy
- DGKE Ingress for HTTP(S) Load Balancing
How the community answered
(19 responses)- B95% (18)
- C5% (1)
Explanation
Cloud Endpoints is Google's API management platform designed precisely for this use case. It provides: (1) authentication via API keys, JWT, or Firebase/Google Auth; (2) quota and rate-limit enforcement per consumer; and (3) automatic metric collection and dashboards through Cloud Monitoring and Cloud Logging - all without writing custom middleware. App Engine (A) is an application hosting platform with no built-in API quota or key management. Identity-Aware Proxy (C) controls access to internal applications based on Google identity, but it does not manage API keys, per-client quotas, or API-level metrics. GKE Ingress for HTTP(S) Load Balancing (D) routes traffic and can terminate TLS, but has no native API key authentication or quota enforcement capabilities.
Topics
Community Discussion
No community discussion yet for this question.