exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 26 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 26
Topic #: 1
[All Professional Cloud Architect Questions]

Your organization requires that metrics from all applications be retained for 5 years for future analysis in possible legal proceedings.
Which approach should you use?

  • A. Grant the security team access to the logs in each Project
  • B. Configure Stackdriver Monitoring for all Projects, and export to BigQuery
  • C. Configure Stackdriver Monitoring for all Projects with the default retention policies
  • D. Configure Stackdriver Monitoring for all Projects, and export to Google Cloud Storage
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
JoeShmoe
Highly Voted 5 years, 2 months ago
D is correct and best practice for long term log storage
upvoted 151 times
AndreaMa
7 months, 2 weeks ago
same for me. The best approach for the long time log is to export it from monitoring to Cloud Storage Archival type
upvoted 1 times
...
AndreUanKenobi
3 years, 10 months ago
+1. For archival purposes, Customer should use Cloud Storage. BigQuery is a datawarehouse, and could eventually import data from Cloud Storage if necessary.
upvoted 22 times
anjuagrawal
3 years ago
+1 Due to long term storage, cloud storage is better answer than BigQuery
upvoted 14 times
...
...
...
MeasService
Highly Voted 5 years, 1 month ago
A and C can be quickly ruled out because none of them is solution for the requirements "retained for 5 years" Between B and D, the different is where to store, BigQuery or Cloud Storage. Since the main concern is extended storing period, D (Correct Answer) is better choice, and the "retained for 5 years for future analysis" further qualifies it, for example, using Coldline storage class. With regards of BigQuery, while it is also a low-cost storage, but the main purpose is for analysis. Also, logs stored in Cloud Storage is easy to transport to BigQuery or do query directly against the files saved in Cloud Storage if and whenever needed.
upvoted 73 times
Shyeom
5 years, 1 month ago
point : organization requires that metrics from all applications be retained for 5 years
upvoted 2 times
Shyeom
5 years, 1 month ago
I mean answer : D
upvoted 4 times
...
...
Cloudy_Apple_Juice
4 years, 4 months ago
If you have 2 viable solutions (B&D), then always chose the one that is cost optimised - I chose D
upvoted 5 times
jvale
2 years, 10 months ago
Bigquery long term storage cost: $0.020 per GB Cloud Storage archive cost: $0,0012 per GB Only if metrics need less than 10 GB (free service part on Bigquery) then the correct solution will be B... But all metrics for all applications during more than 5 years... I think never will be the case :D
upvoted 11 times
...
...
Vika
3 years, 11 months ago
second that! like the way u explained..
upvoted 1 times
...
trainor
4 years, 2 months ago
The question is about metrics, not logs. I'd go for B. See https://cloud.google.com/solutions/stackdriver-monitoring-metric-export
upvoted 17 times
bnlcnd
4 years ago
This is a good example. thanks. But, we can easily change that implementation to dump the metrics to buckets to save lots of money. And, when talking about legal purpose, 1 hour interval may not be enough. You may have to keep more frequent metrics. So, only cold line or archive work for that purpose.
upvoted 5 times
...
...
...
hpf97
Most Recent 1 week, 1 day ago
Selected Answer: D
D : Stackdriver for logging, then Storage with data policy for moving data to less expensive areas. And data is restored in BigQuery only if legal investigation required.
upvoted 1 times
...
alihabib
2 months ago
Selected Answer: D
Since the data is not actively queried, and cited as "possible" use qualifies it to be archived. Which means Cloud Storage
upvoted 1 times
...
drinkwater
2 months, 2 weeks ago
B is the right answer why is not D, because while Google Cloud Storage can handle long-term storage, it is less efficient than BigQuery for analysis. Retrieving and querying metrics from Cloud Storage would require additional tools or steps, making it less suitable for the described use case.
upvoted 1 times
...
alpay
2 months, 3 weeks ago
B in my opinion. Take a look: https://cloud.google.com/architecture/monitoring-metric-export#store_metrics BQ is also long-term storage with option to reduce cost of older data. https://cloud.google.com/bigquery/docs/best-practices-storage
upvoted 1 times
...
Ekramy_Elnaggar
2 months, 3 weeks ago
Selected Answer: B
1. Long-term Retention: BigQuery is a data warehouse designed for long-term storage and analysis of large datasets. It's the ideal place to store metrics for 5 years to meet your organization's legal requirements. 2. Cost-Effective: BigQuery's storage pricing is very competitive, especially for long-term data retention. 3. Analysis and Reporting: BigQuery provides powerful tools for analyzing and querying data, making it easy to extract insights and generate reports from the stored metrics. 4. Integration: Stackdriver Monitoring (now Cloud Monitoring) can be easily configured to export metrics to BigQuery. D is not correct as while Cloud Storage can store data for long periods, it's not optimized for querying and analyzing data like BigQuery.
upvoted 1 times
...
VedaSW
5 months ago
I go for B, as the question is about 5 years worth of data "for future analysis in possible legal proceedings", and the "future" can be next day, based on when the legal proceeding happen. It is not about long term log storage. Even the argument of "future" means 100 years later, the Cold Storage Archival still does not fulfill the "analysis" portion of the requirements. You will need to move the data from Cold Storage to BigQuery for the analysis. So the ideal answer should be combination of D and B, but we do not have such option, hence the answer can meet all requirements is B.
upvoted 1 times
...
Hungdv
6 months ago
D is answer. Monitoring has only 24 months retention.
upvoted 1 times
...
joecloud12
6 months ago
Selected Answer: D
for storing the logs you need cloud storage.
upvoted 1 times
ryaryarya
1 month ago
The question didn't mention logs.
upvoted 1 times
...
...
monus
6 months, 2 weeks ago
Selected Answer: B
B should be correct. How can Cloud Storage analyze the data?
upvoted 1 times
desertlotus1211
6 months, 1 week ago
The statement is not about the actual analysis of the data, but 'where' to store the data for future analysis. Who know when that will be??? So GCS is the best answer. When need be, it can be import into BQ
upvoted 1 times
desertlotus1211
6 months, 1 week ago
Also it said retained for 5 years for future analysis... you don't store in BQ
upvoted 1 times
...
...
...
a2le
8 months ago
Selected Answer: D
I mean, "for possible future legal proceedings", I think that immutable storage that grants data integrity is the best option here, what's more, it's also the cheapest one...
upvoted 1 times
...
james2033
8 months, 1 week ago
Selected Answer: D
Google Cloud Storage for 5 years storing legally.
upvoted 1 times
...
arrase
10 months ago
Selected Answer: D
best practice for long term log storage
upvoted 1 times
...
tosinogunfile
1 year ago
Selected Answer: B
I think B is the right answer because transferring the data could be a basis for discrediting the data for legal use. Since BIg Query can store the data and retain it with all the metadata intact, I will go for it.
upvoted 1 times
...
arielrahamim
1 year ago
Selected Answer: D
"organization requires that metrics from all applications be retained for 5 years" means cloud storage
upvoted 1 times
...
Teckexam
1 year ago
Selected Answer: D
Cloud storage is appropriate for long term storage
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago