
Answer-first summary for fast verification
Answer: Create a new GCP monitoring project and create a Stackdriver Workspace inside it. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
The question revolves around setting up a monitoring strategy in GCP using Stackdriver Workspaces with two main requirements: minimizing false alerts from non-production environments and adhering to the principle of least privilege. Option A suggests granting read access to all production projects and creating workspaces inside each, which does not centralize monitoring and may complicate access management. Option B is similar to A but specifies the Project Viewer IAM role, which is more precise but still lacks centralization. Option C proposes using an existing production project to host the workspace and attaching other production projects to it, which centralizes monitoring but may not be the best practice for separation of concerns. Option D recommends creating a dedicated monitoring project for the Stackdriver Workspace, attaching production projects to it, and granting read access to the workspace. This approach centralizes monitoring, simplifies access management, and adheres to the principle of least privilege by not granting unnecessary access to production projects beyond what's needed for monitoring. Therefore, Option D is the most appropriate choice.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can you design a monitoring strategy for GCP production projects using Stackdriver Workspaces that enables rapid identification and response to production issues while avoiding false alerts from non-production environments, and adheres to the principle of least privilege when granting team member access?
A
Grant relevant team members read access to all GCP production projects. Create Stackdriver workspaces inside each project.
B
Grant relevant team members the Project Viewer IAM role on all GCP production projects. Create Stackdriver workspaces inside each project.
C
Choose an existing GCP production project to host the monitoring workspace. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
D
Create a new GCP monitoring project and create a Stackdriver Workspace inside it. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.