You have deployed a fleet Of Compute Engine instances in Google Cloud. You need to ensure that monitoring metrics and logs for the instances are visible in Cloud Logging and Cloud Monitoring by your company's operations and cyber security teams. You need to grant the required roles for the Compute Engine service account by using Identity and Access Management (IAM) while following the principle of least privilege. What should you do?
The correct answer is D. Grant the logging.logWriter and monitoring.metricWriter roles to the Compute Engine service accounts.
The logging.logWriter role allows the service account to write log entries to Cloud Logging4.
Izetta
5 months agoKimbery
5 months agoBroderick
5 months agoIzetta
6 months agoKimbery
7 months agoBroderick
7 months ago