Google Professional Cloud DevOps Engineer Question 72
Single answerGoogle Cloud PlatformYour team uses Google Cloud services to manage deployments for a high-traffic application. They use Artifact Registry to store container images, Cloud Build for CI pipelines, and Cloud Deploy to manage staged rollouts. As part of compliance requirements, you need to implement auditing to track deployment changes, including who initiated them and when. Which Google Cloud service provides a centralized location to track this information?
- A
Cloud Monitoring
- B
Cloud Audit Logs
- C
Cloud Trace
- D
Google Workspace Activity Logs
Show answer and explanation
Correct answer: B
Explanation
Cloud Audit Logs is the appropriate service for tracking and auditing deployment activities in Google Cloud. It records administrative actions, such as creating or modifying deployments, and provides details like the user who initiated the action and the timestamp. This aligns with the compliance requirement for tracking deployment changes.
- A. Incorrect.
Cloud Monitoring is used to monitor application performance and resource metrics but does not provide detailed audit logs for deployments.
- B. Correct.
Cloud Audit Logs records administrative activity, including deployments, and tracks who performed actions, making it the correct choice for auditing deployment changes.
- C. Incorrect.
Cloud Trace is designed to analyze request latencies and trace distributed systems but does not track deployment activities or administrative actions.
- D. Incorrect.
Google Workspace Activity Logs are for logging activities in Google Workspace tools like Gmail and Drive, not for tracking Google Cloud deployment changes.