Google Professional Cloud DevOps Engineer Question 215
Select 3Google Cloud PlatformYour team uses Google Cloud for managing application deployments. Recently, you noticed discrepancies between the deployed artifacts and the versions specified in the deployment plan. To ensure better auditing and tracking of deployments, you want to implement a solution to track which artifacts were deployed, who initiated the deployment, and when it occurred. Which combination of tools should you use to achieve this?
- A
Cloud Build to compile and store build artifacts in Artifact Registry
- B
Cloud Deploy to orchestrate and track the deployment process
- C
Cloud Audit Logs to track deployment events and user actions
- D
Cloud Monitoring to monitor application performance and uptime
- E
Google Cloud Storage to store deployment logs
Show answer and explanation
Correct answers: A, B, C
Explanation
To effectively audit and track deployments, you need tools that cover the entire deployment lifecycle: building artifacts with Cloud Build and storing them in Artifact Registry for traceability, orchestrating deployments with Cloud Deploy to capture deployment status, and using Cloud Audit Logs to log user actions and deployment events. This combination ensures comprehensive coverage of auditing and tracking requirements.
- A. Correct.
Cloud Build is essential for creating and storing build artifacts in Artifact Registry, which is a critical step in ensuring the integrity and traceability of the deployment process.
- B. Correct.
Cloud Deploy provides a managed solution for orchestrating deployments and tracking their status, making it suitable for tracking what was deployed and when.
- C. Correct.
Cloud Audit Logs captures detailed logs of deployment-related events and user actions, helping you identify who initiated specific deployments and when they occurred.
- D. Incorrect.
Cloud Monitoring is primarily focused on monitoring application performance and uptime, which is outside the scope of auditing and tracking deployments.
- E. Incorrect.
Google Cloud Storage can store logs but does not offer the structured logging and auditing features required for deployment tracking.