
Answer-first summary for fast verification
Answer: Monitoring Metric Writer.
Option B is correct because the Monitoring Metric Writer role provides the necessary permissions for writing metrics to Cloud Monitoring without granting excessive access. Option A and D are incorrect as they pertain to Cloud Logging, not Monitoring. Option C is incorrect because the Monitoring Admin role grants more permissions than needed for this specific task. For more details, refer to [Google Cloud's access control documentation](https://cloud.google.com/monitoring/access-control).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is designing the structure of a Cloud Monitoring workspace to oversee multiple projects. To adhere to the principle of least privilege, which role should be assigned to the service account of Compute Engine instances for sending metric data to Cloud Monitoring?
A
Logging Admin.
B
Monitoring Metric Writer.
C
Monitoring Admin.
D
Logs Configuration Writer.
No comments yet.