ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 132 - Associate Cloud Engineer discussion

Report
Export

You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?

A.
Navigate to Cloud Logging and view the application logs.
Answers
A.
Navigate to Cloud Logging and view the application logs.
B.
Connect to the instance's serial console and read the application logs.
Answers
B.
Connect to the instance's serial console and read the application logs.
C.
Configure a Health Check on the instance and set a Low Healthy Threshold value.
Answers
C.
Configure a Health Check on the instance and set a Low Healthy Threshold value.
D.
Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
Answers
D.
Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
Suggested answer: D

Explanation:

Cloud Loging knows nothing about applications installed on the system without an agent collecting logs. Using the serial console is not a best-practice and is impractical on a large scale.

The VM images for Compute Engine and Amazon Elastic Compute Cloud (EC2) don't include the Logging agent, so you must complete these steps to install it on those instances. The agent runs under both Linux and Windows. Source: https://cloud.google.com/logging/docs/agent/logging/installation

asked 18/09/2024
Mark David
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first