Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 7 Question 124 Discussion

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?
B) Install a Google version of fluentd on the Compute Engine instance.
A) Pipe the content of the files to the Linux Syslog daemon.
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.

Google Professional Cloud Developer Exam - Topic 7 Question 124 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 124
Topic #: 7
[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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Rikki
1 day ago
Really? I thought collectd was for metrics, not logs.
upvoted 0 times
...
Apolonia
7 days ago
Fluentd is definitely the way to go, no doubt!
upvoted 0 times
...
Caitlin
12 days ago
Wait, why not just use cron? D seems simpler!
upvoted 0 times
...
Ceola
17 days ago
I think A could work too, but not as efficient.
upvoted 0 times
...
Elke
22 days ago
Option B is the best choice for Cloud Logging.
upvoted 0 times
...
Carmelina
27 days ago
Using cron to copy logs to Cloud Storage seems like a workaround, but I doubt it would be as efficient as the other options for real-time logging.
upvoted 0 times
...
Portia
1 month ago
Collectd sounds familiar, but I can't recall if it directly integrates with Cloud Logging. I feel like I've seen practice questions that mention it.
upvoted 0 times
...
Justine
1 month ago
I think installing fluentd is the way to go since it’s designed for log forwarding, but I need to double-check if it’s the Google version specifically.
upvoted 0 times
...
Nu
1 month ago
I remember something about using Syslog for log management, but I'm not sure if that's the best option for Cloud Logging.
upvoted 0 times
...

Save Cancel