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 27 discussion

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

You have sensitive data stored in three Cloud Storage buckets and have enabled data access logging. You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do?

  • A. Using the GCP Console, filter the Activity log to view the information.
  • B. Using the GCP Console, filter the Stackdriver log to view the information.
  • C. View the bucket in the Storage section of the GCP Console.
  • D. Create a trace in Stackdriver to view the information.
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
iamgcp
Highly Voted 5 years ago
A is correct. As mentioned in the question, data access logging is enabled. I tried to download a file from a bucket and was able to view this information in Activity tab in console
upvoted 53 times
RegisFTM
3 years, 5 months ago
I did all the configuration enabling data access logging but I still not able to see the logs when uploading or downloading a file. Does someone here has done it with a different result?
upvoted 1 times
...
ryumada
2 years, 10 months ago
I agree with liyux21 and vito9630. In this reference link below says: In the Activity page, where the identity performing logged actions is redacted from the audit log entry, User (anonymized) is displayed. Beacause of this, I think you can't verify the addition of metadata labels through Activity Logs. https://cloud.google.com/logging/docs/audit#view-activity
upvoted 1 times
...
MEHDIGRB
2 years, 8 months ago
activity log is deprecated: https://cloud.google.com/compute/docs/logging/activity-logs
upvoted 4 times
barathgdkrish
2 years, 5 months ago
You need to see here, https://cloud.google.com/compute/docs/logging/audit-logging. Admin activity audit logs.
upvoted 1 times
...
Rog_4444
2 years, 3 months ago
Yes, it is deprecated. However, it became the audit log which is exactly what this question is referring to. Option A is correct in my opinion.
upvoted 2 times
...
...
vito9630
5 years ago
data access logging don't provide information about addition of metada, so B is correct
upvoted 25 times
...
...
eliteone11
Highly Voted 4 years, 6 months ago
Answer is A. Activity log does indeed show information about metadata. I agree with Eshkrkrkr based on https://cloud.google.com/storage/docs/audit-logs Admin Activity logs: Entries for operations that modify the configuration or metadata of a project, bucket, or object.
upvoted 15 times
injarapu
3 years, 3 months ago
'Admin activity logs' capture metadata modification, but its different from 'Data Access logging', right ?
upvoted 2 times
...
...
vdh_06
Most Recent 1 month ago
Selected Answer: A
The correct answer is A. The Activity Log is the place where Data Access Logs (including file views) and Admin Activity Logs (like metadata label changes) are stored. Explanation: The Activity Log captures both Admin Activity (e.g., adding metadata labels) and Data Access Logs (e.g., file viewing activity in Cloud Storage). The Activity Log is where you find Cloud Storage Data Access Logs, which is exactly what you need to track who viewed files and modified labels in your buckets. You can filter by user, resource (bucket), and activity type to find both the metadata changes and file viewing activities. Conclusion: Correct Answer — The Activity Log is the correct place for both administrative actions and data access, so you can query the detailed information directly.
upvoted 1 times
...
jeyam1990
3 months, 3 weeks ago
Selected Answer: B
The correct answer is: B. Using the GCP Console, filter the Stackdriver log to view the information. Explanation: The Activity log in the GCP Console is limited to Admin Activity Logs, which show administrative actions like adding metadata labels. It does not include Data Access Logs, which are required to verify file viewing activity. The Stackdriver log (now referred to as Cloud Logging) provides access to both Admin Activity Logs and Data Access Logs, allowing you to view both types of actions (adding metadata labels and viewing files). By filtering the logs in Cloud Logging, you can get the required information for the user efficiently. Answers provided by ChatGPT
upvoted 1 times
1826c27
3 months, 2 weeks ago
mr chatgtp - stackdriver is no longer in GCP
upvoted 2 times
...
...
speksy
4 months, 3 weeks ago
Selected Answer: B
Stackdriver Logging (now called Google Cloud Logging) captures detailed logs for activities within Google Cloud, including bucket metadata changes and file access activities for Cloud Storage bucket
upvoted 2 times
...
Hanu17
5 months ago
Selected Answer: B
The reason why A is not an answer. The Activity log in the GCP Console is part of the Cloud Audit Logs but focuses on high-level admin activities, not specific data access or detailed operations like viewing files or adding metadata labels
upvoted 2 times
...
panchsonal
5 months, 1 week ago
Selected Answer: B
The correct answer is: B. Using the GCP Console, filter the Stackdriver log to view the information. Explanation: Stackdriver Logging (now called Cloud Logging): Logs detailed activities, including data access, metadata changes, and file viewing events for GCP resources, including Cloud Storage buckets. Allows filtering logs by specific users, resource types, and actions, making it easy to verify activities for a particular user.
upvoted 2 times
...
modaknarayan
5 months, 1 week ago
Selected Answer: B
The correct answer is B. Using the GCP Console, filter the Stackdriver log to view the information. Explanation: Stackdriver logs (now part of Cloud Logging in GCP) capture activity logs related to interactions with resources, including Cloud Storage buckets. To verify activities like metadata label additions and file views in Cloud Storage buckets, you would need to filter and examine the logs for specific actions in the Cloud Storage logs (which are stored in Cloud Logging, formerly Stackdriver). Cloud Storage access logs record operations like viewing files, adding metadata labels, and other bucket activities, which can be filtered and reviewed using the Cloud Logging interface in the GCP Console
upvoted 1 times
...
modaknarayan
5 months, 2 weeks ago
Selected Answer: B
B. Using the GCP Console, filter the Stackdriver log to view the information. Explanation: To verify activities related to sensitive data stored in Cloud Storage buckets, including metadata labels and which files have been viewed, the Stackdriver logs (now called Cloud Logging) are the best tool. Specifically, you can filter the logs for data access events, which include details like metadata additions and file access information. A. The Activity log in the GCP Console typically logs changes to resources such as bucket creation, IAM policy changes, etc. It does not provide detailed data access logs or events such as metadata changes or file views. C. Viewing the bucket in the Storage section of the GCP Console will only show the current state of the bucket and its contents, not detailed logs about data access or metadata changes. D. Stackdriver Trace is used to track request latencies and performance issues within your applications, not for logging detailed activities like file access or metadata changes
upvoted 1 times
...
yoshi_hsc
6 months ago
Selected Answer: A
B is for performance monitoring
upvoted 1 times
...
halifax
6 months ago
Selected Answer: B
The correct answer is B. Stackdriver is now called "Cloud log" B. Using the GCP Console, filter the Stackdriver log to view the information. A -(Activity log) does not capture detailed data access logs for Cloud Storage.
upvoted 1 times
...
user263263
6 months, 1 week ago
Selected Answer: B
"and which files have been viewed from those buckets" - that would be logged in data_access log, not (admin) activity log. So use Cloud Logging / Log Explorer (Stackdriver is the old name for Cloud Monitoring + Cloud Logging) to filter for the relevant information.
upvoted 1 times
...
rev89
6 months, 3 weeks ago
Correct answer is "B" Cause they asked for metadata too on the question.
upvoted 1 times
...
psyll0n
6 months, 3 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
RLIII
7 months ago
Selected Answer: B
Stackdriver (Cloud logging) contains both admin activity logs and data access logs.
upvoted 1 times
...
An1990
7 months, 2 weeks ago
Option B is the correct Answer
upvoted 1 times
...
KC_go_reply
7 months, 2 weeks ago
Selected Answer: A
The correct answer is A. Using the GCP Console, filter the Activity log to view the information. Data access logs for Cloud Storage buckets are not stored in Stackdriver Logging (formerly Stackdriver). They are stored in the Activity Log, a centralized log for all GCP activity. The Activity Log allows filtering by resource (the specific buckets), user, and activity type (adding metadata labels, viewing files). Options B, C, and D won't show this detailed access information. Therefore, directly querying the Activity Log provides the most efficient and accurate way to find the required information.
upvoted 3 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 ...