nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #136

You have a pool of application servers running on Compute Engine. You need to provide a secure solution that requires the least amount of configuration and allows developers to easily access…

The correct answer is A. Deploy the Stackdriver logging agent to the application servers. Give the developers the IAM. roles/logging.viewer (Logs Viewer) gives you read-only access to all features of Logging, except Access Transparency logs and Data Access audit logs.

Submitted by devops_kid· Apr 18, 2026Implementing service monitoring strategies

Question

You have a pool of application servers running on Compute Engine. You need to provide a secure solution that requires the least amount of configuration and allows developers to easily access application logs for troubleshooting. How would you implement the solution on GCP?

Options

  • ADeploy the Stackdriver logging agent to the application servers. Give the developers the IAM
  • BDeploy the Stackdriver logging agent to the application servers. Give the developers the IAM
  • CDeploy the Stackdriver monitoring agent to the application servers. Give the developers the IAM
  • DInstall the gsutil command line tool on your application servers. Write a script using gsutil to

How the community answered

(37 responses)
  • A
    78% (29)
  • B
    3% (1)
  • C
    11% (4)
  • D
    8% (3)

Explanation

roles/logging.viewer (Logs Viewer) gives you read-only access to all features of Logging, except Access Transparency logs and Data Access audit logs.

Topics

#Cloud Logging#IAM#Compute Engine#Log Management

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice