exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 102 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 102
Topic #: 1
[All Professional Cloud Developer Questions]

You have a mixture of packaged and internally developed applications hosted on a Compute Engine instance that is running Linux. These applications write log records as text in local files. You want the logs to be written to Cloud Logging. What should you do?

  • A. Pipe the content of the files to the Linux Syslog daemon.
  • B. Install a Google version of fluentd on the Compute Engine instance.
  • C. Install a Google version of collectd on the Compute Engine instance.
  • D. Using cron, schedule a job to copy the log files to Cloud Storage once a day.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
GCPCloudArchitectUser
Highly Voted 1 year, 8 months ago
Selected Answer: B
Collectd is used for Monitoring agents Fluentd is for cloud logging agent
upvoted 11 times
...
ParagSanyashiv
Highly Voted 1 year, 10 months ago
Agree with B
upvoted 7 times
...
zellck
Most Recent 10 months, 2 weeks ago
Selected Answer: B
B is the answer. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Combining logging and metrics into a single agent, the Ops Agent uses Fluent Bit for logs, which supports high-throughput logging, and the OpenTelemetry Collector for metrics. You can configure the Ops Agent to support parsing of log files from third-party applications.
upvoted 1 times
...
tomato123
1 year, 2 months ago
Selected Answer: B
B is correct
upvoted 4 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