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
6 months agoKimbery
6 months agoBroderick
6 months agoIzetta
6 months agoKimbery
7 months agoBroderick
7 months ago