Google Cloud Associate Cloud Engineer — Question 77
You want to find out when users were added to Cloud Spanner Identity Access Management (IAM) roles on your Google Cloud Platform (GCP) project. What should you do in the GCP Console?
Answer options
- A. Open the Cloud Spanner console to review configurations.
- B. Open the IAM & admin console to review IAM policies for Cloud Spanner roles.
- C. Go to the Stackdriver Monitoring console and review information for Cloud Spanner.
- D. Go to the Stackdriver Logging console, review admin activity logs, and filter them for Cloud Spanner IAM roles.
Correct answer: D
Explanation
The correct answer is D because the Stackdriver Logging console provides access to admin activity logs where you can filter for Cloud Spanner IAM roles to see when users were added. Option A does not provide the necessary logs, B only reviews IAM policies without showing when changes were made, and C focuses on monitoring rather than logging user assignments.