Google Cloud Professional Cloud Developer — Question 289
You work for an ecommerce company, and you are responsible for deploying and managing multiple APIs. The operations team wants to review the traffic patterns in the orders-prod and users-prod environments. These are the only environments in the store-prod environment group. You want to follow Google-recommended practices. What should you do?
Answer options
- A. Assign the Apigee Analytics Viewer IAM role to the operations team for both environments. Use Cloud Monitoring to review traffic patterns.
- B. Assign the Apigee Analytics Viewer IAM role to the operations team for both environments. Use Apigee API Analytics to review traffic patterns.
- C. Assign the Apigee API Reader IAM role to each user of the operations team for both environments. Use Cloud Monitoring to review traffic patterns.
- D. Assign the Apigee API Reader IAM role to each user of the operations team for both environments. Use Apigee API Analytics to review traffic patterns.
Correct answer: B
Explanation
The correct choice is B because assigning the Apigee Analytics Viewer IAM role allows the operations team to access analytics and using Apigee API Analytics is the recommended method for reviewing traffic patterns. Options A and C suggest using Cloud Monitoring, which is less specific for API traffic analysis, while D assigns the incorrect role that limits access for detailed analytics.