Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 61 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 61
Topic #: 1
[All Associate Cloud Engineer Questions]

Your organization is a financial company that needs to store audit log files for 3 years. Your organization has hundreds of Google Cloud projects. You need to implement a cost-effective approach for log file retention. What should you do?

  • A. Create an export to the sink that saves logs from Cloud Audit to BigQuery.
  • B. Create an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket.
  • C. Write a custom script that uses logging API to copy the logs from Stackdriver logs to BigQuery.
  • D. Export these logs to Cloud Pub/Sub and write a Cloud Dataflow pipeline to store logs to Cloud SQL.
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
yasu
Highly Voted 4 years, 8 months ago
Why not B? cost effective
upvoted 56 times
lxs
3 years, 1 month ago
BigQuery data after 90 days has the same cost for storage as Cloud Storage Nearline. Storing it in Cloud Storage adds more costs for data retrival if the class is i.e archival
upvoted 1 times
KerolesKhalil
1 year, 5 months ago
the options have cold-line storage not nearline. so B is the cheapest option.
upvoted 2 times
...
...
_Sande
1 year, 7 months ago
That seems to be the one...
upvoted 1 times
...
uganeshku
2 years, 11 months ago
B is correct because Coldline Storage is the perfect service to store audit logs from all the projects and is very cost-efficient as well. Coldline Storage is a very low-cost, highly durable storage service for storing infrequently accessed data.
upvoted 6 times
...
...
Gini
Highly Voted 4 years, 7 months ago
if it is all about cost, B is the best. However, speaking of "audit" you probably need to access the data once in a while, which Coldline storage might not be ideal for this case I guess? I would go for A in the exam though.
upvoted 20 times
Ale1973
4 years, 2 months ago
Be strong!!! If B is the best, go for B!!!
upvoted 15 times
...
pas77
3 years, 3 months ago
The question is clearly saying cost effect. BQ is one of the most expensive services in GCP.
upvoted 8 times
...
boof
3 years, 2 months ago
I would play it safe and interpret the question literally, implying that they will only store the audit logs and not be accessing them a lot.
upvoted 4 times
...
...
pragneshpandya
Most Recent 2 months, 4 weeks ago
Selected Answer: B
as its logs for 3 years , coldline is the correct
upvoted 1 times
...
jungkook_1
7 months ago
But the retention period of Coldline storage is 90 days, it's not meeting the requirement mentioned in ques to store for 3 years.
upvoted 1 times
...
jungkook_1
7 months ago
But retention period of coldline storage is 90 days only, in ques they've mentioned for 3 years?
upvoted 1 times
...
LSB56757
7 months, 3 weeks ago
Selected Answer: B
Using Google Gemini, it suggests Option B.
upvoted 2 times
...
zameerb
10 months, 1 week ago
Both options (exporting to BigQuery and exporting to Coldline Storage) have their merits, and the choice depends on specific use cases, access patterns, and organizational preferences. If your organization values a more structured and analyzable format with SQL-like querying capabilities, BigQuery might be preferable. If the priority is on long-term, infrequent access with cost optimization, then Coldline Storage could be a suitable choice.
upvoted 1 times
...
BAofBK
1 year ago
The correct answer is B.
upvoted 1 times
...
gsmasad
1 year ago
Selected Answer: B
B is correct. coldline storage it is cost-effective and for long-term storage
upvoted 1 times
...
elviskimutai
1 year, 2 months ago
B is correct. coldline storage it is cost-effective and for long-term storage
upvoted 1 times
...
sabrinakloud
1 year, 7 months ago
Selected Answer: B
answer B
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 9 months ago
Selected Answer: B
Answer B. Create an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket. To meet the requirement of retaining log files for 3 years, a cost-effective approach is to export logs to a cheaper storage option like Cloud Storage Coldline storage class. The coldline storage class is designed for cold data storage and offers lower storage costs and higher retrieval costs when compared to other storage classes. Exporting logs from Cloud Audit to a Coldline Storage bucket can be done by creating an export sink. This is a straightforward process that can be done via the Cloud Console, Cloud SDK, or REST API.
upvoted 7 times
Buruguduystunstugudunstuy
1 year, 9 months ago
INCORRECT: Answer A is incorrect because while it does store logs in BigQuery, it is a more expensive option than storing logs in Coldline storage. Answer C is incorrect because writing a custom script to copy logs to BigQuery would be complex and more difficult to maintain compared to using an export sink. Answer D is incorrect because while logs can be exported to Pub/Sub, writing a Cloud Dataflow pipeline to store logs in Cloud SQL would require additional configuration and might not be as cost-effective as exporting logs to Coldline storage.
upvoted 8 times
Mac_1612
1 year, 2 months ago
Buru, Thank you so much from whole GCP community for your efforts, you are incredible man !!!
upvoted 4 times
cucinareblog
1 year, 2 months ago
I agree thanks a lot!!!!
upvoted 1 times
...
...
...
...
kaisehhop
1 year, 9 months ago
Selected Answer: B
B. Create an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket. This is the most cost-effective approach for log file retention as Coldline Storage has lower storage costs compared to other storage classes, making it suitable for infrequently accessed data that still needs to be retained for a long time.
upvoted 1 times
...
alex000
1 year, 10 months ago
B is the most cost effective
upvoted 1 times
...
Neeleshinuk
1 year, 11 months ago
https://cloud.google.com/logging/docs/export/configure_export_v2 I go with B
upvoted 1 times
...
cslince
1 year, 11 months ago
Selected Answer: B
B is the best
upvoted 1 times
...
Zoze
2 years ago
Selected Answer: B
B is the answer, because he wants a cost-effective solution so B is the cheapest option.
upvoted 1 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 ...