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
I feel like option D is too manual. Daily copies aren't real-time.
upvoted 0 times
...
Bambi
5 days ago
Option A could work too, but it might not be as efficient.
upvoted 0 times
...
Hillary
10 days ago
I agree, fluentd is flexible and integrates well with Cloud Logging.
upvoted 0 times
...
Lavonda
15 days ago
I think option B is the best. Fluentd is designed for this.
upvoted 0 times
...
Tequila
21 days ago
Not sure about C, collectd isn't really for logging.
upvoted 0 times
...
Nadine
26 days ago
Definitely going with B, fluentd is solid!
upvoted 0 times
...
Justine
1 month ago
Wait, can we really use cron for this? Seems outdated.
upvoted 0 times
...
Dorothy
1 month ago
I think A could work too, but not as efficient.
upvoted 0 times
...
Juan
1 month ago
Option B is the best choice for Cloud Logging.
upvoted 0 times
...
Rikki
2 months ago
Really? I thought collectd was for metrics, not logs.
upvoted 0 times
...
Apolonia
2 months ago
Fluentd is definitely the way to go, no doubt!
upvoted 0 times
...
Caitlin
2 months ago
Wait, why not just use cron? D seems simpler!
upvoted 0 times
...
Ceola
2 months ago
I think A could work too, but not as efficient.
upvoted 0 times
...
Elke
2 months ago
Option B is the best choice for Cloud Logging.
upvoted 0 times
...
Carmelina
2 months 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
3 months 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
3 months 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
3 months 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