Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

Professional Data Engineer on Google Cloud Platform

Master the art of big data and machine learning to derive deep insights.

4.8★★★★★(224 ratings)
18,972 studentsAdvanced
Design, build, modernize, prioritize, secure, and monitor data processing systems on Google Cloud. This course validates your ability to manage massive data pipelines and implement intelligent solutions. Gain expert skills in BigQuery, Cloud Dataflow, Cloud Pub/Sub, and Cloud Bigtable for enterprise-level data processing. Prepare to lead data-driven organizations as a certified Professional Data Engineer.

What you'll learn

  • Design data processing systems
  • Build & Operationalize systems
  • Operationalize machine learning
  • Ensure solution quality
  • Data security & compliance

PROFESSIONAL-DATA-ENGINEER

Lectures3
Questions175
Duration30 week
Students18,972

$20.00

Full Free Question Bank (175 Questions)

Professional Data Engineer on Google Cloud Platform (PROFESSIONAL-DATA-ENGINEER) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1Ingesting and processing the data

You analyze user clickstream data to personalize content recommendations. The data arrives continuously and must be processed with low latency, including transformations such as sessionization (grouping clicks by user within a time window) and aggregation of user activity. You need to identify a scalable solution that can handle millions of events per second and remain resilient to late-arriving data. What should you do?

AUse Firebase Realtime Database for ingestion and storage, and Cloud Run functions for processing and analytics.
BUse Cloud Data Fusion for ingestion and transformation, and Cloud SQL for storage and analytics.
CUse Pub/Sub for ingestion, Dataflow with Apache Beam for processing, and BigQuery for storage and analytics.
DUse Cloud Storage for ingestion, Dataproc with Apache Spark for batch processing, and BigQuery for storage and analytics.
Question #2Part 1Ingesting and processing the data

A web server publishes click events as messages to a Pub/Sub topic. The server includes an eventTimestamp attribute in each message that records when the click occurred. You have a Dataflow streaming job that reads this Pub/Sub topic through a subscription, performs some transformations, and writes the results to another Pub/Sub topic for the advertising department. The advertising department must receive every message within 30 seconds of its corresponding click, but reports that messages arrive late. Your Dataflow job has system lag of about 5 seconds and data freshness of about 40 seconds. Inspection of several messages shows no more than 1 second of lag between eventTimestamp and publishTime. What is the issue, and what should you do?

AThe advertising department is causing delays when consuming the messages. Work with the advertising department to fix this.
BMessages in your Dataflow job are taking more than 30 seconds to process. Optimize your job or increase the number of workers to fix this.
DThe web server is not pushing messages fast enough to Pub/Sub. Work with the web server team to fix this.
Question #3Part 1Designing data processing systems

You run a logistics company and want to make event delivery from vehicle-based sensors more reliable. You operate small data centers worldwide to capture these events, but the leased lines connecting your event-collection infrastructure to your event-processing infrastructure are unreliable and have unpredictable latency. You want to resolve this in the most cost-effective manner. What should you do?

ADeploy small Kafka clusters in your data centers to buffer events.
BHave the data acquisition devices publish data to Cloud Pub/Sub.
CEstablish a Cloud Interconnect between all remote data centers and Google.
DWrite a Cloud Dataflow pipeline that aggregates all data in session windows.
Question #4Part 1Ingesting and processing the data

You have a BigQuery table that receives data directly from a Pub/Sub subscription. The ingested data is encrypted using a Google-managed encryption key. You must comply with a new organization policy requiring keys from a centralized Cloud Key Management Service (Cloud KMS) project to encrypt data at rest. What should you do?

AUse Cloud KMS encryption key with Dataflow to ingest the existing Pub/Sub subscription to the existing BigQuery table.
BCreate a new BigQuery table by using customer-managed encryption keys (CMEK), and migrate the data from the old BigQuery table.
CCreate a new Pub/Sub topic with CMEK and use the existing BigQuery table by using Google-managed encryption key.
DCreate a new BigQuery table and Pub/Sub topic by using customer-managed encryption keys (CMEK), and migrate the data from the old BigQuery table.
Question #5Part 1Preparing and using data for analysis

You monitor and optimize your team’s BigQuery instance. A particular daily report that uses a large JOIN operation is consistently slow. You want to inspect the query’s execution plan to identify potential performance bottlenecks within the JOIN as quickly as possible. What should you do?

AUse the bg query --dry_run command to review the estimated number of bytes read and review query syntax.
BRun a query on the INFORMATION_SCHEMA.JOBS_BY_PROJECT view filtering by the job_ID and analyze total_bytes_processed.
CReview the BigQuery audit logs in Cloud Logging.
DLeverage BigQuery's Query History view and analyze the execution graph.
Question #6Part 1Preparing and using data for analysis

The Development and External teams have the Project Viewer Identity and Access Management (IAM) role in a folder called Visualization. You want the Development Team to be able to read data from both Cloud Storage and BigQuery, while the External Team can read data only from BigQuery. What should you do? ![Question Image](https://cdn.examcademy.com/images/questions/1783810359078-1ki3x35r.jpg)

ARemove Cloud Storage IAM permissions to the External Team on the acme-raw-data project.
BCreate Virtual Private Cloud (VPC) firewall rules on the acme-raw-data project that deny all ingress traffic from the External Team CIDR range.
CCreate a VPC Service Controls perimeter containing both projects and BigQuery as a restricted API. Add the External Team users to the perimeter's Access Level.
DCreate a VPC Service Controls perimeter containing both projects and Cloud Storage as a restricted API. Add the Development Team users to the perimeter's Access Level.
Question #7Part 1Storing the data

Your company is migrating its 30-node Apache Hadoop cluster to the cloud. It wants to reuse Hadoop jobs it has already created and minimize cluster management as much as possible. It also needs to persist data beyond the cluster’s lifetime. What should you do?

ACreate a Google Cloud Dataflow job to process the data.
BCreate a Google Cloud Dataproc cluster that uses persistent disks for HDFS.
CCreate a Hadoop cluster on Google Compute Engine that uses persistent disks.
DCreate a Cloud Dataproc cluster that uses the Google Cloud Storage connector.
ECreate a Hadoop cluster on Google Compute Engine that uses Local SSD disks.
Question #8Part 1Preparing and using data for analysis

You currently use a SQL-based tool to visualize data stored in BigQuery. The data visualizations require outer joins and analytic functions. Visualizations must be based on data that is at least 4 hours old. Business users report that the visualizations take too long to generate. You want to improve the visualization-query performance while minimizing maintenance overhead for the data-preparation pipeline. What should you do?

ACreate materialized views with the allow_non_incremental_definition option set to true for the visualization queries. Specify the max_staleness parameter to 4 hours and the enable_refresh parameter to true. Reference the materialized views in the data visualization tool.
BCreate views for the visualization queries. Reference the views in the data visualization tool.
CCreate a Cloud Function instance to export the visualization query results as parquet files to a Cloud Storage bucket. Use Cloud Scheduler to trigger the Cloud Function every 4 hours. Reference the parquet files in the data visualization tool.
DCreate materialized views for the visualization queries. Use the incremental updates capability of BigQuery materialized views to handle changed data automatically. Reference the materialized views in the data visualization tool.
Question #9Part 1Maintaining and automating data workloads

You are moving a large number of files from a public HTTPS endpoint to Cloud Storage. The files are safeguarded from unauthorized access by using signed URLs. You created a TSV file containing the object-URL list and started a transfer job using Storage Transfer Service. You observe that the job ran for a long time and ultimately failed. The transfer-job logs show that it was running successfully until a certain point, after which it failed with HTTP 403 errors for the remaining files. You confirmed that the source system had not changed. You need to resolve the issue so that you can resume the migration process. What should you do?

ASet up Cloud Storage FUSE, and mount the Cloud Storage bucket on a Compute Engine instance. Remove the completed files from the TSV file. Use a shell script to iterate through the TSV file and download the remaining URLs to the FUSE mount point.
BRenew the TLS certificate of the HTTPS endpoint. Remove the completed files from the TSV file and rerun the Storage Transfer Service job.
CCreate a new TSV file for the remaining files by generating signed URLs with a longer validity period. Split the TSV file into multiple smaller files and submit them as separate Storage Transfer Service jobs in parallel.
DUpdate the file checksums in the TSV file from using MD5 to SHA256. Remove the completed files from the TSV file and rerun the Storage Transfer Service job.
Question #10Part 1Maintaining and automating data workloads

You need to orchestrate a pipeline across several Google Cloud services: a batch Dataflow job, followed by a BigQuery query job and then a Vertex AI batch prediction. The logic is sequential. You want a lightweight, serverless orchestration solution with minimal operational overhead. Which service should you use?

ASelect Cloud Composer.
BSelect Compute Engine with cron.
CSelect Dataproc with Apache Oozie.
DSelect Cloud Workflows.
Question #11Part 1Maintaining and automating data workloads

You need to create a SQL pipeline. The pipeline performs an aggregate SQL transformation on a BigQuery table every two hours and appends the result to another existing BigQuery table. You must configure the pipeline to retry when errors occur. You want it to send an email notification after three consecutive failures. What should you do?

AUse the BigQueryUpsertTableOperator in Cloud Composer, set the retry parameter to three, and set the email_on_failure parameter to true.
BUse the BigQueryInsertJobOperator in Cloud Composer, set the retry parameter to three, and set the email_on_failure parameter to true.
CCreate a BigQuery scheduled query to run the SQL transformation with schedule options that repeats every two hours, and enable email notifications.
DCreate a BigQuery scheduled query to run the SQL transformation with schedule options that repeats every two hours, and enable notification to Pub/Sub topic. Use Pub/Sub and Cloud Functions to send an email after three failed executions.
Question #12Part 1Storing the data

Your team has created multiple BigQuery curated datasets that contain anonymized industry benchmark data. You want to make these datasets readily discoverable and available for external partner companies to query from their own Google Cloud projects. You need a secure, scalable solution. What should you do?

APublish the datasets as listings within BigQuery sharing (Analytics Hub).
BExport the datasets to partner-specific Cloud Storage buckets.
CCreate authorized views for each dataset and grant access to each partner.
DGrant the roles/bigquery.dataViewer IAM role to the partner group email addresses on the datasets.
Question #13Part 1Storing the data

You administer a BigQuery dataset that uses a customer-managed encryption key (CMEK). You must share the dataset with a partner organization that lacks access to your CMEK. What should you do?

AProvide the partner organization a copy of your CMEKs to decrypt the data.
BExport the tables to parquet files to a Cloud Storage bucket and grant the storageinsights.viewer role on the bucket to the partner organization.
CCopy the tables you need to share to a dataset without CMEKs. Create an Analytics Hub listing for this dataset.
DCreate an authorized view that contains the CMEK to decrypt the data when accessed.
Question #14Part 1Designing data processing systems

Your organization is modernizing its IT services and moving to Google Cloud. You must organize the data that will be stored in Cloud Storage and BigQuery. You need to implement a data mesh approach for sharing data among the sales, product design, and marketing departments. What should you do?

A1. Create a project for storage of the data for each of your departments.2. Enable each department to create Cloud Storage buckets and BigQuery datasets.3. Create user groups for authorized readers for each bucket and dataset.4. Enable the IT team to administer the user groups to add or remove users as the departments’ request.
B1. Create multiple projects for storage of the data for each of your departments’ applications.2. Enable each department to create Cloud Storage buckets and BigQuery datasets.3. Publish the data that each department shared in Analytics Hub.4. Enable all departments to discover and subscribe to the data they need in Analytics Hub.
C1. Create a project for storage of the data for your organization.2. Create a central Cloud Storage bucket with three folders to store the files for each department.3. Create a central BigQuery dataset with tables prefixed with the department name.4. Give viewer rights for the storage project for the users of your departments.
D1. Create multiple projects for storage of the data for each of your departments’ applications.2. Enable each department to create Cloud Storage buckets and BigQuery datasets.3. In Dataplex, map each department to a data lake and the Cloud Storage buckets, and map the BigQuery datasets to zones.4. Enable each department to own and share the data of their data lakes.
Question #15Part 1Storing the data

You are designing a data model in BigQuery to store retail transaction data. Your two largest tables, sales_transaction_header and sales_transaction_line, have a tightly coupled, immutable relationship. These tables are seldom changed after loading and are often joined in queries. You need to model the sales_transaction_header and sales_transaction_line tables to enhance the performance of data analytics queries. What should you do?

ACreate a sales_transaction table that holds the sales_transaction_header information as rows and the sales_transaction_line rows as nested and repeated fields.
BCreate a sales_transaction table that holds the sales_transaction_header and sales_transaction_line information as rows, duplicating the sales_transaction_header data for each line.
CCreate a sales_transaction table that stores the sales_transaction_header and sales_transaction_line data as a JSON data type.
DCreate separate sales_transaction_header and sales_transaction_line tables and, when querying, specify the sales_transaction_line first in the WHERE clause.
Question #16Part 1Maintaining and automating data workloads

You must deploy extra dependencies to every node of a Cloud Dataproc cluster at startup by using an existing initialization action. Company security policies require Cloud Dataproc nodes to have no Internet access, so public initialization actions cannot retrieve resources. What should you do?

ADeploy the Cloud SQL Proxy on the Cloud Dataproc master
BUse an SSH tunnel to give the Cloud Dataproc cluster access to the Internet
CCopy all dependencies to a Cloud Storage bucket within your VPC security perimeter
DUse Resource Manager to add the service account used by the Cloud Dataproc cluster to the Network User role
Question #17Part 1Ingesting and processing the data

Flowlogistic management has concluded that the existing Apache Kafka servers cannot support the data volume required for the real-time inventory-tracking system. You must build a new system on Google Cloud Platform (GCP) to feed the proprietary tracking software. The system must ingest data from a range of global sources, process and query it in real time, and store the data reliably. Which combination of GCP products should you select?

ACloud Pub/Sub, Cloud Dataflow, and Cloud Storage
BCloud Pub/Sub, Cloud Dataflow, and Local SSD
CCloud Pub/Sub, Cloud SQL, and Cloud Storage
DCloud Load Balancing, Cloud Dataflow, and Cloud Storage
Question #18Part 1Preparing and using data for analysis

You have a BigQuery dataset called customers. All tables will be tagged using a Data Catalog tag template named gdpr. The template includes one mandatory Boolean field, has_sensitive_data. All employees must be able to perform a simple search to locate tables in the dataset where has_sensitive_data is either true or false. However, only the Human Resources (HR) group must be able to view the data in tables where has_sensitive_data is true. You grant the all-employees group the bigquery.metadataViewer and bigquery.connectionUser roles on the dataset. You want to minimize configuration overhead. What should you do next?

ACreate the “gdpr” tag template with private visibility. Assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
BCreate the “gdpr” tag template with private visibility. Assign the datacatalog.tagTemplateViewer role on this tag to the all employees group, and assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
CCreate the “gdpr” tag template with public visibility. Assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
DCreate the “gdpr” tag template with public visibility. Assign the datacatalog.tagTemplateViewer role on this tag to the all employees group, and assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
Question #19Part 1Maintaining and automating data workloadsSelect 2

You recently deployed several data-processing jobs in your Cloud Composer 2 environment. Some Apache Airflow tasks are failing. The monitoring dashboard shows increased total worker memory usage and worker pod evictions. You need to resolve these errors. What should you do? (Choose two.)

AIncrease the directed acyclic graph (DAG) file parsing interval.
BIncrease the Cloud Composer 2 environment size from medium to large.
CIncrease the maximum number of workers and reduce worker concurrency.
DIncrease the memory available to the Airflow workers.
EIncrease the memory available to the Airflow triggerer.
Question #20Part 1Maintaining and automating data workloads

You run an IoT pipeline based on Apache Kafka that typically receives about 5000 messages per second. You want to use Google Cloud Platform to create an alert as soon as the 1-hour moving average falls below 4000 messages per second. What should you do?

AConsume the stream of data in Dataflow using Kafka IO. Set a sliding time window of 1 hour every 5 minutes. Compute the average when the window closes, and send an alert if the average is less than 4000 messages.
BConsume the stream of data in Dataflow using Kafka IO. Set a fixed time window of 1 hour. Compute the average when the window closes, and send an alert if the average is less than 4000 messages.
CUse Kafka Connect to link your Kafka message queue to Pub/Sub. Use a Dataflow template to write your messages from Pub/Sub to Bigtable. Use Cloud Scheduler to run a script every hour that counts the number of rows created in Bigtable in the last hour. If that number falls below 4000, send an alert.
DUse Kafka Connect to link your Kafka message queue to Pub/Sub. Use a Dataflow template to write your messages from Pub/Sub to BigQuery. Use Cloud Scheduler to run a script every five minutes that counts the number of rows created in BigQuery in the last hour. If that number falls below 4000, send an alert.
Question #21Part 1Ingesting and processing the data

You need to migrate 1 PB of data from an on-premises data center to Google Cloud. The data-transfer portion of the migration must take only a few hours. You want to follow Google-recommended practices to enable this large data transfer over a secure connection. What should you do?

AEstablish a Cloud Interconnect connection between the on-premises data center and Google Cloud, and then use the Storage Transfer Service.
BUse a Transfer Appliance and have engineers manually encrypt, decrypt, and verify the data.
CEstablish a Cloud VPN connection, start gcloud compute scp jobs in parallel, and run checksums to verify the data.
DReduce the data into 3 TB batches, transfer the data using gsutil, and run checksums to verify the data.
Question #22Part 1Preparing and using data for analysis

You create a critical report for your large team in Google Data Studio 360. The report uses Google BigQuery as its data source. You observe that visualizations do not display data that is less than 1 hour old. What should you do?

ADisable caching by editing the report settings.
BDisable caching in BigQuery by editing table details.
CRefresh your browser tab showing the visualizations.
DClear your browser history for the past hour then reload the tab showing the virtualizations.
Question #23Part 1Preparing and using data for analysis

You are defining a data-governance strategy for a new BigQuery table containing medical and financial data. You need a scalable solution that lets clinical researchers access patient medical data without financial information, while allowing the accounting team access to only financial data with minimal patient identifiers. What should you do?

AImplement column-level security policies in BigQuery tables with IAM permissions.
BCreate separate tables for personally identifiable information (PII), financial data, and anonymized medical data. Use IAM permissions to control access to each table.
CImplement row-level security policies in BigQuery tables with IAM permissions.
DCreate separate datasets with authorized views exposing only approved data.
Question #24Part 1Maintaining and automating data workloads

You are monitoring your organization’s data lake, which is hosted on BigQuery. The ingestion pipelines read data from Pub/Sub and write it into BigQuery tables. After deploying a new version of the ingestion pipelines, the daily stored data grew by 50%. Pub/Sub data volumes remained unchanged, and only some tables had their daily partition data size double. You need to investigate and resolve the cause of the data increase. What should you do?

A1. Check for duplicate rows in the BigQuery tables that have the daily partition data size doubled.2. Schedule daily SQL jobs to deduplicate the affected tables.3. Share the deduplication script with the other operational teams to reuse if this occurs to other tables.
B1. Check for code errors in the deployed pipelines.2. Check for multiple writing to pipeline BigQuery sink.3. Check for errors in Cloud Logging during the day of the release of the new pipelines.4. If no errors, restore the BigQuery tables to their content before the last release by using time travel.
C1. Check for duplicate rows in the BigQuery tables that have the daily partition data size doubled.2. Check the BigQuery Audit logs to find job IDs.3. Use Cloud Monitoring to determine when the identified Dataflow jobs started and the pipeline code version.4. When more than one pipeline ingests data into a table, stop all versions except the latest one.
D1. Roll back the last deployment.2. Restore the BigQuery tables to their content before the last release by using time travel.3. Restart the Dataflow jobs and replay the messages by seeking the subscription to the timestamp of the release.
Question #25Part 1Designing data processing systems

You are developing a niche product in the image-recognition domain. Your team has created a model dominated by custom C++ TensorFlow ops that it implemented. These ops run within the main training loop and perform large matrix multiplications. Training a model currently can take several days. You want to reduce this time substantially while keeping costs low by using an accelerator on Google Cloud. What should you do?

AUse Cloud TPUs without any additional adjustment to your code.
BUse Cloud TPUs after implementing GPU kernel support for your customs ops.
CUse Cloud GPUs after implementing GPU kernel support for your customs ops.
DStay on CPUs, and increase the size of the cluster you're training your model on.
Question #26Part 1Maintaining and automating data workloads

You are designing a system that needs an ACID-compliant database. You must ensure the system needs minimal human intervention if a failure occurs. What should you do?

AConfigure a Cloud SQL for MySQL instance with point-in-time recovery enabled.
BConfigure a Cloud SQL for PostgreSQL instance with high availability enabled.
CConfigure a Bigtable instance with more than one cluster.
DConfigure a BigQuery table with a multi-region configuration.
Question #27Part 1Storing the data

You are planning to use Cloud Storage as part of a data lake solution. The Cloud Storage bucket will hold objects ingested from external systems. Each object will be ingested once, and individual-object access patterns will be random. You want to minimize the cost of storing and retrieving these objects while ensuring that any cost-optimization measures are transparent to users and applications. What should you do?

ACreate a Cloud Storage bucket with Autoclass enabled.
BCreate a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object age reaches 30 days.
CCreate a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object is not live.
DCreate two Cloud Storage buckets. Use the Standard storage class for the first bucket, and use the Coldline storage class for the second bucket. Migrate objects from the first bucket to the second bucket after 30 days.
Question #28Part 1Preparing and using data for analysis

A shipping company has live package-tracking data that is sent to an Apache Kafka stream in real time and then loaded into BigQuery. Analysts at your company want to query the tracking data in BigQuery to analyze geospatial trends throughout a package’s lifecycle. The table was initially created with ingest-date partitioning. Over time, query processing time has increased. You need to implement a change that improves query performance in BigQuery. What should you do?

AImplement clustering in BigQuery on the ingest date column.
BImplement clustering in BigQuery on the package-tracking ID column.
CTier older data onto Cloud Storage files and create a BigQuery table using Cloud Storage as an external data source.
DRe-create the table using data partitioning on the package delivery date.
Question #29Part 1Ingesting and processing the data

You have designed an Apache Beam processing pipeline that reads from a Pub/Sub topic. The topic has a one-day message-retention duration and writes to a Cloud Storage bucket. You must choose a bucket location and processing strategy that prevent data loss during a regional outage with an RPO of 15 minutes. What should you do?

A1. Use a dual-region Cloud Storage bucket.2. Monitor Dataflow metrics with Cloud Monitoring to determine when an outage occurs.3. Seek the subscription back in time by 15 minutes to recover the acknowledged messages.4. Start the Dataflow job in a secondary region.
B1. Use a multi-regional Cloud Storage bucket.2. Monitor Dataflow metrics with Cloud Monitoring to determine when an outage occurs.3. Seek the subscription back in time by 60 minutes to recover the acknowledged messages.4. Start the Dataflow job in a secondary region.
C1. Use a regional Cloud Storage bucket.2. Monitor Dataflow metrics with Cloud Monitoring to determine when an outage occurs.3. Seek the subscription back in time by one day to recover the acknowledged messages.4. Start the Dataflow job in a secondary region and write in a bucket in the same region.
D1. Use a dual-region Cloud Storage bucket with turbo replication enabled.2. Monitor Dataflow metrics with Cloud Monitoring to determine when an outage occurs.3. Seek the subscription back in time by 60 minutes to recover the acknowledged messages.4. Start the Dataflow job in a secondary region.
Question #30Part 1Maintaining and automating data workloads

You work for an advertising company and have developed a Spark ML model that predicts click-through rates for advertisement blocks. All development has been done in your on-premises data center, but the company is now migrating to Google Cloud. Because the data center will close soon, a rapid lift-and-shift migration is required. However, the data you have used will be migrated to BigQuery. You periodically retrain the Spark ML models, so the existing training pipelines must be moved to Google Cloud. What should you do?

AUse Vertex AI for training existing Spark ML models
BRewrite your models on TensorFlow, and start using Vertex AI
CUse Dataproc for training existing Spark ML models, but start reading data directly from BigQuery
DSpin up a Spark cluster on Compute Engine, and train Spark ML models on the data exported from BigQuery
Question #31Part 1Maintaining and automating data workloads

You operate a data-processing application on Google Kubernetes Engine (GKE). Containers must launch using their latest available configurations from a container registry. Your GKE nodes require GPUs, local SSDs, and 8 Gbps of bandwidth. You want to provision the data-processing infrastructure efficiently and manage the deployment process. What should you do?

AUse Compute Engine startup scripts to pull container images, and use gcloud commands to provision the infrastructure.
BUse Cloud Build to schedule a job using Terraform build to provision the infrastructure and launch with the most current container images.
CUse GKE to autoscale containers, and use gcloud commands to provision the infrastructure.
DUse Dataflow to provision the data pipeline, and use Cloud Scheduler to run the job.
Question #32Part 1Ingesting and processing the data

A data analyst on your team needs to analyze data using BigQuery. The analyst wants to create a data pipeline that loads 200 CSV files, averaging 15 MB each, from a Cloud Storage bucket into BigQuery every day. The data must be ingested and transformed before it is available for analysis in BigQuery. You need to recommend a fully managed, no-code solution for the analyst. What should you do?

ACreate a Cloud Run function and schedule it to run daily using Cloud Scheduler to load the data into BigQuery.
BUse the BigQuery Data Transfer Service to load files from Cloud Storage to BigQuery, create a BigQuery job which transforms the data using BigQuery SQL and schedule it to run daily.
CBuild a custom Apache Beam pipeline and run it on Dataflow to load the file from Cloud Storage to BigQuery and schedule it to run daily using Cloud Composer.
DCreate a pipeline by using BigQuery pipelines and schedule it to load the data into BigQuery daily.
Question #33Part 1Preparing and using data for analysis

Your company’s customer and order databases are frequently under heavy load, making it difficult to perform analytics on them without affecting operations. The databases run in a MySQL cluster, with nightly backups created by using mysqldump. You want to run analytics with minimal operational impact. What should you do?

AAdd a node to the MySQL cluster and build an OLAP cube there.
BUse an ETL tool to load the data from MySQL into Google BigQuery.
CConnect an on-premises Apache Hadoop cluster to MySQL and perform ETL.
DMount the backups to Google Cloud SQL, and then process the data using Google Cloud Dataproc.
Question #34Part 1Ingesting and processing the data

You are analyzing a company’s stock price. Every 5 seconds, you must calculate a moving average for the prior 30 seconds of data. You read data from Pub/Sub and use Dataflow to perform the analysis. How should you configure the windowed pipeline?

AUse a fixed window with a duration of 5 seconds. Emit results by setting the following trigger: AfterProcessingTime.pastFirstElementInPane().plusDelayOf (Duration.standardSeconds(30))
BUse a fixed window with a duration of 30 seconds. Emit results by setting the following trigger: AfterWatermark.pastEndOfWindow().plusDelayOf (Duration.standardSeconds(5))
CUse a sliding window with a duration of 5 seconds. Emit results by setting the following trigger: AfterProcessingTime.pastFirstElementInPane().plusDelayOf (Duration.standardSeconds(30))
DUse a sliding window with a duration of 30 seconds and a period of 5 seconds. Emit results by setting the following trigger: AfterWatermark.pastEndOfWindow ()
Question #35Part 1Ingesting and processing the data

You plan to load some existing on-premises data into BigQuery on Google Cloud. Depending on the use case, you want to stream or batch-load the data. You also want to mask sensitive data before it is loaded into BigQuery. You must accomplish this programmatically while minimizing costs. What should you do?

AUse Cloud Data Fusion to design your pipeline, use the Cloud DLP plug-in to de-identify data within your pipeline, and then move the data into BigQuery.
BUse the BigQuery Data Transfer Service to schedule your migration. After the data is populated in BigQuery, use the connection to the Cloud Data Loss Prevention (Cloud DLP) API to de-identify the necessary data.
CCreate your pipeline with Dataflow through the Apache Beam SDK for Python, customizing separate options within your code for streaming, batch processing, and Cloud DLP. Select BigQuery as your data sink.
DSet up Datastream to replicate your on-premise data on BigQuery.
Question #36Part 1Designing data processing systems

Your data science team must run interactive SQL queries on large datasets in Apache Parquet format that are stored in a Cloud Storage bucket. The team knows Apache Hive and wants to use its existing HiveQL queries. You need to provide an environment where the team can execute interactive HiveQL queries directly against the Cloud Storage data while keeping operational overhead to a minimum. What should you do?

AInstall and configure an Apache Hadoop and Hive cluster manually on a group of Compute Engine instances.
BLoad the Parquet data into a BigQuery native table and use the BigQuery Connector for Hive to run the queries.
CConfigure BigQuery with an external table definition pointing to the Parquet files.
DDeploy a Dataproc cluster with Hive services enabled.
Question #37Part 1Designing data processing systems

You created an analytics environment on Google Cloud so your data scientist team can explore data without affecting the on-premises Apache Hadoop solution. Data in the on-premises Hadoop Distributed File System (HDFS) cluster is stored in Optimized Row Columnar (ORC) formatted files with multiple columns of Hive partitioning. The data scientist team must be able to explore the data in a way similar to how they used the on-premises HDFS cluster with SQL on the Hive query engine. You need to select the most cost-effective storage and processing solution. What should you do?

AImport the ORC files to Bigtable tables for the data scientist team.
BImport the ORC files to BigQuery tables for the data scientist team.
CCopy the ORC files on Cloud Storage, then deploy a Dataproc cluster for the data scientist team.
DCopy the ORC files on Cloud Storage, then create external BigQuery tables for the data scientist team.
Question #38Part 1Maintaining and automating data workloads

Your company has expanded rapidly and is now ingesting data at a substantially higher rate than before. You manage the daily batch MapReduce analytics jobs in Apache Hadoop. However, the recent data increase has caused the batch jobs to fall behind. You have been asked to recommend ways the development team can improve analytics responsiveness without increasing costs. What should you recommend?

ARewrite the job in Pig.
BRewrite the job in Apache Spark.
CIncrease the size of the Hadoop cluster.
DDecrease the size of the Hadoop cluster but also rewrite the job in Hive.
Question #39Part 1Maintaining and automating data workloads

A data scientist has built a BigQuery ML model and asks you to build an ML pipeline for serving predictions. You have a REST API application that must return predictions for an individual user ID with latency below 100 milliseconds. You use this query to generate predictions: ``sql SELECT predicted_label, user_id FROM ML.PREDICT (MODEL 'dataset.model', table user_features) `` How should you create the ML pipeline? SELECT predicted_label, user_id FROM ML.PREDICT (MODEL 'dataset.model', table user_features)

AAdd a WHERE clause to the query, and grant the BigQuery Data Viewer role to the application service account.
BCreate an Authorized View with the provided query. Share the dataset that contains the view with the application service account.
CCreate a Dataflow pipeline using BigQueryIO to read results from the query. Grant the Dataflow Worker role to the application service account.
DCreate a Dataflow pipeline using BigQueryIO to read predictions for all users from the query. Write the results to Bigtable using BigtableIO. Grant the Bigtable Reader role to the application service account so that the application can read predictions for individual users from Bigtable.
Question #40Part 1Ingesting and processing the data

You work for a shipping company that uses handheld scanners to scan shipping labels. The company has strict data-privacy standards requiring scanners to transmit only tracking numbers when events are sent to Kafka topics. A recent software update caused the scanners to inadvertently send recipients’ personally identifiable information (PII) to analytics systems, violating user privacy rules. You need to rapidly create a scalable solution with cloud-native managed services to stop PII exposure to the analytics systems. What should you do?

ACreate an authorized view in BigQuery to restrict access to tables with sensitive data.
BInstall a third-party data validation tool on Compute Engine virtual machines to check the incoming data for sensitive information.
CUse Cloud Logging to analyze the data passed through the total pipeline to identify transactions that may contain sensitive information.
DBuild a Cloud Function that reads the topics and makes a call to the Cloud Data Loss Prevention (Cloud DLP) API. Use the tagging and confidence levels to either pass or quarantine the data in a bucket for review.
Question #41Part 1Preparing and using data for analysis

You store and analyze relational data in BigQuery on Google Cloud, with all data located in US regions. You also have a variety of object stores across Microsoft Azure and Amazon Web Services (AWS), likewise in US regions. You want to query all of your data in BigQuery each day while moving as little data as possible. What should you do?

AUse BigQuery Data Transfer Service to load files from Azure and AWS into BigQuery.
BCreate a Dataflow pipeline to ingest files from Azure and AWS to BigQuery.
CLoad files from AWS and Azure to Cloud Storage with Cloud Shell gsutil rsync arguments.
DUse the BigQuery Omni functionality and BigLake tables to query files in Azure and AWS.
Question #42Part 1Preparing and using data for analysis

You have a query that filters a BigQuery table with a WHERE clause on timestamp and ID columns. By using bq query "-dry_run", you learn that the query causes a full table scan, although the timestamp and ID filters select only a tiny fraction of the total data. You want to reduce the amount of data BigQuery scans with minimal changes to the existing SQL queries. What should you do?

ACreate a separate table for each ID.
BUse the LIMIT keyword to reduce the number of rows returned.
CRecreate the table with a partitioning column and clustering column.
DUse the bq query --maximum_bytes_billed flag to restrict the number of bytes billed.
Question #43Part 1Maintaining and automating data workloadsSelect 2

You are operating a Dataflow pipeline that receives messages from a Pub/Sub topic and writes results to a BigQuery dataset in the EU. The pipeline currently runs in europe-west4 with a maximum of 3 n1-standard-1 workers. During peak periods, the pipeline struggles to process records promptly while all 3 workers have maximum CPU utilization. Which two actions can you take to improve pipeline performance? (Choose two.)

AIncrease the number of max workers
BUse a larger instance type for your Dataflow workers
CChange the zone of your Dataflow pipeline to run in us-central1
DCreate a temporary table in Bigtable that will act as a buffer for new data. Create a new step in your pipeline to write to this table first, and then create a new pipeline to write from Bigtable to BigQuery
ECreate a temporary table in Cloud Spanner that will act as a buffer for new data. Create a new step in your pipeline to write to this table first, and then create a new pipeline to write from Cloud Spanner to BigQuery
Question #44Part 1Ingesting and processing the data

An online brokerage firm needs an architecture to process a high volume of trades. Create a secure queuing system that triggers jobs. The jobs will run in Google Cloud and invoke the company’s Python API to execute trades. You need to implement the solution efficiently. What should you do?

AUse a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
BWrite an application hosted on a Compute Engine instance that makes a push subscription to the Pub/Sub topic.
CWrite an application that makes a queue in a NoSQL database.
DUse Cloud Composer to subscribe to a Pub/Sub topic and call the Python API.
Question #45Part 1Maintaining and automating data workloads

You receive CSV data files every month from a third party. You need to cleanse this data, but the file schema changes every third month. Your requirements for implementing these transformations include: - Running the transformations on a schedule - Allowing non-developer analysts to modify transformations - Supplying a graphical tool to design transformations What should you do?

AUse Dataprep by Trifacta to build and maintain the transformation recipes, and execute them on a scheduled basis
BLoad each month's CSV data into BigQuery, and write a SQL query to transform the data to a standard schema. Merge the transformed tables together with a SQL query
CHelp the analysts write a Dataflow pipeline in Python to perform the transformation. The Python code should be stored in a revision control system and modified as the incoming data's schema changes
DUse Apache Spark on Dataproc to infer the schema of the CSV file before creating a Dataframe. Then implement the transformations in Spark SQL before writing the data out to Cloud Storage and loading into BigQuery
Question #46Part 1Designing data processing systems

You are integrating an internal IT application with Google BigQuery so that users can query BigQuery through the application's interface. You do not want individual users to authenticate with BigQuery, and you do not want to grant them access to the dataset. You need to securely access BigQuery from your IT application. What should you do?

ACreate groups for your users and give those groups access to the dataset
BIntegrate with a single sign-on (SSO) platform, and pass each user's credentials along with the query request
CCreate a service account and grant dataset access to that account. Use the service account's private key to access the dataset
DCreate a dummy user and grant dataset access to that user. Store the username and password for that user in a file on the files system, and use those credentials to access the BigQuery dataset
Question #47Part 1Preparing and using data for analysis

Your company has hired a new data scientist who wants to conduct complex analyses across very large datasets stored in Google Cloud Storage and in a Cassandra cluster on Google Compute Engine. The scientist mainly wants to create labelled datasets for machine learning projects, together with some visualization work. She says her laptop lacks the power to perform these tasks and that this is slowing her down. You want to help her complete her work. What should you do?

ARun a local version of Jupiter on the laptop.
BGrant the user access to Google Cloud Shell.
CHost a visualization tool on a VM on Google Compute Engine.
DDeploy Google Cloud Datalab to a virtual machine (VM) on Google Compute Engine.
Question #48Part 1Storing the data

You launched a new gaming app nearly three years ago. You have uploaded the previous day’s log files to separate Google BigQuery tables named in the format LOGS_yyyymmdd. You have used table wildcard functions to create daily and monthly reports across all time ranges. Recently, you found that some queries spanning long date ranges exceed the 1,000-table limit and fail. How can you resolve this issue?

AConvert all daily log tables into date-partitioned tables
BConvert the sharded tables into a single partitioned table
CEnable query caching so you can cache data from previous months
DCreate separate views to cover each month, and query from these views
Question #49Part 1Storing the data

You intend to deploy Cloud SQL with MySQL. You must ensure high availability if a zone fails. What should you do?

ACreate a Cloud SQL instance in one zone, and create a failover replica in another zone within the same region.
BCreate a Cloud SQL instance in one zone, and create a read replica in another zone within the same region.
CCreate a Cloud SQL instance in one zone, and configure an external read replica in a zone in a different region.
DCreate a Cloud SQL instance in a region, and configure automatic backup to a Cloud Storage bucket in the same region.
Question #50Part 1Designing data processing systems

You are designing a data-processing pipeline. The pipeline must automatically scale as load grows. Messages must be processed at least once and be ordered within 1-hour windows. How should you design the solution?

AUse Apache Kafka for message ingestion and use Cloud Dataproc for streaming analysis.
BUse Apache Kafka for message ingestion and use Cloud Dataflow for streaming analysis.
CUse Cloud Pub/Sub for message ingestion and Cloud Dataproc for streaming analysis.
DUse Cloud Pub/Sub for message ingestion and Cloud Dataflow for streaming analysis.
Question #51Part 1Preparing and using data for analysis

You have various files in Cloud Storage that your data science team wants to use in its models. At present, users have no way to explore, cleanse, and validate the data in Cloud Storage. You need a low-code solution that the data science team can use to quickly cleanse and explore data in Cloud Storage. What should you do?

AProvide the data science team access to Dataflow to create a pipeline to prepare and validate the raw data and load data into BigQuery for data exploration.
BCreate an external table in BigQuery and use SQL to transform the data as necessary. Provide the data science team access to the external tables to explore the raw data.
CLoad the data into BigQuery and use SQL to transform the data as necessary. Provide the data science team access to staging tables to explore the raw data.
DProvide the data science team access to Dataprep to prepare, validate, and explore the data within Cloud Storage.
Question #52Part 1Storing the data

You collect IoT sensor data from millions of devices worldwide and store it in BigQuery. Your access pattern uses recent data filtered by location_id and device_version, using the following query: ![Question Image](https://cdn.examcademy.com/images/questions/1783859953172-r5nlddam.png) You want to optimize query cost and performance. How should you organize your data?

APartition table data by create_date, location_id, and device_version.
BPartition table data by create_date, cluster table data by location_id, and device_version.
CCluster table data by create_date, location_id, and device_version.
DCluster table data by create_date, partition by location_id, and device_version.
Question #53Part 1Designing data processing systems

You are migrating a table to BigQuery and are choosing its data model. The table contains information about purchases made across multiple store locations, including the transaction time, purchased items, store ID, and the city and state where the store is located. You frequently query the table to determine how many of each item sold during the past 30 days and to analyze purchasing trends by state, city, and individual store. How should you model this table for optimal query performance?

APartition by transaction time; cluster by state first, then city, then store ID.
BPartition by transaction time; cluster by store ID first, then city, then state.
CTop-level cluster by state first, then city, then store ID.
DTop-level cluster by store ID first, then city, then state.
Question #54Part 1Storing the data

Your company is implementing a BigQuery data warehouse, and you have been assigned to design the data model. You migrate an on-premises sales data warehouse with a star schema to BigQuery, but observe performance issues when querying data from the last 30 days. Based on Google's recommended practices, what should you do to accelerate the query without increasing storage costs?

ADenormalize the data.
BShard the data by customer ID.
CMaterialize the dimensional data in views.
DPartition the data by transaction date.
Question #55Part 1Storing the data

You are designing BigQuery tables for high volumes of clickstream event data. Your data analyst team will most often query specific event-date ranges and filter on the user ID UUID. You want to optimize the table structure for query cost and performance. What should you do?

APartition the table by the user ID column and cluster the table by the event date column.
BCreate an ingestion-time partitioned table and cluster it by the user ID column.
CCluster the table by both the event date and the user ID columns.
DPartition the table by the event date column and cluster the table by user ID column.
Question #56Part 1Designing data processing systems

You have thousands of Apache Spark jobs running in an on-premises Apache Hadoop cluster. You want to migrate these jobs to Google Cloud. You want managed services to run the jobs rather than maintaining a long-lived Hadoop cluster yourself. You are on a tight timeline and want to minimize code changes. What should you do?

AMove your data to BigQuery. Convert your Spark scripts to a SQL-based processing approach.
BRewrite your jobs in Apache Beam. Run your jobs in Dataflow.
CCopy your data to Compute Engine disks. Manage and run your jobs directly on those instances.
DMove your data to Cloud Storage. Run your jobs on Dataproc.
Question #57Part 1Maintaining and automating data workloads

The company uses distinct Google Cloud projects for development, staging, and production. Developers require edit access to the development project, read-only access to the staging project, and no access to the production project. You need an effective, manageable way to assign and enforce these permissions in line with Google-recommended practices. What should you do?

ACreate separate VPC Service Controls perimeters for each project and use access levels.
BGrant individual developers specific IAM roles directly on each project.
CConfigure firewall rules within each project’s VPC to block traffic from unauthorized developer machines.
DCreate Google Groups for access levels, assign developers to groups, and grant the groups the appropriate IAM roles on each project.
Question #58Part 1Designing data processing systems

Flowlogistic's management has concluded that the existing Apache Kafka servers cannot support the data volume required for its real-time inventory-tracking system. You must build a new system on Google Cloud Platform (GCP) to supply the proprietary tracking software. The system must ingest data from a variety of global sources, process and query it in real time, and store the data reliably. Which combination of GCP products should you select?

ACloud Pub/Sub, Cloud Dataflow, and Cloud Storage
BCloud Pub/Sub, Cloud Dataflow, and Local SSD
CCloud Pub/Sub, Cloud SQL, and Cloud Storage
DCloud Load Balancing, Cloud Dataflow, and Cloud Storage
ECloud Dataflow, Cloud SQL, and Cloud Storage
Question #59Part 1Designing data processing systems

MJTelco is creating a custom interface for sharing data. It has these requirements: 1. It must perform aggregations across its petabyte-scale datasets. 2. It must scan rows in a specific time range with a very fast response time (milliseconds). Which combination of Google Cloud Platform products should you recommend?

ACloud Datastore and Cloud Bigtable
BCloud Bigtable and Cloud SQL
CBigQuery and Cloud Bigtable
DBigQuery and Cloud Storage
Question #60Part 1Storing the data

Different teams in your organization store customer and performance data in BigQuery. Each team must retain full control of the data it collects, be able to query data in its own projects, and exchange data with other teams. You need to implement an organization-wide solution while minimizing operational effort and cost. What should you do?

AAsk each team to create authorized views of their data. Grant the biquery.jobUser role to each team.
BCreate a BigQuery scheduled query to replicate all customer data into team projects.
CAsk each team to publish their data in Analytics Hub. Direct the other teams to subscribe to them.
DEnable each team to create materialized views of the data they need to access in their projects.
Question #61Part 2Maintaining and automating data workloads

Your company generates reports from data stored in BigQuery. You have found that some fields in the weekly executive reports do not conform to company formatting standards. For example, errors include differing telephone-number formats and country-code identifiers. Because this occurs frequently, you need to create a recurring job that normalizes the data. You want a quick, no-code solution. What should you do?

AUse Cloud Data Fusion and Wrangler to normalize the data, and set up a recurring job.
BUse Dataflow SQL to create a job that normalizes the data, and that after the first run of the job, schedule the pipeline to execute recurrently.
CCreate a Spark job and submit it to Dataproc Serverless.
DUse BigQuery and GoogleSQL to normalize the data, and schedule recurring queries in BigQuery.
Question #62Part 2Ingesting and processing the dataSelect 2

You have Node.js Cloud Functions that pull messages from Cloud Pub/Sub and write the data to BigQuery. You notice that the Pub/Sub topic’s message-processing rate is orders of magnitude higher than expected, with no error recorded in Cloud Logging. What are the two most likely causes of this issue? (Choose two.)

APublisher throughput quota is too small.
BTotal outstanding messages exceed the 10-MB maximum.
CError handling in the subscriber code is not handling run-time errors properly.
DThe subscriber code cannot keep up with the messages.
EThe subscriber code does not acknowledge the messages that it pulls.
Question #63Part 2Preparing and using data for analysis

You are building an application on Google Cloud that automatically generates subject labels for users’ blog posts. You face competitive pressure to deliver this feature quickly, have no additional developer resources, and no one on the team has machine-learning experience. What should you do?

ACall the Cloud Natural Language API from your application. Process the generated Entity Analysis as labels.
BCall the Cloud Natural Language API from your application. Process the generated Sentiment Analysis as labels.
CBuild and train a text classification model using TensorFlow. Deploy the model using Cloud Machine Learning Engine. Call the model from your application and process the results as labels.
DBuild and train a text classification model using TensorFlow. Deploy the model using a Kubernetes Engine cluster. Call the model from your application and process the results as labels.
Question #64Part 2Ingesting and processing the data

You are testing a Dataflow pipeline that ingests and transforms text files. The files are gzip-compressed, errors are sent to a dead-letter queue, and you are using SideInputs to join data. You have noticed that the pipeline takes longer than expected to finish; what should you do to speed up the Dataflow job?

ASwitch to compressed Avro files.
BReduce the batch size.
CRetry records that throw an error.
DUse CoGroupByKey instead of the SideInput.
Question #65Part 2Preparing and using data for analysis

You need to examine BigQuery data from a particular table several times per day. The underlying table being queried is several petabytes in size, but you need to filter the data and provide straightforward aggregations to downstream users. You want queries to run faster and to obtain up-to-date insights sooner. What should you do?

ARun a scheduled query to pull the necessary data at specific intervals dally.
BUse a cached query to accelerate time to results.
CLimit the query columns being pulled in the final result.
DCreate a materialized view based off of the query being run.
Question #66Part 2Ingesting and processing the data

An Oracle database is deployed on a VM within a Virtual Private Cloud (VPC) network. You need to replicate and continuously synchronize 50 tables to BigQuery while minimizing infrastructure-management effort. What should you do?

ADeploy Apache Kafka in the same VPC network, use Kafka Connect Oracle Change Data Capture (CDC), and Dataflow to stream the Kafka topic to BigQuery.
BCreate a Pub/Sub subscription to write to BigQuery directly. Deploy the Debezium Oracle connector to capture changes in the Oracle database, and sink to the Pub/Sub topic.
CDeploy Apache Kafka in the same VPC network, use Kafka Connect Oracle change data capture (CDC), and the Kafka Connect Google BigQuery Sink Connector.
DCreate a Datastream service from Oracle to BigQuery, use a private connectivity configuration to the same VPC network, and a connection profile to BigQuery.
Question #67Part 2Preparing and using data for analysis

Your company plans to implement a Retrieval-Augmented Generation (RAG) system that lets employees query a large knowledge base of internal documents, such as policy manuals and project reports. You need to prepare this unstructured text for embedding in the RAG system. What should you do to ensure that the system retrieves the most relevant information?

AUse Cloud Data Loss Prevention (Cloud DLP) to scan and redact sensitive information within the documents before processing.
BStore the documents as compressed files in a traditional relational database to enable more efficient storage and retrieval.
CConvert the unstructured documents into high-dimensional numerical vectors that capture the semantic meaning and relationships of the text.
DIndex each word from the documents into a search engine to enable keyword-based search.
Question #68Part 2Storing the data

You work for a large ecommerce company and store customer order data in Bigtable. A garbage collection policy deletes data after 30 days, and the number of versions is set to 1. When data analysts run a query to report total customer spending, they sometimes see customer data older than 30 days. You need to ensure the analysts do not see customer data older than 30 days while minimizing cost and overhead. What should you do?

ASet the expiring values of the column families to 29 days and keep the number of versions to 1.
BUse a timestamp range filter in the query to fetch the customer's data for a specific range.
CSchedule a job daily to scan the data in the table and delete data older than 30 days.
DSet the expiring values of the column families to 30 days and set the number of versions to 2.
Question #69Part 2Ingesting and processing the data

Your company is carrying out data preprocessing for a learning algorithm in Google Cloud Dataflow. Numerous data logs are generated during this step, and the team wants to analyze them. Because the campaign is dynamic, the data grows exponentially each hour. The data scientists wrote the following code to read data for new key features in the logs. ![Question Image](https://cdn.examcademy.com/images/questions/1783810093390-0a21gdsq.png) You want to improve the performance of this data read. What should you do?

ASpecify the TableReference object in the code.
BUse .fromQuery operation to read specific fields from the table.
CUse of both the Google BigQuery TableSchema and TableFieldSchema classes.
DCall a transform that returns TableRow objects, where each element in the PCollection represents a single row in the table.
Question #70Part 2Storing the data

You run a database that stores stock trades and an application that retrieves the average stock price for a specified company over an adjustable time window. The data is stored in Cloud Bigtable, with the stock-trade datetime at the start of the row key. Your application has thousands of concurrent users, and you observe performance beginning to degrade as additional stocks are added. What should you do to improve your application's performance?

AChange the row key syntax in your Cloud Bigtable table to begin with the stock symbol.
BChange the row key syntax in your Cloud Bigtable table to begin with a random number per second.
CChange the data pipeline to use BigQuery for storing stock trades, and update your application.
DUse Cloud Dataflow to write a summary of each day's stock trades to an Avro file on Cloud Storage. Update your application to read from Cloud Storage and Cloud Bigtable to compute the responses.
Question #71Part 2Designing data processing systems

You have two projects that run BigQuery jobs: - One project runs production jobs with strict completion-time SLAs. These high-priority jobs must have the required compute resources available when needed. They generally never fall below 300-slot utilization, but occasionally spike by an additional 500 slots. - The other project is for users to run ad-hoc analytical queries. This project generally never uses more than 200 slots at a time. You want these ad-hoc queries billed according to the amount of data users scan, rather than slot capacity. You need to make sure that both projects have the appropriate compute resources available. What should you do?

ACreate a single Enterprise Edition reservation for both projects. Set a baseline of 300 slots. Enable autoscaling up to 700 slots.
BCreate two reservations, one for each of the projects. For the SLA project, use an Enterprise Edition with a baseline of 300 slots and enable autoscaling up to 500 slots. For the ad-hoc project, configure on-demand billing.
CCreate two Enterprise Edition reservations, one for each of the projects. For the SLA project, set a baseline of 300 slots and enable autoscaling up to 500 slots. For the ad-hoc project, set a reservation baseline of 0 slots and set the ignore idle slots flag to False.
DCreate two Enterprise Edition reservations, one for each of the projects. For the SLA project, set a baseline of 800 slots. For the ad-hoc project, enable autoscaling up to 200 slots.
Question #72Part 2Preparing and using data for analysisSelect 3

Business owners at your company have provided a database of bank transactions. Each row includes the user ID, transaction type, transaction location, and transaction amount. They ask you to investigate which types of machine learning can be applied to the data. Which three machine-learning applications can you use? (Choose three.)

ASupervised learning to determine which transactions are most likely to be fraudulent.
BUnsupervised learning to determine which transactions are most likely to be fraudulent.
CClustering to divide the transactions into N categories based on feature similarity.
DSupervised learning to predict the location of a transaction.
EReinforcement learning to predict the location of a transaction.
Question #73Part 2Designing data processing systems

You need to process payment transactions in a point-of-sale application that will run on Google Cloud Platform. Your user base might grow exponentially, but you do not want to manage infrastructure scaling. Which Google database service should you use?

ACloud SQL
BBigQuery
CCloud Bigtable
DCloud Datastore
Question #74Part 2Preparing and using data for analysis

You are designing a data lake on Google Cloud to store very large volumes of customer-interaction data from multiple sources, including websites, mobile apps, and social media. You must ensure that this data, which arrives in varied formats, is consistently cataloged and readily discoverable and usable by data analysts. You also want to run basic data-quality checks and transformations before downstream applications consume the data. You require an automated, managed data-governance solution. What should you do?

AUse Cloud Storage as the central repository. Use Vertex AI to classify and process the data and perform data quality checks.
BStream all the data directly into BigQuery, where it is automatically cataloged and governed.
CUse Cloud Storage and BigQuery as repositories. Use Dataplex Universal Catalog for metadata discovery, data quality checks, and transformations.
DUse Cloud Storage as the central repository. Use a Cloud Run function to catalog, transform the data, and perform data quality checks.
Question #75Part 2Storing the data

You have **100 GB** of data in a BigQuery table. The data is outdated and will be accessed only once or twice per year for SQL-based analytics. For backup purposes, you need to retain this data immutably for **3 years** while minimizing storage costs. What should you do?

A1. Create a BigQuery table clone.2. Query the clone when you need to perform analytics.
B1. Create a BigQuery table snapshot.2. Restore the snapshot when you need to perform analytics.
C1. Perform a BigQuery export to a Cloud Storage bucket with archive storage class.2. Enable versioning on the bucket.3. Create a BigQuery external table on the exported files.
D1. Perform a BigQuery export to a Cloud Storage bucket with archive storage class.2. Set a locked retention policy on the bucket.3. Create a BigQuery external table on the exported files.
Question #76Part 2Storing the data

Your company is running its first dynamic campaign during the holiday season, delivering different offers by analyzing real-time data. The data scientists are gathering terabytes of data that grows rapidly every hour throughout their 30-day campaign. They use Google Cloud Dataflow to preprocess the data and store the feature (signals) data required by the machine learning model in Google Cloud Bigtable. The team observes suboptimal read and write performance for their initial 10 TB data load. They want to improve this performance while minimizing cost. What should they do?

ARedefine the schema by evenly distributing reads and writes across the row space of the table.
BThe performance issue should be resolved over time as the site of the BigDate cluster is increased.
CRedesign the schema to use a single row key to identify values that need to be updated frequently in the cluster.
DRedesign the schema to use row keys based on numeric IDs that increase sequentially per user viewing the offers.
Question #77Part 2Preparing and using data for analysis

Your company has data assets distributed across multiple Cloud Storage buckets and BigQuery datasets that contain raw and processed data. The requirement is to create a unified data-governance framework that supports centralized metadata discovery, data-quality monitoring, and consistent security-policy application across these different data stores without physically moving or duplicating the data. You need to implement a solution that provides this federated governance. What should you do?

A1. Export metadata out of Dataplex Universal Catalog by running a metadata export job.2. Implement Dataproc Metastore to manage table schemas and Apache Hive metastore for metadata discovery.3. Manage security using a combination of BigQuery row-level security and Cloud Storage policies.
B1. Use Dataplex to organize the BigQuery datasets and Cloud Storage buckets into lakes and zones.2. Use Dataplex for automated metadata discovery, centralized security policy management, data profiling, and data quality tasks.
C1. Deploy a centralized Cloud SQL database to store metadata extracted from BigQuery and Cloud Storage using custom scripts.2. Integrate the database with Looker Studio for data discovery and visualization.3. Implement a custom policy engine using Cloud Run functions triggered by changes in IAM policies to enforce consistent security across projects.
D1. Create a Looker Studio dashboard on BigQuery INFORMATION_SCHEMA views to visualize and monitor data quality.2. Manage security using IAM policies at the project level, supplemented by BigQuery authorized views for granular access control.
Question #78Part 2Ingesting and processing the data

Your infrastructure team has established an interconnect link between Google Cloud and the on-premises network. You are designing a high-throughput streaming pipeline to ingest streaming data from an Apache Kafka cluster hosted on-premises. You want to store the data in BigQuery with the lowest possible latency. What should you do?

ASetup a Kafka Connect bridge between Kafka and Pub/Sub. Use a Google-provided Dataflow template to read the data from Pub/Sub, and write the data to BigQuery.
BUse a proxy host in the VPC in Google Cloud connecting to Kafka. Write a Dataflow pipeline, read data from the proxy host, and write the data to BigQuery.
CUse Dataflow, write a pipeline that reads the data from Kafka, and writes the data to BigQuery.
DSetup a Kafka Connect bridge between Kafka and Pub/Sub. Write a Dataflow pipeline, read the data from Pub/Sub, and write the data to BigQuery.
Question #79Part 2Storing the data

You work for an airline and must store weather data in a BigQuery table. The weather data will serve as input to a machine learning model. The model uses only the most recent 30 days of weather data. You want to avoid retaining unneeded data and minimize costs. What should you do?

ACreate a BigQuery table where each record has an ingestion timestamp. Run a scheduled query to delete all the rows with an ingestion timestamp older than 30 days.
BCreate a BigQuery table partitioned by datetime value of the weather date. Set up partition expiration to 30 days.
CCreate a BigQuery table partitioned by ingestion time. Set up partition expiration to 30 days.
DCreate a BigQuery table with a datetime column for the day the weather data refers to. Run a scheduled query to delete rows with a datetime value older than 30 days.
Question #80Part 2Ingesting and processing the data

You are creating a report-only data warehouse in which data is streamed into BigQuery through the streaming API. In accordance with Google's best practices, you maintain both a staging table and a production table for the data. How should you design data loading so that there is only one master dataset, without impacting the performance of either ingestion or reporting?

AHave a staging table that is an append-only model, and then update the production table every three hours with the changes written to staging.
BHave a staging table that is an append-only model, and then update the production table every ninety minutes with the changes written to staging.
CHave a staging table that moves the staged data over to the production table and deletes the contents of the staging table every three hours.
DHave a staging table that moves the staged data over to the production table and deletes the contents of the staging table every thirty minutes.
Question #81Part 2Ingesting and processing the data

You use a Dataflow streaming job to read messages from a message bus that does not support exactly-once delivery. The job applies transformations and loads the output into BigQuery. You want to ensure the data is streamed into BigQuery with exactly-once delivery semantics. You expect BigQuery ingestion throughput of approximately 1.5 GB per second. What should you do?

AUse the BigQuery Storage Write API and ensure that your target BigQuery table is regional.
BUse the BigQuery Storage Write API and ensure that your target BigQuery table is multiregional.
CUse the BigQuery Streaming API and ensure that your target BigQuery table is regional.
DUse the BigQuery Streaming API and ensure that your target BigQuery table is multiregional.
Question #82Part 2Designing data processing systems

You are designing a real-time system for a ride-hailing app that identifies areas with high ride demand, so available drivers can be rerouted effectively to meet that demand. The system ingests data from multiple sources into Pub/Sub, processes the data, and stores the results for visualization and analysis in real-time dashboards. The data sources include driver-location updates every 5 seconds and app-based booking events from riders. Data processing requires real-time aggregation of supply and demand data for the previous 30 seconds, every 2 seconds, with results stored in a low-latency system for visualization. What should you do?

AGroup the data by using a tumbling window in a Dataflow pipeline, and write the aggregated data to Memorystore.
BGroup the data by using a hopping window in a Dataflow pipeline, and write the aggregated data to Memorystore.
CGroup the data by using a session window in a Dataflow pipeline, and write the aggregated data to BigQuery.
DGroup the data by using a hopping window in a Dataflow pipeline, and write the aggregated data to BigQuery.
Question #83Part 2Maintaining and automating data workloads

A financial services company has a critical daily reconciliation process with several distinct steps: retrieving data from an external SFTP server, decrypting the files, loading them into Cloud Storage, and finally executing a series of BigQuery SQL transformations. Each step has strict dependencies, and the entire process must notify you if it is not complete by 7:00 AM. Manual intervention for failures is expensive and delays compliance reporting. You need a highly observable, robust solution that allows individual steps to be easily re-run when errors occur. What should you do?

ADevelop a Cloud Composer DAG that includes a single PythonOperator to execute a Python script that runs each step sequentially, incorporating error handling and retries. Upload the scripts to a Cloud Composer environments DAGs folder, and configure it to run daily.
BImplement a Cloud Composer DAG, with each step defined as a separate task using appropriate Airflow operators, and schedule the DAG for daily execution.
CDefine a Cloud Composer DAG to orchestrate the SFTP fetch and decryption steps, and then use Cloud Scheduler to trigger a separate Dataflow job that handles the Cloud Storage load and BigQuery transformations and schedule to run daily.
DCreate a Cloud Composer DAG that includes a single BashOperator to execute a top-level shell script, which in turn calls individual scripts for each pipeline step. Upload the scripts to a Cloud Composer environment’s DAGs folder, and configure it to run daily.
Question #84Part 2Maintaining and automating data workloads

You are deploying an Apache Airflow directed acyclic graph (DAG) in a Cloud Composer 2 instance. Incoming files in a Cloud Storage bucket are processed by the DAG, one file at a time. The Cloud Composer instance is deployed in a subnetwork without Internet access. Rather than running the DAG on a schedule, you want it to run reactively whenever a new file arrives. What should you do?

A1. Enable Private Google Access in the subnetwork, and set up Cloud Storage notifications to a Pub/Sub topic.2. Create a push subscription that points to the web server URL.
B1. Enable the Cloud Composer API, and set up Cloud Storage notifications to trigger a Cloud Function.2. Write a Cloud Function instance to call the DAG by using the Cloud Composer API and the web server URL.3. Use VPC Serverless Access to reach the web server URL.
C1. Enable the Airflow REST API, and set up Cloud Storage notifications to trigger a Cloud Function instance.2. Create a Private Service Connect (PSC) endpoint.3. Write a Cloud Function that connects to the Cloud Composer cluster through the PSC endpoint.
D1. Enable the Airflow REST API, and set up Cloud Storage notifications to trigger a Cloud Function instance.2. Write a Cloud Function instance to call the DAG by using the Airflow REST API and the web server URL.3. Use VPC Serverless Access to reach the web server URL.
Question #85Part 2Storing the data

You need to store your team’s shared tables in one dataset so the data is readily available to multiple analysts. The data must be readable by analysts but not modifiable by them. At the same time, you need to give analysts individual workspaces in the same project where they can create and store tables for their own use, without those tables being accessible to other analysts. What should you do?

AGive analysts the BigQuery Data Viewer role at the project level. Create one other dataset, and give the analysts the BigQuery Data Editor role on that dataset.
BGive analysts the BigQuery Data Viewer role at the project level. Create a dataset for each analyst, and give each analyst the BigQuery Data Editor role at the project level.
CGive analysts the BigQuery Data Viewer role on the shared dataset. Create a dataset for each analyst, and give each analyst the BigQuery Data Editor role at the dataset level for their assigned dataset.
DGive analysts the BigQuery Data Viewer role on the shared dataset. Create one other dataset and give the analysts the BigQuery Data Editor role on that dataset.
Question #86Part 2Ingesting and processing the data

You are using Dataflow to create a streaming data pipeline that analyzes user website click activity from Pub/Sub. You need to calculate the number of clicks for each user site visit. A site visit is defined as a period of activity followed by 30 minutes of inactivity for a particular user. What should you do?

AUse tumbling windows with a 30-minute window.
BUse hopping windows with a 30-minute window, and a 1-minute period.
CUse hopping windows with a 30-minute window, and a 30-minute period.
DUse session windows with a 30-minute gap duration.
Question #87Part 2Storing the data

You must migrate a 2 TB relational database to Google Cloud Platform. You lack the resources to substantially refactor the application that uses this database, and operating cost is the primary concern. Which service should you choose to store and serve the data?

ACloud Spanner
BCloud Bigtable
CCloud Firestore
DCloud SQL
Question #88Part 2Ingesting and processing the data

You are a retailer that wants to integrate its online sales capabilities with various in-home assistants, such as Google Home. You need to interpret customer voice commands and submit an order to backend systems. Which solution should you choose?

ASpeech-to-Text API
BCloud Natural Language API
CDialogflow Enterprise Edition
DAutoML Natural Language
Question #89Part 2Designing data processing systems

You are moving your on-premises data warehouse to BigQuery. As part of this migration, you want to enable cross-team collaboration so the organization gets maximum value from its data. You need to design an architecture that lets teams in the organization securely publish, discover, and subscribe to read-only data through self-service. You must minimize costs while maximizing data freshness. What should you do?

AUse Analytics Hub to facilitate data sharing.
BCreate authorized datasets to publish shared data in the subscribing team's project.
CCreate a new dataset for sharing in each individual team’s project. Grant the subscribing team the bigquery.dataViewer role on the dataset.
DUse BigQuery Data Transfer Service to copy datasets to a centralized BigQuery project for sharing.
Question #90Part 2Maintaining and automating data workloads

MJTelco's Google Cloud Dataflow pipeline is now prepared to begin receiving data from the 50,000 installations. You want Cloud Dataflow to scale its compute power up as needed. Which Cloud Dataflow pipeline configuration setting should you update?

AThe zone
BThe number of workers
CThe disk size per worker
DThe maximum number of workers
Question #91Part 2Ingesting and processing the data

You are integrating a legacy, on-premises MySQL database with a new Google Cloud data warehouse. The database holds historical customer loyalty data that must be extracted each day and loaded into BigQuery. You want a secure, managed integration solution that supports incremental loads. What should you do?

AImplement a data pipeline using Pub/Sub for streaming the data changes from MySQL.
BConfigure a scheduled transfer in BigQuery Data Transfer Service to ingest data from the MySQL database with a scheduled transfer configuration.
CLeverage Database Migration Service for continuous replication of the entire database to Cloud SQL.
DUse Cloud SQL federated queries to directly query the on-premises MySQL database from BigQuery.
Question #92Part 2Ingesting and processing the data

A live TV program lets viewers vote with their mobile phones. The event produces a high volume of data over a 3-minute window. You are responsible for the **Voting infrastructure** and must make sure the platform handles the load and every vote is processed. Partial results must be shown while voting remains open. Once voting is closed, the votes must be counted exactly once while optimizing cost. What should you do? ![Question Image](https://cdn.examcademy.com/images/questions/1783859953708-zy08s6zj.png)

ACreate a Memorystore instance with a high availability (HA) configuration.
BCreate a Cloud SQL for PostgreSQL database with high availability (HA) configuration and multiple read replicas.
CWrite votes to a Pub/Sub topic and have Cloud Functions subscribe to it and write votes to BigQuery.
DWrite votes to a Pub/Sub topic and load into both Bigtable and BigQuery via a Dataflow pipeline. Query Bigtable for real-time results and BigQuery for later analysis. Shut down the Bigtable instance when voting concludes.
Question #93Part 2Ingesting and processing the data

Your platform in an on-premises environment produces **100 GB** of data each day, consisting of millions of structured JSON text files. The on-premises environment is not accessible from the public internet. You want to use Google Cloud products to query and explore the platform data. What should you do?

AUse Cloud Scheduler to copy data daily from your on-premises environment to Cloud Storage. Use the BigQuery Data Transfer Service to import data into BigQuery.
BUse a Transfer Appliance to copy data from your on-premises environment to Cloud Storage. Use the BigQuery Data Transfer Service to import data into BigQuery.
CUse Transfer Service for on-premises data to copy data from your on-premises environment to Cloud Storage. Use the BigQuery Data Transfer Service to import data into BigQuery.
DUse the BigQuery Data Transfer Service dataset copy to transfer all data into BigQuery.
Question #94Part 2Ingesting and processing the data

You are deploying a batch pipeline in Dataflow. The pipeline reads data from Cloud Storage, transforms it, and then writes it to BigQuery. The security team has enabled an organizational constraint in Google Cloud that requires every Compute Engine instance to use only internal IP addresses and no external IP addresses. What should you do?

AEnsure that your workers have network tags to access Cloud Storage and BigQuery. Use Dataflow with only internal IP addresses.
BEnsure that the firewall rules allow access to Cloud Storage and BigQuery. Use Dataflow with only internal IPs.
CCreate a VPC Service Controls perimeter that contains the VPC network and add Dataflow, Cloud Storage, and BigQuery as allowed services in the perimeter. Use Dataflow with only internal IP addresses.
DEnsure that Private Google Access is enabled in the subnetwork. Use Dataflow with only internal IP addresses.
Question #95Part 2Ingesting and processing the data

You submit a new batch job to Dataflow. The job starts successfully, processes several elements, and then unexpectedly fails and shuts down. You open the Dataflow monitoring interface and see errors related to a specificDoFnin the pipeline. What is the most likely cause of these errors?

AJob validation
BExceptions in worker code
CGraph or pipeline construction
DInsufficient permissions
Question #96Part 2Storing the data

You are designing the database schema for a machine learning-based food-ordering service that will predict what users want to eat. You need to store the following information: - The user profile: what the user likes and does not like to eat - The user account information: name, address, preferred meal times - The order information: when orders are made, from where, and to whom The database will store all transactional data for the product. You want to optimize the data schema. Which Google Cloud Platform product should you use?

ABigQuery
BCloud SQL
CCloud Bigtable
DCloud Datastore
Question #97Part 2Maintaining and automating data workloads

You work for a manufacturing plant that combines application log files into one log file each day at 2:00 AM. You have written a Google Cloud Dataflow job to process this log file. You need to ensure that the log file is processed once daily as inexpensively as possible. What should you do?

AChange the processing job to use Google Cloud Dataproc instead.
BManually start the Cloud Dataflow job each morning when you get into the office.
CCreate a cron job with Google App Engine Cron Service to run the Cloud Dataflow job.
DConfigure the Cloud Dataflow job as a streaming job so that it processes the log data immediately.
Question #98Part 2Designing data processing systems

Your large e-commerce company relies on BigQuery for its data warehousing requirements. It has two main workload types: - **Analyst dashboards:** Interactive queries that business analysts run throughout the day and that require low latency for real-time insights. - **ETL jobs:** Large, complex batch queries that load and transform data overnight. These jobs are cost-sensitive, can tolerate longer execution times, and do not have the same performance requirements as the dashboards. Analysts report inconsistent dashboard performance, especially during peak business hours. You must ensure dependable performance for both workload types while optimizing costs. What should you do?

AUse BigQuery editions to create an autoscaling reservation with dedicated slots for analyst dashboards, while running ETL jobs with a separate reservation or using the on-demand billing model.
BImplement a custom autoscaling solution using Cloud Run functions to dynamically adjust available BigQuery slots based on time of day.
CMigrate all ETL jobs to Cloud SQL to reduce BigQuery’s workload.
DRun all analyst dashboard queries as interactive queries and configure ETL jobs to run as batch queries.
Question #99Part 2Storing the data

You configured a streaming data insertion into a Redis cluster through a Kafka cluster. Both clusters run on Compute Engine instances. You must encrypt data at rest using encryption keys that you can create, rotate, and destroy as needed. What should you do?

ACreate a dedicated service account, and use encryption at rest to reference your data stored in your Compute Engine cluster instances as part of your API service calls.
BCreate encryption keys in Cloud Key Management Service. Use those keys to encrypt your data in all of the Compute Engine cluster instances.
CCreate encryption keys locally. Upload your encryption keys to Cloud Key Management Service. Use those keys to encrypt your data in all of the Compute Engine cluster instances.
DCreate encryption keys in Cloud Key Management Service. Reference those keys in your API service calls when accessing the data in your Compute Engine cluster instances.
Question #100Part 2Ingesting and processing the data

You are a BigQuery administrator supporting data consumers who run ad hoc queries and downstream reports in tools such as Looker. All data and users are consolidated under one organizational project. You recently observed slower query results and want to troubleshoot where the delays are occurring. You suspect that job queuing or slot contention might be happening as users run jobs, slowing access to results. You need to investigate query-job information and identify where performance is being impacted. What should you do?

AUse slot reservations for your project to ensure that you have enough query processing capacity and are able to allocate available slots to the slower queries.
BUse Cloud Monitoring to view BigQuery metrics and set up alerts that let you know when a certain percentage of slots were used.
CUse available administrative resource charts to determine how slots are being used and how jobs are performing over time. Run a query on the INFORMATION_SCHEMA to review query performance.
DUse Cloud Logging to determine if any users or downstream consumers are changing or deleting access grants on tagged resources.
Question #101Part 2Designing data processing systems

You are choosing services to write and transform JSON messages from Cloud Pub/Sub to BigQuery for a Google Cloud data pipeline. You want to minimize service costs while monitoring and accommodating input-data volume that varies in size with minimal manual intervention. What should you do?

AUse Cloud Dataproc to run your transformations. Monitor CPU utilization for the cluster. Resize the number of worker nodes in your cluster via the command line.
BUse Cloud Dataproc to run your transformations. Use the diagnose command to generate an operational output archive. Locate the bottleneck and adjust cluster resources.
CUse Cloud Dataflow to run your transformations. Monitor the job system lag with Stackdriver. Use the default autoscaling setting for worker instances.
DUse Cloud Dataflow to run your transformations. Monitor the total execution time for a sampling of jobs. Configure the job to use non-default Compute Engine machine types when needed.
Question #102Part 2Ingesting and processing the data

An external customer sends you a daily database data dump. The data lands in Google Cloud Storage (GCS) as comma-separated values (CSV) files. You want to analyze the data in Google BigQuery, but some rows might be incorrectly formatted or corrupted. How should you build this pipeline?

AUse federated data sources, and check data in the SQL query.
BEnable BigQuery monitoring in Google Stackdriver and create an alert.
CImport the data into BigQuery using the gcloud CLI and set max_bad_records to 0.
DRun a Google Cloud Dataflow batch pipeline to import the data into BigQuery, and push errors to another dead-letter table for analysis.
Question #103Part 2Ingesting and processing the data

You currently operate a single on-premises Kafka cluster in a data center in the us-east region that ingests messages from IoT devices worldwide. Because large parts of the globe have unreliable internet connectivity, messages can accumulate at the edge, arrive simultaneously, and create a load spike on your Kafka cluster. This is becoming hard to manage and prohibitively costly. What is the Google-recommended cloud-native architecture for this scenario?

AEdge TPUs as sensor devices for storing and transmitting the messages.
BCloud Dataflow connected to the Kafka cluster to scale the processing of incoming messages.
CAn IoT gateway connected to Cloud Pub/Sub, with Cloud Dataflow to read and process the messages from Cloud Pub/Sub.
DA Kafka cluster virtualized on Compute Engine in us-east with Cloud Load Balancing to connect to the devices around the world.
Question #104Part 2Ingesting and processing the data

You must insert minute-resolution data from 50,000 sensors into a BigQuery table. You anticipate substantial growth in data volume and require the data to be available within 1 minute of ingestion for real-time analysis of aggregated trends. What should you do?

AUse bq load to load a batch of sensor data every 60 seconds.
BUse a Cloud Dataflow pipeline to stream data into the BigQuery table.
CUse the INSERT statement to insert a batch of data every 60 seconds.
DUse the MERGE statement to apply updates in batch every 60 seconds.
Question #105Part 2Storing the data

You use Bigtable to store and serve stock-market data for each major index. To support the trading application, you must retrieve only the latest streaming stock prices. How should you design the row key and tables so the data can be accessed with the simplest query?

ACreate one unique table for all of the indices, and then use the index and timestamp as the row key design.
BCreate one unique table for all of the indices, and then use a reverse timestamp as the row key design.
CFor each index, have a separate table and use a timestamp as the row key design.
DFor each index, have a separate table and use a reverse timestamp as the row key design.
Question #106Part 2Maintaining and automating data workloads

An encryption key stored in Cloud Key Management Service (Cloud KMS) has been exposed. You must re-encrypt all CMEK-protected Cloud Storage data that used this key, and then delete the compromised key. You also want to lower the risk that objects are written without customer-managed encryption key (CMEK) protection in the future. What should you do?

ARotate the Cloud KMS key version. Continue to use the same Cloud Storage bucket.
BCreate a new Cloud KMS key. Set the default CMEK key on the existing Cloud Storage bucket to the new one.
CCreate a new Cloud KMS key. Create a new Cloud Storage bucket. Copy all objects from the old bucket to the new one bucket while specifying the new Cloud KMS key in the copy command.
DCreate a new Cloud KMS key. Create a new Cloud Storage bucket configured to use the new key as the default CMEK key. Copy all objects from the old bucket to the new bucket without specifying a key.
Question #107Part 2Preparing and using data for analysis

You have designed a BigQuery data warehouse for analyzing sales data. You need a self-service, low-maintenance, cost-effective way to share the sales dataset with other business units in your organization. What should you do?

ACreate an Analytics Hub private exchange, and publish the sales dataset.
BEnable the other business units’ projects to access the authorized views of the sales dataset.
CCreate and share views with the users in the other business units.
DUse the BigQuery Data Transfer Service to create a schedule that copies the sales dataset to the other business units’ projects.
Question #108Part 2Ingesting and processing the data

An aerospace company stores its flight data in a proprietary data format. You need to connect this new data source to BigQuery and stream the data into BigQuery. You want to import the data into BigQuery efficiently while using as few resources as possible. What should you do?

AWrite a shell script that triggers a Cloud Function that performs periodic ETL batch jobs on the new data source.
BUse a standard Dataflow pipeline to store the raw data in BigQuery, and then transform the format later when the data is used.
CUse Apache Hive to write a Dataproc job that streams the data into BigQuery in CSV format.
DUse an Apache Beam custom connector to write a Dataflow pipeline that streams the data into BigQuery in Avro format.
Question #109Part 2Storing the data

You are moving your data warehouse to BigQuery. All data has been migrated into tables within a dataset. Multiple users in your organization will use this data, but they must be able to view only particular tables according to their team membership. How should user permissions be configured?

AAssign the users/groups data viewer access at the table level for each table
BCreate SQL views for each team in the same dataset in which the data resides, and assign the users/groups data viewer access to the SQL views
CCreate authorized views for each team in the same dataset in which the data resides, and assign the users/groups data viewer access to the authorized views
DCreate authorized views for each team in datasets created for each team. Assign the authorized views data viewer access to the dataset in which the data resides. Assign the users/groups data viewer access to the datasets in which the authorized views reside
Question #110Part 2Designing data processing systemsSelect 3

You are selecting a NoSQL database to process telemetry data submitted by millions of Internet-of-Things (IoT) devices. Data volume is increasing by 100 TB per year, and every data entry contains about 100 attributes. The data-processing pipeline does not need atomicity, consistency, isolation, and durability (ACID). High availability and low latency are required. You need to analyze the data by querying individual fields. Which three databases satisfy these requirements? (Choose three.)

ARedis
BHBase
CMySQL
DMongoDB
ECassandra
Question #111Part 2Ingesting and processing the data

You need to build a machine learning model with BigQuery ML and create a Vertex AI endpoint to host the model. This must support near-real-time processing of continuous streaming data from multiple vendors. The data can include invalid values. What should you do?

ACreate a new BigQuery dataset and use streaming inserts to land the data from multiple vendors. Configure your BigQuery ML model to use the "ingestion" dataset as the framing data.
BUse BigQuery streaming inserts to land the data from multiple vendors where your BigQuery dataset ML model is deployed.
CCreate a Pub/Sub topic and send all vendor data to it. Connect a Cloud Function to the topic to process the data and store it in BigQuery.
DCreate a Pub/Sub topic and send all vendor data to it. Use Dataflow to process and sanitize the Pub/Sub data and stream it to BigQuery.
Question #112Part 2Ingesting and processing the data

You plan to migrate an existing Teradata data warehouse to BigQuery. You need to move the historical data to BigQuery by using the most efficient method requiring the least programming, but local storage on the existing data warehouse is limited. What should you do?

AUse BigQuery Data Transfer Service by using the Java Database Connectivity (JDBC) driver with FastExport connection.
BCreate a Teradata Parallel Transporter (TPT) export script to export the historical data, and import to BigQuery by using the bq command-line tool.
CUse BigQuery Data Transfer Service with the Teradata Parallel Transporter (TPT) tbuild utility.
DCreate a script to export the historical data, and upload in batches to Cloud Storage. Set up a BigQuery Data Transfer Service instance from Cloud Storage to BigQuery.
Question #113Part 2Designing data processing systems

You stream order data using a Dataflow pipeline and write the aggregated output to Memorystore. You provisioned a Memorystore for Redis instance with Basic Tier and 4 GB capacity, which 40 clients use for read-only access. You expect the number of read-only clients to rise significantly to a few hundred and need to support that demand. You want to ensure read and write availability is unaffected and that any changes can be deployed quickly. What should you do?

ACreate a new Memorystore for Redis instance with Standard Tier. Set capacity to 4 GB and read replica to No read replicas (high availability only). Delete the old instance.
BCreate a new Memorystore for Redis instance with Standard Tier. Set capacity to 5 GB and create multiple read replicas. Delete the old instance.
CCreate a new Memorystore for Memcached instance. Set a minimum of three nodes, and memory per node to 4 GB. Modify the Dataflow pipeline and all clients to use the Memcached instance. Delete the old instance.
DCreate multiple new Memorystore for Redis instances with Basic Tier (4 GB capacity). Modify the Dataflow pipeline and new clients to use all instances.
Question #114Part 2Maintaining and automating data workloads

You migrated a Hadoop job from an on-premises cluster to Dataproc and GCS. Your Spark job is a complex analytical workload with many shuffle operations, and the initial data consists of Parquet files averaging 200–400 MB each. After migrating to Dataproc, you observe some performance degradation and want to optimize it. Your organization is highly cost-sensitive, so you want to keep using Dataproc on preemptible VMs, with only 2 non-preemptible workers for this workload. What should you do?

AIncrease the size of your parquet files to ensure them to be 1 GB minimum.
BSwitch to TFRecords formats (appr. 200MB per file) instead of parquet files.
CSwitch from HDDs to SSDs, copy initial data from GCS to HDFS, run the Spark job and copy results back to GCS.
DSwitch from HDDs to SSDs, override the preemptible VMs configuration to increase the boot disk size.
Question #115Part 2Storing the data

You are designing storage for 20 TB of text files while deploying a data pipeline on Google Cloud. Your input data is in CSV format. You want to minimize the cost of querying aggregate values for multiple users who will query the data in Cloud Storage with multiple engines. Which storage service and schema design should you use?

AUse Cloud Bigtable for storage. Install the HBase shell on a Compute Engine instance to query the Cloud Bigtable data.
BUse Cloud Bigtable for storage. Link as permanent tables in BigQuery for query.
CUse Cloud Storage for storage. Link as permanent tables in BigQuery for query.
DUse Cloud Storage for storage. Link as temporary tables in BigQuery for query.
Question #116Part 2Maintaining and automating data workloads

You run your BigQuery project using the on-demand billing model and execute a change data capture (CDC) process that ingests data. The CDC process loads 1 GB of data every 10 minutes into a temporary table, then performs a merge into a 10 TB target table. This process is highly scan-intensive, and you want to investigate options that provide a predictable cost model. You need to create a BigQuery reservation using utilization information collected from BigQuery Monitoring and apply the reservation to the CDC process. What should you do?

ACreate a BigQuery reservation for the dataset.
BCreate a BigQuery reservation for the job.
CCreate a BigQuery reservation for the service account running the job.
DCreate a BigQuery reservation for the project.
Question #117Part 2Designing data processing systems

A TensorFlow machine learning model running on Compute Engine virtual machines (n2-standard-32) takes two days to finish training. The model uses custom TensorFlow operations that must execute partially on a CPU. You want to reduce the training time cost-effectively. What should you do?

AChange the VM type to n2-highmem-32.
BChange the VM type to e2-standard-32.
CTrain the model using a VM with a GPU hardware accelerator.
DTrain the model using a VM with a TPU hardware accelerator.
Question #118Part 2Maintaining and automating data workloads

You need to schedule multiple sequential loading and transformation jobs. An upstream process will add data files to a Cloud Storage bucket, but there is no set schedule for when new data arrives. Next, a Dataproc job is triggered to perform transformations and write the data to BigQuery. You must then run additional transformation jobs in BigQuery. The transformation jobs differ for every table. These jobs can take hours to finish. You need to identify the most efficient and maintainable workflow for processing hundreds of tables while delivering the freshest data to end users. What should you do?

A1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Cloud Storage, Dataproc, and BigQuery operators.2. Use a single shared DAG for all tables that need to go through the pipeline.3. Schedule the DAG to run hourly.
B1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Cloud Storage, Dataproc, and BigQuery operators.2. Create a separate DAG for each table that needs to go through the pipeline.3. Schedule the DAGs to run hourly.
C1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Dataproc and BigQuery operators.2. Use a single shared DAG for all tables that need to go through the pipeline.3. Use a Cloud Storage object trigger to launch a Cloud Function that triggers the DAG.
D1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Dataproc and BigQuery operators.2. Create a separate DAG for each table that needs to go through the pipeline.3. Use a Cloud Storage object trigger to launch a Cloud Function that triggers the DAG.
Question #119Part 2Maintaining and automating data workloads

You have a Cloud SQL for PostgreSQL instance in Region’ with one read replica in Region2 and another read replica in Region3. An unexpected event in Region’ requires you to perform disaster recovery by promoting the read replica in Region2. You need to ensure that your application has the same database capacity available before you switch over the connections. What should you do?

AEnable zonal high availability on the primary instance. Create a new read replica in a new region.
BCreate a cascading read replica from the existing read replica in Region3.
CCreate two new read replicas from the new primary instance, one in Region3 and one in a new region.
DCreate a new read replica in Region1, promote the new read replica to be the primary instance, and enable zonal high availability.
Question #120Part 2Preparing and using data for analysis

You are building a model to identify the factors that result in sales conversions for your customers. You have finished processing the data and want to proceed with the model-development lifecycle. What should you do next?

AUse your model to run predictions on fresh customer input data.
BMonitor your model performance, and make any adjustments needed.
CDelineate what data will be used for testing and what will be used for training the model.
DTest and evaluate your model on your curated data to determine how well the model performs.
Question #121Part 3Designing data processing systems

You are designing an architecture that processes data from Cloud Storage to BigQuery by using Dataflow. The network team has supplied the Shared VPC network and subnetwork that your pipelines must use. You need to enable deployment of the pipeline on the Shared VPC network. What should you do?

AAssign the compute.networkUser role to the Dataflow service agent.
BAssign the compute.networkUser role to the service account that executes the Dataflow pipeline.
CAssign the dataflow.admin role to the Dataflow service agent.
DAssign the dataflow.admin role to the service account that executes the Dataflow pipeline.
Question #122Part 3Ingesting and processing the data

You manage a Dataplex environment that contains raw and curated zones. A data engineering team uploads JSON and CSV files to a bucket asset in the curated zone, but Dataplex does not automatically discover the files. What should you do to ensure Dataplex discovers them?

AMove the JSON and CSV files to the raw zone.
BEnable auto-discovery of files for the curated zone.
CUse the bg command-line tool to load the JSON and CSV files into BigQuery tables.
DGrant object level access to the CSV and JSON files in Cloud Storage.
Question #123Part 3Ingesting and processing the data

You are troubleshooting a Dataflow pipeline that moves data from Cloud Storage to BigQuery. You discovered that the Dataflow worker nodes cannot communicate with each other. Your networking team uses Google Cloud network tags to define firewall rules. You need to identify the issue while following Google-recommended networking security practices. What should you do?

ADetermine whether your Dataflow pipeline has a custom network tag set.
BDetermine whether there is a firewall rule set to allow traffic on TCP ports 12345 and 12346 for the Dataflow network tag.
CDetermine whether there is a firewall rule set to allow traffic on TCP ports 12345 and 12346 on the subnet used by Dataflow workers.
DDetermine whether your Dataflow pipeline is deployed with the external IP address option enabled.
Question #124Part 3Preparing and using data for analysis

You have data shown in the graphic below. Its two dimensions are X and Y, and each dot’s shade indicates its class. You want to classify this data accurately with a linear algorithm. To do so, you need to add a synthetic feature. What should that feature’s value be?

AX2+Y2
BX2
CY2
Dcos(X)
Question #125Part 3Designing data processing systems

You have a petabyte of analytics data and must design a storage and processing platform for it. You need to perform data-warehouse-style analytics on the data in Google Cloud and make the dataset available as files for batch analysis tools in other cloud providers. What should you do?

AStore and process the entire dataset in BigQuery.
BStore and process the entire dataset in Bigtable.
CStore the full dataset in BigQuery, and store a compressed copy of the data in a Cloud Storage bucket.
DStore the warm data as files in Cloud Storage, and store the active data in BigQuery. Keep this ratio as 80% warm and 20% active.
Question #126Part 3Preparing and using data for analysis

An organization stores thousands of images in Cloud Storage. Its data analysts must categorize the images by analyzing their contents and save the results in a structured format that can integrate with other BigQuery datasets. You need a solution that lets the analysts complete this task with the least amount of coding. What should you do?

AUse the Gemini 2.5 Pro model in Vertex AI to analyze the images and store the results in BigQuery.
BUse the ML.UNDERSTAND_TEXT function along with object tables to analyze the images, and store the JSON output in a Cloud Storage bucket.
CUse Vertex AI Vision API to analyze the images and store the results in BigQuery.
DUse the ML.GENERATE_TEXT function along with object tables to analyze the images and store the JSON output in a BigQuery table.
Question #127Part 3Storing the data

You are part of the data governance team and are implementing security requirements. You must encrypt all data in BigQuery by using an encryption key managed by your team. You must implement a mechanism that generates and stores encryption material only on your on-premises hardware security module (HSM). You want to use Google-managed solutions. What should you do?

ACreate the encryption key in the on-premises HSM, and import it into a Cloud Key Management Service (Cloud KMS) key. Associate the created Cloud KMS key while creating the BigQuery resources.
BCreate the encryption key in the on-premises HSM and link it to a Cloud External Key Manager (Cloud EKM) key. Associate the created Cloud KMS key while creating the BigQuery resources.
CCreate the encryption key in the on-premises HSM, and import it into Cloud Key Management Service (Cloud HSM) key. Associate the created Cloud HSM key while creating the BigQuery resources.
DCreate the encryption key in the on-premises HSM. Create BigQuery resources and encrypt data while ingesting them into BigQuery.
Question #128Part 3Storing the data

An organization stores highly personal data in BigQuery and must comply with strict data-privacy regulations. Sensitive data values must become unreadable whenever an employee leaves the organization. What should you do?

AUse column-level access controls with policy tags and revoke viewer permissions when employees leave the organization.
BUse dynamic data masking and revoke viewer permissions when employees leave the organization.
CUse customer-managed encryption keys (CMEK) and delete keys when employees leave the organization.
DUse AEAD functions and delete keys when employees leave the organization.
Question #129Part 3Maintaining and automating data workloads

Several Spark jobs run on a Cloud Dataproc cluster according to a schedule. Some jobs execute sequentially, while others execute concurrently. You need to automate this process. What should you do?

ACreate a Cloud Dataproc Workflow Template
BCreate an initialization action to execute the jobs
CCreate a Directed Acyclic Graph in Cloud Composer
DCreate a Bash script that uses the Cloud SDK to create a cluster, execute jobs, and then tear down the cluster
Question #130Part 3Storing the data

You are designing your application's architecture to store data in Cloud Storage. The application includes pipelines that read raw data from one Cloud Storage bucket and write the processed data to a second bucket. You want Cloud Storage resources that remain resilient during a Google Cloud regional failure. You also want to minimize the recovery point objective (RPO) if a failure occurs, with no effect on applications that use the stored data. What should you do?

AAdopt multi-regional Cloud Storage buckets in your architecture.
BAdopt two regional Cloud Storage buckets, and update your application to write the output on both buckets.
CAdopt a dual-region Cloud Storage bucket, and enable turbo replication in your architecture.
DAdopt two regional Cloud Storage buckets, and create a daily task to copy from one bucket to the other.
Question #131Part 3Storing the dataSelect 3

Your company processes data for several different clients. Each client prefers its own set of analytics tools, and some permit direct query access through Google BigQuery. You must secure the data so clients cannot view one another's data, while ensuring suitable access to it. Which three actions should you take? (Choose three.)

ALoad data into different partitions.
BLoad data into a different dataset for each client.
CPut each client's BigQuery dataset into a different table.
DRestrict a client's dataset to approved users.
EOnly allow a service account to access the datasets.
Question #132Part 3Maintaining and automating data workloads

You work for an economic consulting firm that helps companies identify economic trends as they occur. As part of your analysis, you use Google BigQuery to correlate customer data with the average prices of the 100 most common goods sold, including bread, gasoline, milk, and others. The average prices for these goods are updated every 30 minutes. You need to ensure that this data remains current so you can combine it with other BigQuery data as cost-effectively as possible. What should you do?

ALoad the data every 30 minutes into a new partitioned table in BigQuery.
BStore and update the data in a regional Google Cloud Storage bucket and create a federated data source in BigQuery
CStore the data in Google Cloud Datastore. Use Google Cloud Dataflow to query BigQuery and combine the data programmatically with the data stored in Cloud Datastore
DStore the data in a file in a regional Google Cloud Storage bucket. Use Cloud Dataflow to query BigQuery and combine the data programmatically with the data stored in Google Cloud Storage.
Question #133Part 3Maintaining and automating data workloads

You are building the CI/CD cycle for the code of the directed acyclic graphs (DAGs) that run in Cloud Composer. Your team has two Cloud Composer instances: one for development and one for production. The team uses a Git repository to maintain and develop the DAG code. You want the DAGs to be deployed automatically to Cloud Composer when a specific tag is pushed to the Git repository. What should you do?

A1. Use Cloud Build to copy the code of the DAG to the Cloud Storage bucket of the development instance for DAG testing.2. If the tests pass, use Cloud Build to copy the code to the bucket of the production instance.
B1. Use Cloud Build to build a container with the code of the DAG and the KubernetesPodOperator to deploy the code to the Google Kubernetes Engine (GKE) cluster of the development instance for testing.2. If the tests pass, use the KubernetesPodOperator to deploy the container to the GKE cluster of the production instance.
C1. Use Cloud Build to build a container and the KubernetesPodOperator to deploy the code of the DAG to the Google Kubernetes Engine (GKE) cluster of the development instance for testing.2. If the tests pass, copy the code to the Cloud Storage bucket of the production instance.
D1. Use Cloud Build to copy the code of the DAG to the Cloud Storage bucket of the development instance for DAG testing.2. If the tests pass, use Cloud Build to build a container with the code of the DAG and the KubernetesPodOperator to deploy the container to the Google Kubernetes Engine (GKE) cluster of the production instance.
Question #134Part 3Preparing and using data for analysis

You are preparing data that your machine learning team will use to train a model with BigQueryML. They want to predict the price per square foot of real estate. The training data contains a price column and a column for the number of square feet. Another feature column, feature1, has null values because of missing data. You want to replace the nulls with zeros so that more data points are retained. Which query should you use?

A![](https://cdn.examcademy.com/images/questions/1785600349695-jmk0nu7a.png)
B![](https://cdn.examcademy.com/images/questions/1785600352324-zmz0ub9b.png)
C![](https://cdn.examcademy.com/images/questions/1785600354969-yjfo6kuc.png)
D![](https://cdn.examcademy.com/images/questions/1785600357398-7ns5cqc2.png)
Question #135Part 3Preparing and using data for analysis

You are creating a model to predict whether it will rain on a particular day. You have thousands of input features and want to determine whether removing some can improve training speed with minimal effect on model accuracy. What can you do?

AEliminate features that are highly correlated to the output labels.
BCombine highly co-dependent features into one representative feature.
CInstead of feeding in each feature individually, average their values in batches of 3.
DRemove the features that have null values for more than 50% of the training records.
Question #136Part 3Designing data processing systems

You have terabytes of customer behavioral data streaming daily from Google Analytics into BigQuery. Your customers’ information, including their preferences, is hosted in a Cloud SQL for MySQL database. Your CRM database runs on a Cloud SQL for PostgreSQL instance. The marketing team wants to use customer information from both databases and the customer behavioral data to create marketing campaigns for yearly active customers. You need to ensure that the marketing team can run the campaigns more than 100 times per day on typical days and up to 300 times during sales. At the same time, you want to minimize the load on the Cloud SQL databases. What should you do?

ACreate BigQuery connections to both Cloud SQL databases. Use BigQuery federated queries on the two databases and the Google Analytics data on BigQuery to run these queries.
BCreate a job on Apache Spark with Dataproc Serverless to query both Cloud SQL databases and the Google Analytics data on BigQuery for these queries.
CCreate streams in Datastream to replicate the required tables from both Cloud SQL databases to BigQuery for these queries.
DCreate a Dataproc cluster with Trino to establish connections to both Cloud SQL databases and BigQuery, to execute the queries.
Question #137Part 3Preparing and using data for analysis

An external table has been created for Apache Hive-partitioned data stored in a Cloud Storage bucket that contains many files. Queries against this table are slow. What should you do to improve query performance?

AChange the storage class of the Hive partitioned data objects from Coldline to Standard.
BCreate an individual external table for each Hive partition by using a common table name prefix. Use wildcard table queries to reference the partitioned data.
CUpgrade the external table to a BigLake table. Enable metadata caching for the table.
DMigrate the Hive partitioned data objects to a multi-region Cloud Storage bucket.
Question #138Part 3Ingesting and processing the data

Your infrastructure contains a set of YouTube channels. You are tasked with establishing a process to send YouTube channel data to Google Cloud for analysis. You want a solution that lets worldwide marketing teams perform ANSI SQL and other analyses on current YouTube channel log data. How should you configure the log-data transfer into Google Cloud?

AUse Storage Transfer Service to transfer the offsite backup files to a Cloud Storage Multi-Regional storage bucket as a final destination.
BUse Storage Transfer Service to transfer the offsite backup files to a Cloud Storage Regional bucket as a final destination.
CUse BigQuery Data Transfer Service to transfer the offsite backup files to a Cloud Storage Multi-Regional storage bucket as a final destination.
DUse BigQuery Data Transfer Service to transfer the offsite backup files to a Cloud Storage Regional storage bucket as a final destination.
Question #139Part 3Maintaining and automating data workloads

You administer shared BigQuery datasets that include views used by several teams in your organization. The marketing team is concerned about fluctuations in its monthly BigQuery analytics costs under the on-demand billing model. You need to help the marketing team set a consistent monthly BigQuery analytics spend. What should you do?

ACreate a BigQuery Enterprise reservation with a baseline of 250 slots and autoscaling set to 500 for the marketing team, and bill them back accordingly.
BEstablish a BigQuery quota for the marketing team, and limit the maximum number of bytes scanned each day.
CCreate a BigQuery reservation with a baseline of 500 slots with no autoscaling for the marketing team, and bill them back accordingly.
DCreate a BigQuery Standard pay-as-you go reservation with a baseline of 0 slots and autoscaling set to 500 for the marketing team, and bill them back accordingly.
Question #140Part 3Storing the data

Flowlogistic plans to use Google BigQuery as its primary analytics system, but it still has Apache Hadoop and Spark workloads that cannot be migrated to BigQuery. Flowlogistic is unsure how to store data common to both workloads. What should it do? ![Question Image](https://cdn.examcademy.com/images/questions/1783810368916-vs0jaglm.png)

AStore the common data in BigQuery as partitioned tables.
BStore the common data in BigQuery and expose authorized views.
CStore the common data encoded as Avro in Google Cloud Storage.
DStore he common data in the HDFS storage for a Google Cloud Dataproc cluster.
Question #141Part 3Designing data processing systems

You are developing a new application from which you must collect data in a scalable manner. Data is continuously received from the application during the day, and by the end of the year you expect to produce approximately 150 GB of JSON data each day. Your requirements are: - Decouple the producer from the consumer. - Store raw ingested data indefinitely in a space- and cost-efficient form. - Support near-real-time SQL queries. - Retain at least 2 years of historical data that will be queried using SQL. Which pipeline should you use to satisfy these requirements?

ACreate an application that provides an API. Write a tool to poll the API and write data to Cloud Storage as gzipped JSON files.
BCreate an application that writes to a Cloud SQL database to store the data. Set up periodic exports of the database to write to Cloud Storage and load into BigQuery.
CCreate an application that publishes events to Cloud Pub/Sub, and create Spark jobs on Cloud Dataproc to convert the JSON data to Avro format, stored on HDFS on Persistent Disk.
DCreate an application that publishes events to Cloud Pub/Sub, and create a Cloud Dataflow pipeline that transforms the JSON event payloads to Avro, writing the data to Cloud Storage and BigQuery.
Question #142Part 3Preparing and using data for analysis

You are building a model to forecast housing prices. Because of budget limitations, it must run on one resource-constrained virtual machine. Which learning algorithm should you choose?

ALinear regression
BLogistic classification
CRecurrent neural network
DFeedforward neural network
Question #143Part 3Ingesting and processing the data

You are designing a basket-abandonment system for an ecommerce company. The system must send a user a message according to these rules: - The user has had no interaction with the site for 1 hour. - The user has added products worth more than $30 to the basket. ![Question Image](https://cdn.examcademy.com/images/questions/1783810383717-9tvygg61.png) - The user has not completed a transaction. You use Google Cloud Dataflow to process the data and determine whether a message should be sent. How should you design the pipeline?

AUse a fixed-time window with a duration of 60 minutes.
BUse a sliding time window with a duration of 60 minutes.
CUse a session window with a gap time duration of 60 minutes.
DUse a global window with a time based trigger with a delay of 60 minutes.
Question #144Part 3Ingesting and processing the data

Your company operates a hybrid GCP deployment in which analytics are conducted on anonymized customer data. The data are imported into Cloud Storage from your data center by using parallel uploads to a data-transfer server running on GCP. Management says that the daily transfers take too long and asks you to resolve the issue. You want to maximize transfer speeds. Which action should you take?

AIncrease the CPU size on your server.
BIncrease the size of the Google Persistent Disk on your server.
CIncrease your network bandwidth from your datacenter to GCP.
DIncrease your network bandwidth from Compute Engine to Cloud Storage.
Question #145Part 3Maintaining and automating data workloads

Each analytics team in your organization runs BigQuery jobs in its own project. You want to allow every team to monitor slot usage within its project. What should you do?

ACreate a Cloud Monitoring dashboard based on the BigQuery metric query/scanned_bytes
BCreate a Cloud Monitoring dashboard based on the BigQuery metric slots/allocated_for_project
CCreate a log export for each project, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
DCreate an aggregated log export at the organization level, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
Question #146Part 3Storing the data

You are designing a fault-tolerant architecture for storing data in a regional BigQuery dataset. You must ensure that your application can recover from a table-corruption event that occurred during the last seven days. You want to use managed services with the lowest RPO and the most cost-effective solution. What should you do?

AAccess historical data by using time travel in BigQuery.
BExport the data from BigQuery into a new table that excludes the corrupted data
CCreate a BigQuery table snapshot on a daily basis.
DMigrate your data to multi-region BigQuery buckets.
Question #147Part 3Preparing and using data for analysis

You are training a spam classifier and observe that it is overfitting the training data. Which three actions can you take to address this problem?

AGet more training examples
BReduce the number of training examples
CUse a smaller set of features
DUse a larger set of features
EIncrease the regularization parameters
Question #148Part 3Ingesting and processing the data

You are moving your data warehouse to Google Cloud and retiring your on-premises data center. Because this is a company priority, you know that bandwidth will be available for the initial data load to the cloud. The files being transferred are few in number, but each file is 90 GB. Additionally, you want your transactional systems to continuously update the warehouse on Google Cloud in real time. Which tools should you use to migrate the data and ensure that it continues to be written to your warehouse?

AStorage Transfer Service for the migration; Pub/Sub and Cloud Data Fusion for the real-time updates
BBigQuery Data Transfer Service for the migration; Pub/Sub and Dataproc for the real-time updates
Cgsutil for the migration; Pub/Sub and Dataflow for the real-time updates
Dgsutil for both the migration and the real-time updates
Question #149Part 3Ingesting and processing the data

Your software uses a simple JSON format for every message. These messages are published to Google Cloud Pub/Sub, then processed by Google Cloud Dataflow to create a real-time dashboard for the CFO. During testing, you notice that some messages are absent from the dashboard. You check the logs, and all messages are being published to Cloud Pub/Sub successfully. What should you do next?

ACheck the dashboard application to see if it is not displaying correctly.
BRun a fixed dataset through the Cloud Dataflow pipeline and analyze the output.
CUse Google Stackdriver Monitoring on Cloud Pub/Sub to find the missing messages.
DSwitch Cloud Dataflow to pull messages from Cloud Pub/Sub instead of Cloud Pub/Sub pushing messages to Cloud Dataflow.
Question #150Part 3Ingesting and processing the data

You are migrating your on-premises data warehouse to BigQuery. One upstream data source is hosted on a MySQL database running in your on-premises data center and has no public IP addresses. You want to ensure that data ingestion into BigQuery is secure and does not traverse the public internet. What should you do?

AUpdate your existing on-premises ETL tool to write to BigQuery by using the BigQuery Open Database Connectivity (ODBC) driver. Set up the proxy parameter in the simba.googlebigqueryodbc.ini file to point to your data center’s NAT gateway.
BUse Datastream to replicate data from your on-premises MySQL database to BigQuery. Set up Cloud Interconnect between your on-premises data center and Google Cloud. Use Private connectivity as the connectivity method and allocate an IP address range within your VPC network to the Datastream connectivity configuration. Use Server-only as the encryption type when setting up the connection profile in Datastream.
CUse Datastream to replicate data from your on-premises MySQL database to BigQuery. Use Forward-SSH tunnel as the connectivity method to establish a secure tunnel between Datastream and your on-premises MySQL database through a tunnel server in your on-premises data center. Use None as the encryption type when setting up the connection profile in Datastream.
DUse Datastream to replicate data from your on-premises MySQL database to BigQuery. Gather Datastream public IP addresses of the Google Cloud region that will be used to set up the stream. Add those IP addresses to the firewall allowlist of your on-premises data center. Use IP Allowlisting as the connectivity method and Server-only as the encryption type when setting up the connection profile in Datastream.
Question #151Part 3Preparing and using data for analysisSelect 2

You have a BigQuery table containing customer data, including sensitive information such as names and addresses. You must securely share the customer data with the data analytics and consumer support teams. The data analytics team needs access to data for all customers, but must not access sensitive data. The consumer support team needs access to every data column, but must not access customers whose contracts are no longer active. You enforced these requirements by using an authorized dataset and policy tags. After implementing these steps, the data analytics team reports that it can still access the sensitive columns. You need to ensure that the data analytics team cannot access restricted data. What should you do? (Choose two.)

ACreate two separate authorized datasets; one for the data analytics team and another for the consumer support team.
BEnsure that the data analytics team members do not have the Data Catalog Fine-Grained Reader role for the policy tags.
CReplace the authorized dataset with an authorized view. Use row-level security and apply filter_expression to limit data access.
DRemove the bigquery.dataViewer role from the data analytics team on the authorized datasets.
EEnforce access control in the policy tag taxonomy.
Question #152Part 3Ingesting and processing the data

A globally distributed auction application lets users bid on items. At times, users submit identical bids at nearly the same time, and separate application servers process those bids. Each bid event includes the item, amount, user, and timestamp. You need to collect these bid events in one location in real time to determine which user placed the first bid. What should you do?

ACreate a file on a shared file and have the application servers write all bid events to that file. Process the file with Apache Hadoop to identify which user bid first.
BHave each application server write the bid events to Cloud Pub/Sub as they occur. Push the events from Cloud Pub/Sub to a custom endpoint that writes the bid event information into Cloud SQL.
CSet up a MySQL database for each application server to write bid events into. Periodically query each of those distributed MySQL databases and update a master MySQL database with bid event information.
DHave each application server write the bid events to Google Cloud Pub/Sub as they occur. Use a pull subscription to pull the bid events using Google Cloud Dataflow. Give the bid for each item to the user in the bid event that is processed first.
Question #153Part 3Ingesting and processing the data

You are building an Apache Beam pipeline that uses JdbcIO to extract data from a Cloud SQL instance. You have two projects running in Google Cloud. The pipeline will be deployed and run on Dataflow in Project

ASet up VPC Network Peering between Project A and Project B. Add a firewall rule to allow the peered subnet range to access all instances on the network.
BTurn off the external IP addresses on the Dataflow worker. Enable Cloud NAT in Project A.
CAdd the external IP addresses of the Dataflow worker as authorized networks in the Cloud SQL instance.
DSet up VPC Network Peering between Project A and Project B. Create a Compute Engine instance without external IP address in Project B on the peered subnet to serve as a proxy server to the Cloud SQL database.
Question #154Part 3Preparing and using data for analysis

You are preparing a dataset for use across the organization. You must preprocess customer data stored in a restricted Cloud Storage bucket. The data will support consumer analyses. You need to meet data-privacy requirements, including protecting certain sensitive data elements, while retaining all data for possible future use cases. What should you do?

AUse the Cloud Data Loss Prevention API and Dataflow to detect and remove sensitive fields from the data in Cloud Storage. Write the filtered data in BigQuery.
BUse customer-managed encryption keys (CMEK) to directly encrypt the data in Cloud Storage. Use federated queries from BigQuery. Share the encryption key by following the principle of least privilege.
CUse Dataflow and the Cloud Data Loss Prevention API to mask sensitive data. Write the processed data in BigQuery.
DUse Dataflow and Cloud KMS to encrypt sensitive fields and write the encrypted data in BigQuery. Share the encryption key by following the principle of least privilege.
Question #155Part 3Preparing and using data for analysis

An organization manages a Google BigQuery dataset containing tables with user-level data. It wants to expose aggregates from that data to other Google Cloud projects while retaining control over access to the user-level data. It also needs to minimize overall storage costs and ensure that analysis costs for other projects are charged to those projects. What should it do?

ACreate and share an authorized view that provides the aggregate results.
BCreate and share a new dataset and view that provides the aggregate results.
CCreate and share a new dataset and table that contains the aggregate results.
DCreate dataViewer Identity and Access Management (IAM) roles on the dataset to enable sharing.
Question #156Part 3Preparing and using data for analysis

You have a table containing millions of rows of sales data that is partitioned by date. Multiple applications and users query this data many times per minute. The query aggregates values using AVG, MAX, and SUM and does not need to join any other tables. The required aggregations are computed only across the past year of data, although you must retain the complete historical data in the base tables. You want query results to always include the most recent table data while reducing computation cost, maintenance overhead, and duration. What should you do?

ACreate a materialized view to aggregate the base table data. Include a filter clause to specify the last one year of partitions.
BCreate a materialized view to aggregate the base table data. Configure a partition expiration on the base table to retain only the last one year of partitions.
CCreate a view to aggregate the base table data. Include a filter clause to specify the last year of partitions.
DCreate a new table that aggregates the base table data. Include a filter clause to specify the last year of partitions. Set up a scheduled query to recreate the new table every hour.
Question #157Part 3Ingesting and processing the data

You have a Google Cloud Dataflow streaming pipeline that uses a Google Cloud Pub/Sub subscription as its source. You need to update the code in a way that makes the new Cloud Dataflow pipeline incompatible with the current version. You do not want to lose any data while making this update. What should you do?

AUpdate the current pipeline and use the drain flag.
BUpdate the current pipeline and provide the transform mapping JSON object.
CCreate a new pipeline that has the same Cloud Pub/Sub subscription and cancel the old pipeline.
DCreate a new pipeline that has a new Cloud Pub/Sub subscription and cancel the old pipeline.
Question #158Part 3Ingesting and processing the data

You are operating a streaming pipeline with Dataflow and using hopping windows to group data as it arrives. You noticed that some data arrives late but is not marked as late data, resulting in inaccurate downstream aggregations. You need to identify a solution that lets you capture late data in the appropriate window. What should you do?

AUse watermarks to define the expected data arrival window. Allow late data as it arrives.
BChange your windowing function to tumbling windows to avoid overlapping window periods.
CChange your windowing function to session windows to define your windows based on certain activity.
DExpand your hopping window so that the late data has more time to arrive within the grouping.
Question #159Part 3Ingesting and processing the data

Your company is choosing a system to centralize data ingestion and delivery. You are evaluating messaging and data-integration systems to meet these key requirements: - The ability to seek to a specific offset in a topic, potentially back to the beginning of all data ever captured - Support for publish/subscribe semantics across hundreds of topics - Retain per-key ordering ![Question Image](https://cdn.examcademy.com/images/questions/1783810991180-h65pj72y.png) Which system should you select?

AApache Kafka
BCloud Storage
CDataflow
DFirebase Cloud Messaging
Question #160Part 3Storing the data

An online retailer has built its current application on Google App Engine. A new company initiative requires extending the application so customers can transact directly through it. The retailer needs to manage shopping transactions and analyze combined data from multiple datasets with a business intelligence (BI) tool. They want to use only one database for this purpose. Which Google Cloud database should they select?

ABigQuery
BCloud SQL
CCloud BigTable
DCloud Datastore
Question #161Part 3Ingesting and processing the data

You work for a car manufacturer and have configured a data pipeline with Google Cloud Pub/Sub to capture anomalous sensor events. You use a Cloud Pub/Sub push subscription that invokes a custom HTTPS endpoint you created to act on these anomalous events as they occur. Your custom HTTPS endpoint continues to receive an excessive number of duplicate messages. What is the most likely reason for these duplicate messages?

AThe message body for the sensor event is too large.
BYour custom endpoint has an out-of-date SSL certificate.
CThe Cloud Pub/Sub topic has too many messages published to it.
DYour custom endpoint is not acknowledging messages within the acknowledgement deadline.
Question #162Part 3Ingesting and processing the data

You need to build a near-real-time inventory dashboard that reads the primary inventory tables in your BigQuery data warehouse. Historical inventory data is stored as inventory balances by item and location. You receive several thousand inventory updates every hour. You want to maximize dashboard performance while ensuring the data is accurate. What should you do?

ALeverage BigQuery UPDATE statements to update the inventory balances as they are changing.
BPartition the inventory balance table by item to reduce the amount of data scanned with each inventory update.
CUse the BigQuery streaming the stream changes into a daily inventory movement table. Calculate balances in a view that joins it to the historical inventory balance table. Update the inventory balance table nightly.
DUse the BigQuery bulk loader to batch load inventory changes into a daily inventory movement table. Calculate balances in a view that joins it to the historical inventory balance table. Update the inventory balance table nightly.
Question #163Part 3Designing data processing systems

You are setting up networking for a Dataflow job. The data pipeline uses custom container images with the libraries needed for transformation logic already installed. The data pipeline reads data from Cloud Storage and writes it to BigQuery. You need to provide cost-effective, secure communication between the pipeline and Google APIs and services. What should you do?

ADisable external IP addresses from worker VMs and enable Private Google Access.
BLeave external IP addresses assigned to worker VMs while enforcing firewall rules.
CDisable external IP addresses and establish a Private Service Connect endpoint IP address.
DEnable Cloud NAT to provide outbound internet connectivity while enforcing firewall rules.
Question #164Part 3Designing data processing systems

You must store and analyze social-media posts in Google BigQuery at a rate of 10,000 messages per minute, with near-real-time availability. The application is initially designed to use streaming inserts for individual posts. It also runs data aggregations immediately after the streaming inserts. You find that queries following streaming inserts do not provide strong consistency, so query reports can omit in-flight data. How should you change the application design?

ARe-write the application to load accumulated data every 2 minutes.
BConvert the streaming insert code to batch load for individual messages.
CLoad the original message to Google Cloud SQL, and export the table every hour to BigQuery via streaming inserts.
DEstimate the average latency for data availability after streaming inserts, and always run queries after waiting twice as long.
Question #165Part 3Storing the data

You are designing a BigQuery data warehouse to analyze sales data for a telecommunications service provider. You need to create a data model for customers, products, and subscriptions. All customers, products, and subscriptions can be updated monthly, but you must retain a historical record of all data. You plan to use the visualization layer for current and historical reporting. You need to ensure the data model is simple, easy to use, and cost-effective. What should you do?

ACreate a normalized model with tables for each entity. Use snapshots before updates to track historical data.
BCreate a normalized model with tables for each entity. Keep all input files in a Cloud Storage bucket to track historical data.
CCreate a denormalized model with nested and repeated fields. Update the table and use snapshots to track historical data.
DCreate a denormalized, append-only model with nested and repeated fields. Use the ingestion timestamp to track historical data.
Question #166Part 3Preparing and using data for analysis

You are developing a model that provides clothing recommendations. Because a user's fashion preferences are likely to evolve over time, you create a data pipeline that streams new data back to the model as it becomes available. How should this data be used to train the model?

AContinuously retrain the model on just the new data.
BContinuously retrain the model on a combination of existing data and the new data.
CTrain on the existing data while using the new data as your test set.
DTrain on the new data while using the existing data as your test set.
Question #167Part 3Ingesting and processing the data

You are modifying code for a subscriber to a Pub/Sub feed. You are worried that, during deployment, the subscriber could mistakenly acknowledge messages and cause message loss. The subscriber is not configured to retain acknowledged messages. What should you do to ensure you can recover from errors after deployment?

ASet up the Pub/Sub emulator on your local machine. Validate the behavior of your new subscriber logic before deploying it to production.
BCreate a Pub/Sub snapshot before deploying new subscriber code. Use a Seek operation to re-deliver messages that became available after the snapshot was created.
CUse Cloud Build for your deployment. If an error occurs after deployment, use a Seek operation to locate a timestamp logged by Cloud Build at the start of the deployment.
DEnable dead-lettering on the Pub/Sub topic to capture messages that aren't successfully acknowledged. If an error occurs after deployment, re-deliver any messages captured by the dead-letter queue.
Question #168Part 3Designing data processing systems

You are designing a data-transformation solution for BigQuery. Your developers are skilled in SQL and want to use the ELT development approach. Additionally, they require an intuitive coding environment and the ability to manage SQL as code. You need to identify a solution that lets your developers build these pipelines. What should you do?

AUse Dataform to build, manage, and schedule SQL pipelines.
BUse Dataflow jobs to read data from Pub/Sub, transform the data, and load the data to BigQuery.
CUse Data Fusion to build and execute ETL pipelines.
DUse Cloud Composer to load data and run SQL pipelines by using the BigQuery job operators.
Question #169Part 3Storing the data

You work at a global shipping company and want to train a model on 40 TB of data to predict which ships in each geographic region are likely to cause delivery delays on a given day. The model will use multiple attributes gathered from multiple sources. Telemetry data, including location in GeoJSON format, will be retrieved from each ship and loaded hourly. You need a dashboard that shows the number and identity of ships likely to cause delays within a region. You want a storage solution with native prediction and geospatial-processing functionality. Which storage solution should you use?

ABigQuery
BCloud Bigtable
CCloud Datastore
DCloud SQL for PostgreSQL
Question #170Part 3Preparing and using data for analysisSelect 2

You need to build a data pipeline that copies time-series transaction data so your data science team can query it in BigQuery for analysis. Every hour, thousands of transactions receive a new status. The initial dataset is 1.5 PB and will increase by 3 TB per day. The data is highly structured, and your data science team will build machine learning models from it. You want to maximize performance and usability for the data science team. Which two strategies should you adopt? (Choose two.)

ADenormalize the data as must as possible.
BPreserve the structure of the data as much as possible.
CUse BigQuery UPDATE to further reduce the size of the dataset.
DDevelop a data pipeline where status updates are appended to BigQuery instead of updated.
ECopy a daily snapshot of transaction data to Cloud Storage and store it as an Avro file. Use BigQuery's support for external data sources to query.
Question #171Part 3Storing the data

You need to encrypt customer data kept in BigQuery. You must implement per-user crypto-deletion for data stored in your tables, while adopting native Google Cloud features to avoid custom solutions. What should you do?

AImplement Authenticated Encryption with Associated Data (AEAD) BigQuery functions while storing your data in BigQuery.
BCreate a customer-managed encryption key (CMEK) in Cloud KMS. Associate the key to the table while creating the table.
CCreate a customer-managed encryption key (CMEK) in Cloud KMS. Use the key to encrypt data before storing in BigQuery.
DEncrypt your data during ingestion by using a cryptographic library supported by your ETL pipeline.
Question #172Part 3Ingesting and processing the data

You plan to migrate an Apache Spark 3 batch job from on-premises to Google Cloud. You need to make minimal changes so the job reads from Cloud Storage and writes its results to BigQuery. The job is tuned for Spark with each executor using 8 vCPU and 16 GB of memory, and you want to select comparable settings. You also want to minimize the installation and management effort required to run the job. What should you do?

AExecute the job as part of a deployment in a new Google Kubernetes Engine cluster.
BExecute the job from a new Compute Engine VM.
CExecute the job in a new Dataproc cluster.
DExecute as a Dataproc Serverless job.
Question #173Part 3Preparing and using data for analysis

You must configure BigQuery access for different departments in your company. The solution must meet these requirements: - Each department can access only its own data. - Each department has one or more leads who must be able to create and update tables and make them available to their team. - Each department includes data analysts who must be able to query data but not modify it. How should access to the BigQuery data be configured?

ACreate a dataset for each department. Assign the department leads the role of OWNER, and assign the data analysts the role of WRITER on their dataset.
BCreate a dataset for each department. Assign the department leads the role of WRITER, and assign the data analysts the role of READER on their dataset.
CCreate a table for each department. Assign the department leads the role of Owner, and assign the data analysts the role of Editor on the project the table is in.
DCreate a table for each department. Assign the department leads the role of Editor, and assign the data analysts the role of Viewer on the project the table is in.
Question #174Part 3Designing data processing systemsSelect 2

As the organization increases its use of GCP, many teams have begun creating their own projects. Projects are further proliferated to support different deployment stages and target audiences. Each project needs distinct access-control configurations, while the central IT team must be able to access every project. Additionally, data in Cloud Storage buckets and BigQuery datasets must be shared ad hoc for use by other projects. You want to simplify access-control management by minimizing the number of policies. Which two actions should you take? (Choose two.)

AUse Cloud Deployment Manager to automate access provision.
BIntroduce resource hierarchy to leverage access control policy inheritance.
CCreate distinct groups for various teams, and specify groups in Cloud IAM policies.
DOnly use service accounts when sharing data for Cloud Storage buckets and BigQuery datasets.
EFor each Cloud Storage bucket or BigQuery dataset, decide which projects need access. Find all the active members who have access to these projects, and create a Cloud IAM policy to grant access to all these users.
Question #175Part 3Ingesting and processing the dataSelect 2

Your company is migrating its on-premises data-warehouse solutions to BigQuery. The current data warehouse uses trigger-based change data capture (CDC) to apply daily updates from multiple transactional database sources. With BigQuery, the company wants to improve its CDC handling so that source-system changes can be queried in BigQuery in near real time through log-based CDC streams, while also optimizing the performance of applying changes to the data warehouse. Which two steps should the company take to make changes available in the BigQuery reporting table with minimal latency while reducing compute overhead? (Choose two.)

APerform a DML INSERT, UPDATE, or DELETE to replicate each individual CDC record in real time directly on the reporting table.
BInsert each new CDC record and corresponding operation type to a staging table in real time.
CPeriodically DELETE outdated records from the reporting table.
DPeriodically use a DML MERGE to perform several DML INSERT, UPDATE, and DELETE operations at the same time on the reporting table.
EInsert each new CDC record and corresponding operation type in real time to the reporting table, and use a materialized view to expose only the newest version of each unique record.

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!