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 Exam Professional-Cloud-Architect Topic 4 Question 76 Discussion

Actual exam question for Google's Google Cloud Architect Professional exam
Question #: 76
Topic #: 4
[All Google Cloud Architect Professional Questions]

Your company has an application that is running on multiple instances of Compute Engine. It generates 1 TB per day of logs. For compliance reasons, the logs need to be kept for at least two years. The logs need to be available for active query for 30 days. After that, they just need to be retained for audit purposes. You want to implement a storage solution that is compliant, minimizes costs, and follows Google-recommended practices. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: B

The practice for managing logs generated on Compute Engine on Google Cloud is to install the Cloud Logging agent and send them to Cloud Logging.

The sent logs will be aggregated into a Cloud Logging sink and exported to Cloud Storage.

The reason for using Cloud Storage as the destination for the logs is that the requirement in question requires setting up a lifecycle based on the storage period.

In this case, the log will be used for active queries for 30 days after it is saved, but after that, it needs to be stored for a longer period of time for auditing purposes.

If the data is to be used for active queries, we can use BigQuery's Cloud Storage data query feature and move the data past 30 days to Coldline to build a cost-optimal solution.

Therefore, the correct answer is as follows

1. Install the Cloud Logging agent on all instances.

Create a sync that exports the logs to the region's Cloud Storage bucket.

3. Create an Object Lifecycle rule to move the files to the Coldline Cloud Storage bucket after one month. 4.

4. set up a bucket-level retention policy using bucket locking.'


Contribute your Thoughts:

Kent
5 months ago
I personally prefer option D. It combines uploading logs into a Cloud Storage bucket with exporting into a regional Storage bucket and moving to Coldline after 30 days. It covers all bases.
upvoted 0 times
...
Myrtie
5 months ago
That's a valid point, Eleni. But what about the retention policy and lock requirement? Option B seems to address that effectively.
upvoted 0 times
...
Eleni
5 months ago
I disagree, I believe option A is better. Exporting logs into a partitioned BigQuery table with time partitioning expiration set to 30 days makes querying easier and more organized.
upvoted 0 times
...
Myrtie
5 months ago
I think option B is the best choice. Storing logs in a regional Cloud Storage bucket and moving them to Coldline after 30 days seems efficient and cost-effective.
upvoted 0 times
...
Lyla
6 months ago
Good point, Shaunna. The Cloud Ops agent might be overkill here. Perhaps we could explore a simpler solution like option D, where we just write a daily cron job to upload the logs to a Cloud Storage bucket and then use the lifecycle rules to manage the data.
upvoted 0 times
...
Shaunna
6 months ago
I agree with you both. Option B seems the most comprehensive and aligned with the requirements. The only thing I'm a little unsure about is the need to install the Cloud Ops agent on all instances. Is that really necessary?
upvoted 0 times
...
Tamesha
6 months ago
Option B definitely looks like the way to go. Exporting the logs to a regional Cloud Storage bucket, tiering the data to Coldline after a month, and setting a retention policy at the bucket level - that should do the trick.
upvoted 0 times
Gayla
6 months ago
B) 4. Configure a retention policy at the bucket level to create a lock.
upvoted 0 times
...
Christiane
6 months ago
B) 3. Create an Object Lifecycle rule to move files into a Coldline Cloud Storage bucket after one month.
upvoted 0 times
...
Bulah
6 months ago
B) 2. Create a sink to export logs into a regional Cloud Storage bucket.
upvoted 0 times
...
In
6 months ago
B) 1. Install the Cloud Ops agent on all instances.
upvoted 0 times
...
...
Cammy
6 months ago
Hmm, this is a tricky one. We need to find a solution that is compliant, cost-effective, and aligns with Google's best practices. I'm leaning towards option B, as it seems to cover all the requirements.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77