Courseiva
Question 323 of 964
Building and testing applicationshardMultiple ChoiceObjective-mapped

PCD Building and testing applications Practice Question

A team is building a mobile backend on Google Cloud using Cloud Endpoints with Firebase Authentication. They want to protect their API from abuse by implementing rate limiting per user. What approach should they take?

⚠ Common exam trap

Google Cloud often tests the misconception that Cloud Endpoints can handle rate limiting natively, but in reality, it only provides authentication and logging, while Apigee is the dedicated API management solution for rate limiting and monetization.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Apigee API Management as a proxy to enforce rate limiting per developer app.

Apigee API Management is the correct choice because it provides built-in rate limiting policies that can be enforced per developer app, which maps directly to per-user rate limiting when Firebase Authentication is used. Cloud Endpoints does not natively support per-user rate limiting; it relies on the backend to implement such logic, which is not a managed solution. Apigee acts as a proxy that can inspect the Firebase-issued JWT token to identify the user and apply rate limits accordingly, offloading this concern from the backend code.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Implement rate limiting in the backend code and enforce it via Cloud Endpoints.

    Why it's wrong here

    Cloud Endpoints does not provide mechanisms to enforce rate limiting based on user identity.

  • Use Apigee API Management as a proxy to enforce rate limiting per developer app.

    Why this is correct

    Apigee can rate limit based on API keys or tokens associated with users.

  • Configure Cloud Armor with a rule to block requests from users exceeding a threshold.

    Why it's wrong here

    Cloud Armor works at the IP level, not per user ID.

  • Use Cloud CDN with a cache key based on the user ID.

    Why it's wrong here

    Cloud CDN caches content, it does not rate limit requests.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCD practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCD exam.