nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #392

You recently deployed an API to process hotel room requests. You need to enforce a quota on incoming API requests that allows no more than 1000 API search requests by each customer for every…

The correct answer is A. Configure an Apigee Quota policy with the Synchronous setting set to false. Reset the quota on. An Apigee Quota policy with the Synchronous setting set to false efficiently enforces quotas with high performance, prioritizing API speed. It allows quota resets based on bookings or time, as required, even if the enforcement is not perfectly exact.

Managing API Traffic

Question

You recently deployed an API to process hotel room requests. You need to enforce a quota on incoming API requests that allows no more than 1000 API search requests by each customer for every successful booking by that customer. You want the quota to reset every 24 hours. You want to prioritize the speed of the API over allowing exactly 1000 searches for every booking. What should you do?

Options

  • AConfigure an Apigee Quota policy with the Synchronous setting set to false. Reset the quota on
  • BStore a query counter in a Firestore document that uses the customer ID as the key. Reset the
  • CStore a query counter in memory that counts the number of search requests by each customer.
  • DIn BigQuery, store a table row for each search and booking request along with the customer ID

How the community answered

(33 responses)
  • A
    76% (25)
  • B
    3% (1)
  • C
    15% (5)
  • D
    6% (2)

Explanation

An Apigee Quota policy with the Synchronous setting set to false efficiently enforces quotas with high performance, prioritizing API speed. It allows quota resets based on bookings or time, as required, even if the enforcement is not perfectly exact.

Topics

#API Management#Apigee#Quota Enforcement#Performance Optimization

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice