ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 60 - Professional Cloud DevOps Engineer discussion

Report
Export

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?

A.
* Deploy the Stackdriver logging agent to the application servers. * Give the developers the IAM Logs Viewer role to access Stackdriver and view logs.
Answers
A.
* Deploy the Stackdriver logging agent to the application servers. * Give the developers the IAM Logs Viewer role to access Stackdriver and view logs.
B.
* Deploy the Stackdriver logging agent to the application servers. * Give the developers the IAM Logs Private Logs Viewer role to access Stackdriver and view logs.
Answers
B.
* Deploy the Stackdriver logging agent to the application servers. * Give the developers the IAM Logs Private Logs Viewer role to access Stackdriver and view logs.
C.
* Deploy the Stackdriver monitoring agent to the application servers. * Give the developers the IAM Monitoring Viewer role to access Stackdriver and view metrics.
Answers
C.
* Deploy the Stackdriver monitoring agent to the application servers. * Give the developers the IAM Monitoring Viewer role to access Stackdriver and view metrics.
D.
* Install the gsutil command line tool on your application servers. * Write a script using gsutil to upload your application log to a Cloud Storage bucket, and then schedule it to run via cron every 5 minutes. * Give the developers IAM Object Viewer access to view the logs in the specified bucket.
Answers
D.
* Install the gsutil command line tool on your application servers. * Write a script using gsutil to upload your application log to a Cloud Storage bucket, and then schedule it to run via cron every 5 minutes. * Give the developers IAM Object Viewer access to view the logs in the specified bucket.
Suggested answer: A

Explanation:

https://cloud.google.com/logging/docs/audit#access-control

asked 18/09/2024
Jonno Sweeney
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first