
Answer-first summary for fast verification
Answer: Configure a log sink in Cloud Logging to export logs to a Cloud Storage bucket.
The correct approach is to create a log sink within Cloud Logging, specifying a Cloud Storage bucket as the destination, as the requirement is to store logs in a user-created bucket. Option A is incorrect because the sink should be in Cloud Logging, not Cloud Monitoring. Option B is not suitable as Cloud Pub/Sub is not a storage bucket. Option D is incorrect for the same reason as A, plus the destination is misaligned with the requirement.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your Site Reliability Engineering (SRE) team is overseeing the CI/CD pipeline for your organization, with applications deployed on Compute Engine instances. There's a need to direct logs from Development Projects to a custom bucket. What action should you take to fulfill this requirement?
A
Establish a log sink in Cloud Monitoring with the destination set to a Cloud Storage bucket.
B
Set up a log sink in Cloud Logging directing logs to a Cloud Pub/Sub topic.
C
Configure a log sink in Cloud Logging to export logs to a Cloud Storage bucket.
D
Create a log sink in Cloud Monitoring with logs being sent to a Cloud Logging bucket.