GCP Professional Data Engineer Practice Question

Your organization runs Dataflow streaming jobs orchestrated by Cloud Composer in four separate Google Cloud projects. Compliance mandates that all pipeline-related logs-including Dataflow worker logs, Composer/Airflow logs, and any custom application logs-be retained for exactly two years, remain searchable in the Cloud Console's Log Explorer, and be isolated from application teams so that only the central Site Reliability Engineering (SRE) team can access them. The SRE team wants the simplest solution that avoids running additional infrastructure or duplicating log data across services. Which logging architecture best meets these requirements?

  • Create an aggregated log sink at the organization (or folder) level that routes every project's logs to a dedicated Cloud Logging bucket in an operations project. Set the bucket's retention to 730 days and grant only the SRE group Viewer access to that bucket.

  • Configure an aggregated log sink that exports all logs to a BigQuery dataset in the operations project, set table partition expiration to 730 days, and grant the SRE group BigQuery access.

  • In each project, export logs to a Nearline Cloud Storage bucket with a 730-day lifecycle policy; instruct the SRE team to analyze logs with Cloud Storage logs insights.

  • Increase the default retention of the _Default log bucket to 730 days in every project and add the SRE group to the Logs Viewer role on each project.

GCP Professional Data Engineer
Designing data processing systems
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot