nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #324

You are developing an external-facing application on GKE that provides a streaming API to users. You want to offer two subscription tiers, "basic" and "premium", to users based on the number of API re

The correct answer is A. 1. Configure the service on GKE as a backend to an Apigee proxy.. Apigee is Google's enterprise API management platform and is the recommended solution for enforcing per-consumer quotas and subscription tiers. When the GKE service is registered as an Apigee backend, you can create separate Apigee products ('basic' and 'premium') with different

Designing and Implementing APIs

Question

You are developing an external-facing application on GKE that provides a streaming API to users. You want to offer two subscription tiers, “basic” and “premium”, to users based on the number of API requests that each client application is allowed to make each day. You want to design the application architecture to provide subscription tiers to users while following Google- recommended practices. What should you do?

Options

  • A
    1. Configure the service on GKE as a backend to an Apigee proxy.
  • B
    1. Configure the service on GKE as a backend to an Apigee proxy.
  • C
    1. Configure the service on GKE as a backend to two new projects, each with a separate
  • D
    1. Deploy the application to two GKE clusters, one for each subscription tier. Configure each

How the community answered

(25 responses)
  • A
    76% (19)
  • B
    8% (2)
  • C
    4% (1)
  • D
    12% (3)

Explanation

Apigee is Google's enterprise API management platform and is the recommended solution for enforcing per-consumer quotas and subscription tiers. When the GKE service is registered as an Apigee backend, you can create separate Apigee products ('basic' and 'premium') with different quota policies (e.g., 1,000 vs. 10,000 requests/day) and issue API keys per subscription tier. No application code changes are needed to enforce the limits. Option C (two separate projects) and Option D (two GKE clusters) are operationally expensive and duplicate infrastructure unnecessarily. Apigee centralizes this concern in one place, following Google-recommended API management practices.

Topics

#API Management#Apigee#API Quotas#GKE Integration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice