Google Professional Cloud DevOps Engineer Question 14
Select 3Google Cloud PlatformYour organization is adopting an application-centric approach to organizing its cloud resources using App Hub in Google Cloud. The goal is to simplify resource management and align monitoring, logging, and billing with each application. Which of the following best practices should you follow when implementing this approach?
- A
Group all resources related to an application into a single Google Cloud project.
- B
Use labels to tag resources with application-specific metadata such as environment and team ownership.
- C
Use a shared project for all logging and monitoring across multiple applications to centralize observability.
- D
Set up folder structures in Resource Manager to group projects by application type or business unit.
- E
Deploy all applications in a single shared project to reduce administrative overhead.
Show answer and explanation
Correct answers: A, B, D
Explanation
An application-centric approach prioritizes organizing resources by application to simplify resource management, enhance governance, and align monitoring, logging, and billing. Grouping resources into distinct projects, using labels for metadata, and structuring folders appropriately are key practices to achieve this. These practices ensure resource isolation, efficient cost tracking, and scalability while avoiding risks associated with shared projects or centralized observability that spans multiple applications.
- A. Correct.
Correct: Grouping all resources related to an application into a single Google Cloud project simplifies management, as IAM policies, billing, and quotas can all be managed at the project level for each application.
- B. Correct.
Correct: Using labels to tag resources with application-specific metadata is a best practice that enhances resource discovery, monitoring, and cost attribution.
- C. Incorrect.
Incorrect: While centralizing observability may seem convenient, it contradicts the application-centric approach. Each application's resources (including logs and monitoring) should be organized per application to maintain isolation and clarity.
- D. Correct.
Correct: Organizing folder structures in Resource Manager by application or business unit helps enforce governance and aligns with the application-centric approach.
- E. Incorrect.
Incorrect: Deploying all applications in a single shared project increases complexity and risks, as it introduces challenges in resource isolation, access control, and billing attribution.