ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 62 - Professional Cloud Developer discussion

Report
Export

You are deploying your application to a Compute Engine virtual machine instance. Your application is configured to write its log files to disk. You want to view the logs in Stackdriver Logging without changing the application code.

What should you do?

A.
Install the Stackdriver Logging Agent and configure it to send the application logs.
Answers
A.
Install the Stackdriver Logging Agent and configure it to send the application logs.
B.
Use a Stackdriver Logging Library to log directly from the application to Stackdriver Logging.
Answers
B.
Use a Stackdriver Logging Library to log directly from the application to Stackdriver Logging.
C.
Provide the log file folder path in the metadata of the instance to configure it to send the application logs.
Answers
C.
Provide the log file folder path in the metadata of the instance to configure it to send the application logs.
D.
Change the application to log to /var/log so that its logs are automatically sent to Stackdriver Logging.
Answers
D.
Change the application to log to /var/log so that its logs are automatically sent to Stackdriver Logging.
Suggested answer: A
asked 18/09/2024
Alpesh Panchal
20 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first