Courseiva

Google Cloud Associate Data Practitioner (GCP-ADP) (GCP-ADP) — Questions 76150

205 questions total · 3pages · All types, answers revealed

Page 1

Page 2 of 3

Page 3
76
Multi-Selecteasy

Which TWO of the following are valid ways to trigger a Cloud Composer DAG?

Select 2 answers
A.Sending an email to the Airflow scheduler.
B.Clicking 'Run' in the Cloud Composer console environment list.
C.Airflow Web UI
D.Directly editing the DAG file in the bucket.
E.Airflow CLI
AnswersC, E

The 'Trigger DAG' button is a primary method.

Why this answer

DAGs can be triggered by a timer (schedule) or manually through the Airflow Web UI/CLI.

77
MCQeasy

Which console menu would you navigate to in order to access Dataplex?

A.Compute Engine
B.Operations
C.Analytics
D.Storage
AnswerC

Dataplex is grouped under Analytics services.

Why this answer

Dataplex is found under the 'Analytics' section in the Google Cloud console.

78
MCQeasy

Your organization requires that all data ingested into Cloud Storage be encrypted at rest using keys managed by you, not Google. Which feature should you implement?

A.Bucket Lock
B.Customer-Managed Encryption Keys (CMEK)
C.Signed URLs
D.Cloud Storage default encryption
AnswerB

CMEK allows users to use Cloud KMS to manage keys for their data in Cloud Storage.

Why this answer

Customer-Managed Encryption Keys (CMEK) via Cloud KMS allow you to control the encryption keys used for your data.

79
Multi-Selecteasy

Which TWO of the following are benefits of using Cloud Storage?

Select 2 answers
A.Automatic virus scanning
B.Global availability
C.Automatic data compression
D.High durability
E.Auto-scaling SQL queries
AnswersB, D

Data is accessible from anywhere.

Why this answer

GCS offers high durability and global accessibility.

80
MCQmedium

You are using BigQuery and need to query a large dataset that is partitioned by day. Which clause should you always include for efficiency?

A.WHERE clause on the partition column
B.ORDER BY
C.LIMIT
D.GROUP BY
AnswerA

This filters the partition and saves on costs.

Why this answer

Including a filter on the partition column (e.g., _PARTITIONDATE or a specific date column) avoids full table scans.

81
MCQeasy

Which Cloud Composer metric should you monitor to identify if your Airflow scheduler is struggling to parse your DAGs in a timely manner?

A.airflow_task_execution_time
B.dag_run_success_count
C.dag_processing_total_parse_time
D.scheduler_heartbeat
AnswerC

This metric tracks DAG parsing performance.

Why this answer

The 'dag_processing_total_parse_time' metric specifically tracks the time taken to process and parse DAG files.

82
MCQeasy

You are deploying a Cloud Composer 2 environment and need to ensure that the DAG files are automatically synchronized to all workers. Where should you store these files?

A.Inside a Docker volume configured in the environment's YAML manifest.
B.In the local /home/airflow/gcs/dags directory of each worker node.
C.In the 'dags/' folder of the environment's bucket.
D.In a custom persistent disk attached to the Airflow scheduler.
AnswerC

The bucket associated with the environment is the designated location for DAG files.

Why this answer

Cloud Composer 2 automatically synchronizes DAGs stored in the 'dags/' folder of the associated Cloud Storage bucket to all environment components.

83
Multi-Selecthard

Which TWO actions can help reduce the time it takes to build a Jupyter notebook in Vertex AI Workbench?

Select 2 answers
A.Scaling up the machine type for the instance
B.Change the project name
C.Disable the persistent disk
D.Using custom container images with pre-installed packages
E.Using a single-core machine
AnswersA, D

Larger machines can handle more compute tasks faster.

Why this answer

Optimizing compute and pre-installing environments can speed up development.

84
MCQeasy

In BigQuery, what does the 'Data Preview' tab show?

A.The edit history of the table.
B.A sample of the table data.
C.The billing usage for that table.
D.The full schema definition.
AnswerB

Previewing data is free and provides a quick look at the content.

Why this answer

The preview shows a sample of the rows in the table without consuming query quota or incurring costs.

85
Multi-Selectmedium

Which THREE of the following are valid Airflow connection types in Cloud Composer?

Select 3 answers
A.HTTP
B.Kubernetes Pod
C.Python
D.Google Cloud
E.Postgres
AnswersA, D, E

Used for API calls.

Why this answer

Airflow supports connections to many systems, including Google Cloud, HTTP, and SQL databases.

86
MCQhard

In BigQuery, you want to improve query performance for a table that is frequently filtered by a `customer_id` column. What is the recommended strategy?

A.Add a primary key constraint.
B.Cluster the table by 'customer_id'.
C.Convert the table to a View.
D.Increase the number of slots in the reservation.
AnswerB

Clustering improves performance for filtering and grouping queries on the cluster key.

Why this answer

Clustering by `customer_id` organizes the data physically to optimize queries that filter by that specific column.

87
MCQhard

A Cloud Composer DAG is failing because the Airflow database is locking up during high-concurrency periods. What is the most effective way to address this?

A.Delete all past DAG run logs.
B.Increase the number of DAGs in the repository.
C.Scale up the Cloud Composer environment size to increase database resources.
D.Set the 'parallelism' parameter to a very high value.
AnswerC

Composer environment sizes (e.g., small to medium) include higher-tier database resources.

Why this answer

Scaling the Composer environment or adjusting the database performance settings (or Airflow configuration) is the recommended path to resolve lock contention.

88
MCQmedium

You have multiple departments using the same Dataplex Lake. You need to ensure that each department can only see data belonging to their own projects. What should you configure?

A.Data tags on the assets
B.IAM roles on the bucket only
C.Separate Lakes for each department
D.Separate Zones within the Lake
AnswerD

Zones allow for scoping data and security boundaries within a single lake.

Why this answer

Dataplex Zones allow for logical separation within a Lake, where permissions can be scoped to the zone level.

89
MCQmedium

You are troubleshooting a stuck task in Cloud Composer. You want to see the stdout/stderr logs for that specific task attempt. Where can you find them?

A.In the 'logs/' folder in the environment's GCS bucket.
B.In the Airflow metadata database directly.
C.In the Cloud Composer environment console logs.
D.Via the 'kubectl' logs command on the worker pod.
AnswerA

Composer writes all task execution logs to the GCS bucket.

Why this answer

Airflow task logs are stored in the GCS bucket associated with the environment, organized by DAG and task name.

90
MCQmedium

You have a Workflow that must wait for a specific time duration before proceeding. Which step type is most appropriate?

A.pause_execution
B.wait_for_condition
C.sys.sleep
D.delay_step
AnswerC

sys.sleep pauses the workflow execution for a set time.

Why this answer

The 'sys.sleep' function in Workflows allows pausing the execution for a defined duration.

91
MCQhard

You are running a Dataflow job that joins two large datasets. Which join strategy should you avoid to prevent OOM errors?

A.Side Input Join with a large dataset
B.Flatten
C.CoGroupByKey
D.ParDo
AnswerA

Side inputs are loaded into memory and should not be used for very large datasets.

Why this answer

Broadcasting a large dataset to all workers (Side Inputs) can lead to Out of Memory (OOM) errors.

92
Multi-Selecthard

Which TWO of the following are valid ways to monitor Dataflow performance?

Select 2 answers
A.BigQuery logs
B.Cloud DNS logs
C.Dataflow Monitoring UI
D.Cloud Logging
E.Manual packet sniffing
AnswersC, D

Shows job metrics.

Why this answer

Monitoring UI and Cloud Logging are the primary tools.

93
MCQmedium

You need to ingest small files into Cloud Storage using a command-line tool. Which command is most appropriate?

A.gsutil mv
B.gcloud storage cp
C.gsutil cp
D.gsutil rsync
AnswerB, C

This is also correct as gcloud storage is the modern gsutil.

Why this answer

gsutil cp is the standard command for copying files to GCS.

94
Multi-Selecteasy

Which TWO of the following are valid ways to ingest data into BigQuery?

Select 2 answers
A.Streaming API
B.Direct copy-paste in UI
C.FTP upload
D.SQL INSERT statements
E.Batch Load jobs
AnswersA, E

Method for real-time ingestion.

Why this answer

BigQuery supports Batch Load jobs and Streaming API inserts.

95
MCQmedium

You need to move an asset from one Dataplex Zone to another. What is the correct procedure?

A.Update the IAM policy to include the new zone
B.Delete the asset from the first zone and recreate it in the second
C.Use the 'move' command in the CLI
D.Update the asset metadata to point to the new zone
AnswerB

Assets are zone-bound; deletion and recreation is the required path.

Why this answer

Assets are tied to a specific zone. To move an asset, you must remove it from the source zone and add it to the destination zone.

96
MCQeasy

You need to delete all files in a GCS bucket older than 90 days. What is the most efficient approach?

A.Manual deletion in the console
B.Cloud Lifecycle Management
C.Use Dataflow to filter files
D.Write a cron job with gsutil
AnswerB

Lifecycle policies handle this automatically at the storage level.

Why this answer

GCS Lifecycle policies can automatically delete or move objects based on age.

97
Multi-Selecthard

You are optimizing a Dataflow job. Which THREE of the following actions can help improve job performance and reduce costs?

Select 3 answers
A.Enable Dataflow Autoscaling
B.Use Dataflow Shuffle Service
C.Disable pipeline monitoring
D.Use Flexible Resource Scheduling (FlexRS)
E.Increase the machine type for all workers
AnswersA, B, D

Autoscaling ensures resources are added only when needed.

Why this answer

Autoscaling, proper shuffle service usage, and resource tuning are essential for cost and performance.

98
MCQeasy

Which property in a Workflows YAML definition is required to define the entry point of the workflow?

A.main
B.entry_point
C.init
D.start
AnswerA

Every workflow must have a 'main' block.

Why this answer

The 'main' step is the required starting point for any workflow execution.

99
MCQmedium

You need to track who accessed which GCS bucket. Which service provides this audit trail?

A.Cloud Security Command Center
B.Cloud Monitoring
C.Cloud Trace
D.Cloud Audit Logs
AnswerD

Audit logs track all API calls to GCS.

Why this answer

Cloud Audit Logs, when enabled, capture all access events for GCS buckets.

100
MCQeasy

What does 'Data Lineage' show you in Dataplex?

A.The path the data took through the system
B.The number of users accessing the data
C.The cost of storing data
D.The database schema version
AnswerA

Lineage captures the 'where did this come from' information.

Why this answer

Data lineage tracks the origin, movement, and transformations of data as it moves through the pipeline.

101
MCQeasy

Which component of Cloud Composer acts as the primary interface for managing and triggering DAGs manually?

A.Cloud Storage Browser
B.Airflow Web Interface
C.Cloud Shell
D.BigQuery Console
AnswerB

The web UI provides the DAG management dashboard.

Why this answer

The Airflow Web Interface is the primary UI for managing DAGs and viewing execution history.

102
Multi-Selecthard

Which TWO of the following are key benefits of using Dataflow?

Select 2 answers
A.Fully managed
B.Hardware management
C.Supports batch and streaming
D.Automatic data entry
E.Low-latency SQL queries
AnswersA, C

No infrastructure to manage.

Why this answer

Dataflow is fully managed and supports both batch and streaming.

103
MCQhard

You are processing streaming data in Pub/Sub and need to archive every message into GCS without writing custom code. What should you use?

A.Dataflow
B.BigQuery Data Transfer Service
C.Cloud Functions
D.Pub/Sub Cloud Storage subscription
AnswerD

This is a native feature that avoids writing code.

Why this answer

Pub/Sub's native Cloud Storage subscription allows for direct streaming of messages to files in GCS.

104
MCQhard

In a Cloud Composer DAG, you need to trigger a BigQuery job that runs as a service account other than the one assigned to the GKE nodes. How should you implement this?

A.Hardcode the credentials in a JSON file inside the DAG folder.
B.Use the 'impersonation_chain' parameter in the BigQueryInsertJobOperator.
C.Change the worker node's identity in the Cloud Console.
D.Configure a connection with the 'Service Account Key' type in Airflow UI.
AnswerB

This is the secure way to perform service account impersonation in Airflow operators.

Why this answer

Using the 'impersonation_chain' parameter in the BigQueryInsertJobOperator allows the service account running the task to impersonate a different service account.

105
MCQmedium

Your organization uses Workflows to orchestrate multi-step API calls. You need to handle transient failures in a specific HTTP request by retrying it up to 5 times with exponential backoff. Which block should you use?

A.A 'loop' block with a counter increment.
B.An 'if' statement checking for 500 status codes.
C.A global 'exception' handler at the end of the workflow.
D.A 'try' block with a 'retry' policy.
AnswerD

The retry block handles exceptions and allows defining custom parameters like max_retries and backoff.

Why this answer

The 'try/retry' block in Workflows syntax allows for configuring custom backoff and max attempts for specific steps.

106
Multi-Selecteasy

Which TWO are common causes of Dataflow pipeline failures?

Select 2 answers
A.Too much storage
B.Bad input data
C.Incorrect configuration
D.Fast network speeds
E.Cloud console downtime
AnswersB, C

Causes processing errors.

Why this answer

Bad input data and configuration errors are common failures.

107
Multi-Selecthard

You need to migrate legacy data to a Dataplex Lake. Which THREE of the following should you consider for a successful migration? (Choose three)

Select 3 answers
A.Define a clear zone strategy
B.Audit existing IAM permissions for the source data
C.Disable all data quality checks
D.Manually copy every file using scp
E.Enable discovery to inventory existing data
AnswersA, B, E

Plan your organization structure.

Why this answer

Migration requires planning for IAM, discovery, and testing.

108
MCQhard

You are configuring a Dataplex asset that points to a GCS bucket. You want to ensure that only files in a specific folder are included in the asset. How do you specify this?

A.Define a SQL view on the folder
B.Use an IAM condition on the bucket
C.Specify a path filter in the asset definition
D.Move the files to a separate bucket
AnswerC

Dataplex assets support prefix filters for GCS buckets.

Why this answer

When adding a GCS bucket as an asset, you can provide a filter or prefix to limit the scope to a specific path.

109
MCQhard

You have an automated pipeline that deletes files in a GCS bucket every hour. Dataplex shows the asset as 'Out of sync'. Why?

A.The lake is locked for maintenance
B.The user does not have permission to delete files
C.Discovery needs to rescan to update metadata
D.The file deletion is violating the Dataplex policy
AnswerC

Metadata becomes stale if discovery hasn't refreshed the state.

Why this answer

Dataplex discovery scans periodically; if the physical data changes without the discovery job having run, the metadata might show as out of sync.

110
Multi-Selecteasy

Which TWO types of data sources can be used to create a dashboard in Looker Studio?

Select 2 answers
A.Google Cloud Functions
B.Google Cloud Billing console
C.Google Cloud IAM
D.BigQuery
E.Google Sheets
AnswersD, E

Native Google Cloud integration.

Why this answer

Looker Studio supports many connectors including BigQuery and flat files.

111
MCQeasy

You need to set up an alert when a GCS bucket exceeds a certain size. Which tool do you use?

A.Cloud Build
B.IAM
C.Cloud Logging
D.Cloud Monitoring
AnswerD

Cloud Monitoring provides thresholds and alert policies for GCS.

Why this answer

Cloud Monitoring allows you to set up alerts based on GCS bucket metrics like byte count.

112
MCQhard

You need to audit who accessed sensitive data in a Dataplex Lake. Which service should you monitor to see access logs for these data assets?

A.Dataplex Task Logs
B.Cloud Audit Logs
C.BigQuery Query Logs
D.Data Catalog history
AnswerB

Audit logs capture all API requests and access to Google Cloud resources.

Why this answer

Cloud Audit Logs records all access to data assets; Dataplex provides a unified view, but the logs reside in Cloud Audit Logs.

113
MCQmedium

You are processing streaming data in Dataflow and notice 'stuck' elements causing pipeline latency. Which feature helps debug this?

A.Dataprep Jobs view
B.Dataflow Monitoring UI
C.Cloud Logging
D.Cloud Trace
AnswerB

The monitoring UI provides insight into pipeline status and work item processing.

Why this answer

Dataflow's Streaming Engine and Work Items UI allow you to inspect pipeline performance and identify bottlenecks.

114
MCQmedium

You want to share a BigQuery dataset with a partner who uses a different Google Cloud project. What is the most secure way to grant them access?

A.Grant the partner's service account the 'BigQuery Data Viewer' role on the dataset.
B.Make the dataset public.
C.Provide the partner with your project's service account key.
D.Export the data to a public Cloud Storage bucket.
AnswerA

This is the least privilege, most secure way to share access.

Why this answer

Using IAM to grant 'BigQuery Data Viewer' on that specific dataset is the standard way to provide secure access.

115
MCQhard

You need to perform a time-series analysis in BigQuery. Your data contains timestamps at a millisecond level, but you need to aggregate by hour. What is the most performant way to truncate the timestamp?

A.EXTRACT(HOUR FROM timestamp_column).
B.CAST(timestamp_column AS STRING).
C.TIMESTAMP_TRUNC(timestamp_column, HOUR).
D.Using a CASE statement to manually subtract milliseconds.
AnswerC

This function is the standard and most performant way to truncate timestamps.

Why this answer

The TIMESTAMP_TRUNC function is highly optimized for this specific task in BigQuery.

116
MCQhard

You are using Dataflow to read from Pub/Sub. The pipeline is failing due to malformed messages. How can you handle these without crashing?

A.Use a Dead Letter Queue (DLQ)
B.Ignore errors
C.Increase memory
D.Restart the pipeline
AnswerA

DLQ allows you to isolate and examine malformed messages.

Why this answer

Using a Dead Letter Queue (DLQ) pattern allows you to route unprocessable messages to a separate destination for inspection.

117
MCQhard

You are configuring a Cloud Data Fusion pipeline to ingest data from an external SQL database. You need to ensure that only rows modified within the last hour are ingested. Which feature should you use?

A.Change Data Capture (CDC)
B.Full load with a SQL filter
C.Dataflow template overrides
D.Batch processing at high frequency
AnswerA

CDC captures modifications effectively for delta ingestion.

Why this answer

Incremental ingestion using a watermark or high-watermark column is standard for loading only changed data.

118
Multi-Selecthard

Which TWO of the following SQL techniques in BigQuery are best for optimizing performance on large tables?

Select 2 answers
A.Running queries without a limit
B.Using Cartesian products for all joins
C.Filtering with WHERE clauses on indexed columns
D.Selecting only the columns needed
E.Using SELECT *
AnswersC, D

Pruning data is the most effective way to reduce cost and runtime.

Why this answer

Filtering and selecting specific columns are the two most important query optimization techniques.

119
Multi-Selecteasy

Which TWO are valid methods to trigger a Dataflow job?

Select 2 answers
A.Cloud Console
B.Direct keyboard input
C.Cloud Scheduler
D.GCS bucket browsing
E.Cloud DNS lookup
AnswersA, C

Manual trigger.

Why this answer

Cloud Scheduler and manual console submission are common triggers.

120
MCQmedium

You have a large CSV file in Cloud Storage that needs to be loaded into BigQuery. The file contains a nested JSON structure in one column. How should you best prepare this data?

A.Convert to Parquet before loading
B.Upload as a text file and use BigQuery federated queries
C.Use a BigQuery load job with autodetect
D.Use Cloud Storage transfer service
AnswerC

BigQuery can infer schema and handle nested JSON if the format is correct.

Why this answer

Using BigQuery's native JSON support or Dataflow allows parsing nested structures during the load process.

121
MCQmedium

You are cleaning data using Dataprep. You want to save the final dataset in BigQuery. What do you do?

A.Copy the file from GCS
B.Use a SQL query
C.Use the Export feature
D.Wait for Dataflow to finish
AnswerC

Exporting allows you to specify a BigQuery table as the target.

Why this answer

In Dataprep, you configure a publishing action to write the results to a BigQuery table.

122
MCQmedium

You want to automate the export of a BigQuery table to Cloud Storage on a daily basis. What should you use?

A.Cloud Monitoring alerts.
B.Looker studio refresh.
C.BigQuery Data Transfer Service.
D.A manual SQL query.
AnswerC

This service supports scheduled jobs for moving data.

Why this answer

BigQuery Data Transfer Service allows for scheduled exports and imports.

123
MCQmedium

You want to run a Dataflow pipeline on a schedule. What should you use?

A.Cloud Scheduler
B.Dataflow Flex Templates
C.Cloud Composer
D.Cloud Functions
E.Pub/Sub
AnswerA

Cloud Scheduler is the standard way to schedule recurring tasks.

Why this answer

Cloud Scheduler can trigger Dataflow template jobs on a predefined schedule.

124
MCQhard

You are troubleshooting a Dataflow job that is running slower than expected when writing data to BigQuery. You suspect the issue is related to hot keys. What is the recommended strategy to mitigate this?

A.Change the Dataflow runner to a different region
B.Increase the number of worker machines
C.Use Cloud Storage as an intermediate sink
D.Add a random salt to the key before the shuffle operation
AnswerD

Adding a random salt distributes the data more evenly across the processing workers.

Why this answer

Keyed distribution issues can be solved by adding a random salt to keys to ensure better distribution across workers.

125
MCQhard

You want to dynamically generate tasks in an Airflow DAG based on the number of files in a GCS bucket. What is the standard way to do this?

A.Use the 'SubDagOperator'.
B.Configure an external metadata service to inject tasks.
C.Use the 'DynamicTaskGroup' operator in the Airflow library.
D.Use a Python loop inside the DAG file to instantiate tasks.
AnswerD

Dynamic task generation is achieved by looping in the DAG module.

Why this answer

Use a Python loop within the DAG file to iterate over the list of files (often using the GCS hook) and create Task instances dynamically.

126
Multi-Selecteasy

Which THREE of the following are common steps in a typical data pipeline orchestration pattern?

Select 3 answers
A.Validation
B.Network cable installation
C.Data ingestion
D.Transformation
E.Hardware provisioning
AnswersA, C, D

Ensuring data quality.

Why this answer

Common steps include data ingestion, transformation, and validation/export.

127
MCQhard

You need to perform a rolling update on a Dataflow job without losing current state. How do you do this?

A.Create a new job and point to the same source
B.Stop the job and start it again
C.Use a pipeline template
D.Use the Dataflow Update job command
AnswerD

This updates the pipeline code while trying to preserve state.

Why this answer

Using the 'Update' feature with a job ID allows you to update the pipeline code while maintaining state (if possible).

128
MCQeasy

Which GCS storage class is most cost-effective for data accessed only once per year?

A.Standard
B.Coldline
C.Archive
D.Nearline
AnswerC

Archive is the cheapest for very infrequent access.

Why this answer

Archive storage is designed for data that is rarely accessed (once a year or less).

129
MCQhard

You are using Dataflow with a custom container. Which command do you use to specify the container image?

A.--sdk_container_image
B.--container_path
C.--custom_image
D.--worker_image
AnswerA

This flag correctly sets the custom container.

Why this answer

The --sdk_container_image flag in the Dataflow runner specifies the image.

130
MCQmedium

When designing a Looker dashboard, you need to display a value that is the average of a specific metric across the entire dashboard. What is the best method?

A.Treemap.
B.Data table.
C.Waterfall chart.
D.Single Value visualization.
AnswerD

Single value tiles are perfect for highlighting KPIs and averages.

Why this answer

Single Value visualizations in Looker allow for displaying an aggregated metric clearly.

131
MCQmedium

Which Dataplex component allows you to query data across different storage systems using a single SQL interface?

A.Dataproc
B.Data Catalog
C.Cloud Storage
D.BigQuery
AnswerD

BigQuery acts as the compute engine for querying data assets in the lake.

Why this answer

The Dataplex Lake provides a unified view, and BigQuery Omni or federated queries allow querying across different storage systems.

132
MCQhard

You are configuring a Dataplex Data Quality task. You want to validate that a 'user_id' column has no NULL values. Where do you define this rule?

A.In the Cloud Storage metadata
B.In a YAML configuration file
C.In the BigQuery table schema
D.In the Dataplex Asset definition
AnswerB

Dataplex expects a YAML file defining the quality rules to be passed to the task.

Why this answer

Data quality rules are defined in a YAML configuration file that Dataplex uses to run the quality check task.

133
MCQmedium

Your team wants to visualize BigQuery data in Looker Studio. What is the most efficient way to ensure the dashboard reflects fresh data without manual refreshes?

A.Export the data to Google Sheets every hour.
B.Enable 'Automatic Refresh' in the Looker Studio browser extension.
C.Configure the data source to use 'Direct Query'.
D.Use a scheduled extract refresh.
AnswerC

Direct Query sends every request to BigQuery, ensuring data is as fresh as the underlying table.

Why this answer

Looker Studio supports query caching settings, but for live data, using the 'Direct Query' connection method is best.

134
MCQeasy

You are developing a dashboard in Looker. You notice that the 'Explore' menu is missing a specific set of fields. What should you check in the LookML model?

A.Check the project's 'BigQuery' location.
B.Verify the 'fields' parameter in the Explore definition.
C.Check if the table is indexed.
D.Clear the browser cache.
AnswerB

If fields are not exposed in the Explore definition, they cannot be used.

Why this answer

If fields are defined but not included in the Explore via the 'fields' parameter or 'join' syntax, they will not be visible.

135
MCQeasy

You need to ingest large amounts of unstructured data into Cloud Storage from an on-premises data center with limited bandwidth. Which service should you choose to ensure the most cost-effective and secure transfer?

A.Cloud Pub/Sub
B.Storage Transfer Service
C.BigQuery Data Transfer Service
D.Cloud Dataflow
AnswerB

Storage Transfer Service is the managed service for transferring data from on-premises to Cloud Storage.

Why this answer

Storage Transfer Service is designed for large-scale data migration from on-premises sources to Cloud Storage.

136
MCQeasy

You are identifying trends in a large dataset using BigQuery. Which SQL function is best suited to identify the top 5 products sold per region?

A.GROUP BY region, product.
B.SELECT TOP 5 * FROM sales.
C.RANK() OVER (PARTITION BY region ORDER BY sales DESC).
D.SUM(sales) OVER (ORDER BY region).
AnswerC

This partitions the data by region and ranks sales, making it easy to filter for the top 5.

Why this answer

Window functions, specifically RANK() or DENSE_RANK() combined with PARTITION BY, are designed for this exact use case.

137
Multi-Selectmedium

Which THREE factors should you consider when choosing a partitioning strategy for a BigQuery table?

Select 3 answers
A.The database name
B.The table color in the console
C.The query frequency for specific date ranges
D.Common query filter columns
E.Data expiration/retention policies
AnswersC, D, E

Query patterns should dictate partition design.

Why this answer

Partitioning should be based on common filters, data size, and the query lifecycle.

138
Multi-Selecteasy

Which TWO of the following are valid locations for a Dataplex Lake? (Choose two)

Select 2 answers
A.A private on-premises data center
B.The root organization node
C.The user's local laptop
D.US (Multi-region)
E.US-central1
AnswersD, E

A valid multi-regional location.

Why this answer

Dataplex supports regional and multi-regional deployments.

139
MCQeasy

What is the benefit of using 'Scheduled Reports' in Looker?

A.To automatically email reports to stakeholders.
B.To increase the BigQuery slot limit.
C.To optimize the database performance.
D.To change the dashboard color.
AnswerA

This is a key feature for operationalizing insights.

Why this answer

Scheduled reports automatically deliver data to users via email, ensuring stakeholders get insights without logging in.

140
Multi-Selectmedium

Which THREE of the following are valid GCS storage classes?

Select 3 answers
A.Warmline
B.Nearline
C.Hotline
D.Coldline
E.Standard
AnswersB, D, E

Valid class.

Why this answer

Standard, Nearline, and Coldline are valid GCS storage classes.

141
MCQhard

A user is running a query on a BigQuery table with nested data (JSON). How do you access a field named 'city' inside a record field named 'address'?

A.address->city
B.address.city
C.address[city]
D.JSON_EXTRACT(address, '$.city')
AnswerB

The dot operator is used for accessing nested fields.

Why this answer

Standard SQL uses the dot notation (dot-walk) to access fields within a STRUCT.

142
MCQmedium

A marketing manager needs to see daily sales trends in Looker. The underlying data is in BigQuery and is updated every 6 hours. What is the best way to visualize this?

A.Create a static PDF report sent via email.
B.Export BigQuery data to a CSV file.
C.Build a dashboard in Cloud Monitoring.
D.Create a Looker Explore and build a time-series line chart.
AnswerD

Explores allow for dynamic, accurate time-series visualization.

Why this answer

Creating a Looker Explore enables the manager to create visualizations dynamically while ensuring they always see the latest data from BigQuery.

143
MCQeasy

Which service allows you to view the schema and metadata of a BigQuery table that has been registered in Dataplex?

A.Data Catalog
B.Cloud Storage Console
C.Cloud Build
D.Cloud IAM console
AnswerA

Data Catalog is the tool used for viewing schema and metadata.

Why this answer

The Data Catalog interface within Dataplex provides a unified view of metadata, including schemas.

144
MCQeasy

What is the purpose of a 'Data Zone' in Dataplex?

A.To execute Spark jobs
B.To store query results
C.To act as a physical storage location
D.To provide a logical grouping for governance and policies
AnswerD

Zones serve as the logical boundary for policies and data management.

Why this answer

Zones are used to group data assets within a lake for common governance, security, and lifecycle policies.

145
MCQmedium

Your team uses Dataprep by Trifacta to clean data before loading it into BigQuery. You notice that the column header names contain inconsistent casing and special characters. Which Dataprep transformation should you use to standardize these headers globally?

A.Nest Columns
B.Aggregate
C.Rename Columns
D.Merge Columns
AnswerC

Rename allows for targeted adjustments to header names to ensure consistency.

Why this answer

The 'Rename' or 'Header' transformation allows for bulk column modification, but 'Rename' with regex or individual mapping is standard for header cleanup.

146
MCQmedium

You are using Vertex AI Workbench and want to ensure your notebook environment persists after the instance is stopped. Where should you save your work?

A.In the root directory of the container image.
B.In a persistent disk attached to the Workbench instance.
C.In the local /tmp folder.
D.In the system memory.
AnswerB

Persistent disks retain data even when the VM is stopped.

Why this answer

Notebook instances are compute resources; the persistent disk attached to the instance or an external Cloud Storage bucket is required to keep data.

147
MCQhard

You are building a Looker dashboard and need to calculate the year-over-year growth rate. Which feature should you use to perform this without modifying the underlying SQL?

A.BigQuery query parameters.
B.Looker Table Calculations.
C.LookML derived tables with persistent caching.
D.Database-level User Defined Functions (UDFs).
AnswerB

Table calculations provide flexible, on-the-fly math capabilities.

Why this answer

Table calculations allow for creating new measures based on existing data in the Explore interface without affecting the underlying database model.

148
MCQeasy

You have sensitive data in Cloud Storage that needs to be deleted after 30 days to comply with regulatory requirements. What is the most efficient way to manage this?

A.Use Cloud Storage lifecycle management policies
B.Run a manual BigQuery script
C.Write a Cloud Function to check dates and delete files
D.Create a Dataplex lifecycle task
AnswerA

Lifecycle rules are the native and most efficient way to handle object expiration.

Why this answer

Object lifecycle management rules in Cloud Storage are the standard way to automate data deletion based on age.

149
Multi-Selecthard

Which TWO of the following are common reasons a Workflows execution might stay in a 'PENDING' or 'FAILED' state?

Select 2 answers
A.Invalid YAML syntax
B.Airflow scheduler failure
C.Insufficient IAM permissions
D.Database locks
E.Worker node exhaustion
AnswersA, C

Syntax errors prevent successful deployment/execution.

Why this answer

Common issues include invalid IAM permissions or malformed YAML syntax in the workflow definition.

150
MCQeasy

Which command-line tool do you primarily use to deploy and manage Workflows?

A.gsutil
B.kubectl
C.gcloud
D.bq
AnswerC

gcloud workflows is the CLI command set for this service.

Why this answer

The 'gcloud' CLI is the standard tool for managing Google Cloud services, including Workflows.

Page 1

Page 2 of 3

Page 3

All pages