exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 231 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 231
Topic #: 1
[All Associate Cloud Engineer Questions]

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.
  • B. Configure a health check on the instance and set a “consecutive successes” Healthy threshold value of 1.
  • C. Connect to the instance’s serial console and read the application logs.
  • D. Install and configure the Ops agent and view the logs from Cloud Logging.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
qannik
Highly Voted 1 year ago
Selected Answer: D
I would go with D. By default there is no logs agent installed on a compute instance. So first you will have to install the Ops Agent and after a few minutes the logs will be visible in Cloud logging
upvoted 6 times
...
scanner2
Highly Voted 1 year ago
The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Answer is D https://cloud.google.com/logging/docs/agent/ops-agent https://cloud.google.com/logging/docs/agent/ops-agent/configuration
upvoted 5 times
...
ccpmad
Most Recent 3 months, 2 weeks ago
Telemetry is not application logs. Even if you install ops agent, you will not be able to consult the logs that the application writes to the instance disk. You have to enter the instance to inspect those logs, because those logs are not saved by the ops agent in gcp
upvoted 1 times
ccpmad
3 months, 2 weeks ago
The question is tricky, since the application starts to work poorly, that does not mean that we find the reason in the application logs, we have to look at the logs (telemetry) of the instance to determine if it is a problem of the GCP infrastructure, so first have the operations agent installed and sending metrics
upvoted 2 times
...
...
joao_01
11 months, 3 weeks ago
Selected Answer: D
We need to install the agent. Its D
upvoted 5 times
...
3arle
1 year ago
Selected Answer: D
https://cloud.google.com/logging/docs/logging-gce-quickstart
upvoted 4 times
...
happydays
1 year, 1 month ago
Selected Answer: A
Chat Gpt says it's A
upvoted 2 times
Cynthia2023
8 months ago
after 5 months, Chat GPT chooses D. it evolves. lol.
upvoted 9 times
...
VijKall
10 months ago
Chat GPT need to get Google certified before qualifying to answer :-)
upvoted 20 times
Vovtchick
9 months, 4 weeks ago
:)))))
upvoted 3 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago