Spring Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

Google Professional Data Engineer Exam Question and Answers

Google Professional Data Engineer Exam

Last Update Feb 28, 2026
Total Questions : 400

We are offering FREE Professional-Data-Engineer Google exam questions. All you do is to just go and sign up. Give your details, prepare Professional-Data-Engineer free exam questions and then go for complete pool of Google Professional Data Engineer Exam test questions that will help you more.

Professional-Data-Engineer pdf

Professional-Data-Engineer PDF

$36.75  $104.99
Professional-Data-Engineer Engine

Professional-Data-Engineer Testing Engine

$43.75  $124.99
Professional-Data-Engineer PDF + Engine

Professional-Data-Engineer PDF + Testing Engine

$57.75  $164.99
Questions 1

Your company receives both batch- and stream-based event data. You want to process the data using Google Cloud Dataflow over a predictable time period. However, you realize that in some instances data can arrive late or out of order. How should you design your Cloud Dataflow pipeline to handle data that is late or out of order?

Options:

A.  

Set a single global window to capture all the data.

B.  

Set sliding windows to capture all the lagged data.

C.  

Use watermarks and timestamps to capture the lagged data.

D.  

Ensure every datasource type (stream or batch) has a timestamp, and use the timestamps to define the logic for lagged data.

Discussion 0
Questions 2

You decided to use Cloud Datastore to ingest vehicle telemetry data in real time. You want to build a storage system that will account for the long-term data growth, while keeping the costs low. You also want to create snapshots of the data periodically, so that you can make a point-in-time (PIT) recovery, or clone a copy of the data for Cloud Datastore in a different environment. You want to archive these snapshots for a long time. Which two methods can accomplish this? Choose 2 answers.

Options:

A.  

Use managed export, and store the data in a Cloud Storage bucket using Nearline or Coldline class.

B.  

Use managed exportm, and then import to Cloud Datastore in a separate project under a unique namespace reserved for that export.

C.  

Use managed export, and then import the data into a BigQuery table created just for that export, and delete temporary export files.

D.  

Write an application that uses Cloud Datastore client libraries to read all the entities. Treat each entity as a BigQuery table row via BigQuery streaming insert. Assign an export timestamp for each export, and attach it as an extra column for each row. Make sure that the BigQuery table is partitioned using the export timestamp column.

E.  

Write an application that uses Cloud Datastore client libraries to read all the entities. Format the exported data into a JSON file. Apply compression before storing the data in Cloud Source Repositories.

Discussion 0
Questions 3

An external customer provides you with a daily dump of data from their database. The data flows into Google Cloud Storage GCS as comma-separated values (CSV) files. You want to analyze this data in Google BigQuery, but the data could have rows that are formatted incorrectly or corrupted. How should you build this pipeline?

Options:

A.  

Use federated data sources, and check data in the SQL query.

B.  

Enable BigQuery monitoring in Google Stackdriver and create an alert.

C.  

Import the data into BigQuery using the gcloud CLI and set max_bad_records to 0.

D.  

Run a Google Cloud Dataflow batch pipeline to import the data into BigQuery, and push errors to another dead-letter table for analysis.

Discussion 0
Questions 4

When a Cloud Bigtable node fails, ____ is lost.

Options:

A.  

all data

B.  

no data

C.  

the last transaction

D.  

the time dimension

Discussion 0
Questions 5

You have spent a few days loading data from comma-separated values (CSV) files into the Google BigQuery table CLICK_STREAM. The column DT stores the epoch time of click events. For convenience, you chose a simple schema where every field is treated as the STRING type. Now, you want to compute web session durations of users who visit your site, and you want to change its data type to the TIMESTAMP. You want to minimize the migration effort without making future queries computationally expensive. What should you do?

Options:

A.  

Delete the table CLICK_STREAM, and then re-create it such that the column DT is of the TIMESTAMP type. Reload the data.

B.  

Add a column TS of the TIMESTAMP type to the table CLICK_STREAM, and populate the numeric values from the column TS for each row. Reference the column TS instead of the column DT from now on.

C.  

Create a view CLICK_STREAM_V, where strings from the column DT are cast into TIMESTAMP values. Reference the view CLICK_STREAM_V instead of the table CLICK_STREAM from now on.

D.  

Add two columns to the table CLICK STREAM: TS of the TIMESTAMP type and IS_NEW of the BOOLEAN type. Reload all data in append mode. For each appended row, set the value of IS_NEW to true. For future queries, reference the column TS instead of the column DT, with the WHERE clause ensuring that the value of IS_NEW must be true.

E.  

Construct a query to return every row of the table CLICK_STREAM, while using the built-in function to cast strings from the column DT into TIMESTAMP values. Run the query into a destination table NEW_CLICK_STREAM, in which the column TS is the TIMESTAMP type. Reference the table NEW_CLICK_STREAM instead of the table CLICK_STREAM from now on. In the future, new data is loaded into the table NEW_CLICK_STREAM.

Discussion 0
Questions 6

You work for a car manufacturer and have set up a data pipeline using Google Cloud Pub/Sub to capture anomalous sensor events. You are using a push subscription in Cloud Pub/Sub that calls a custom HTTPS endpoint that you have created to take action of these anomalous events as they occur. Your custom HTTPS endpoint keeps getting an inordinate amount of duplicate messages. What is the most likely cause of these duplicate messages?

Options:

A.  

The message body for the sensor event is too large.

B.  

Your custom endpoint has an out-of-date SSL certificate.

C.  

The Cloud Pub/Sub topic has too many messages published to it.

D.  

Your custom endpoint is not acknowledging messages within the acknowledgement deadline.

Discussion 0
Questions 7

You are designing a basket abandonment system for an ecommerce company. The system will send a message to a user based on these rules:

No interaction by the user on the site for 1 hour

Has added more than $30 worth of products to the basket

Has not completed a transaction

You use Google Cloud Dataflow to process the data and decide if a message should be sent. How should you design the pipeline?

Options:

A.  

Use a fixed-time window with a duration of 60 minutes.

B.  

Use a sliding time window with a duration of 60 minutes.

C.  

Use a session window with a gap time duration of 60 minutes.

D.  

Use a global window with a time based trigger with a delay of 60 minutes.

Discussion 0
Questions 8

Google Cloud Bigtable indexes a single value in each row. This value is called the _______.

Options:

A.  

primary key

B.  

unique key

C.  

row key

D.  

master key

Discussion 0
Questions 9

You designed a database for patient records as a pilot project to cover a few hundred patients in three clinics. Your design used a single database table to represent all patients and their visits, and you used self-joins to generate reports. The server resource utilization was at 50%. Since then, the scope of the project has expanded. The database must now store 100 times more patientrecords. You can no longer run the reports, because they either take too long or they encounter errors with insufficient compute resources. How should you adjust the database design?

Options:

A.  

Add capacity (memory and disk space) to the database server by the order of 200.

B.  

Shard the tables into smaller ones based on date ranges, and only generate reports with prespecified date ranges.

C.  

Normalize the master patient-record table into the patient table and the visits table, and create other necessary tables to avoid self-join.

D.  

Partition the table into smaller tables, with one for each clinic. Run queries against the smaller table pairs, and use unions for consolidated reports.

Discussion 0
Questions 10

Your company is using WHILECARD tables to query data across multiple tables with similar names. The SQL statement is currently failing with the following error:

# Syntax error : Expected end of statement but got “-“ at [4:11]

SELECT age

FROM

bigquery-public-data.noaa_gsod.gsod

WHERE

age != 99

AND_TABLE_SUFFIX = ‘1929’

ORDER BY

age DESC

Which table name will make the SQL statement work correctly?

Options:

A.  

‘bigquery-public-data.noaa_gsod.gsod‘

B.  

bigquery-public-data.noaa_gsod.gsod*

C.  

‘bigquery-public-data.noaa_gsod.gsod’*

D.  

‘bigquery-public-data.noaa_gsod.gsod*`

Discussion 0
Questions 11

Your company handles data processing for a number of different clients. Each client prefers to use their own suite of analytics tools, with some allowing direct query access via Google BigQuery. You need to secure the data so that clients cannot see each other’s data. You want to ensure appropriate access to the data. Which three steps should you take? (Choose three.)

Options:

A.  

Load data into different partitions.

B.  

Load data into a different dataset for each client.

C.  

Put each client’s BigQuery dataset into a different table.

D.  

Restrict a client’s dataset to approved users.

E.  

Only allow a service account to access the datasets.

F.  

Use the appropriate identity and access management (IAM) roles for each client’s users.

Discussion 0
Questions 12

You are deploying 10,000 new Internet of Things devices to collect temperature data in your warehouses globally. You need to process, store and analyze these very large datasets in real time. What should you do?

Options:

A.  

Send the data to Google Cloud Datastore and then export to BigQuery.

B.  

Send the data to Google Cloud Pub/Sub, stream Cloud Pub/Sub to Google Cloud Dataflow, and store the data in Google BigQuery.

C.  

Send the data to Cloud Storage and then spin up an Apache Hadoop cluster as needed in Google Cloud Dataproc whenever analysis is required.

D.  

Export logs in batch to Google Cloud Storage and then spin up a Google Cloud SQL instance, import the data from Cloud Storage, and run an analysis as needed.

Discussion 0
Questions 13

Your company is running their first dynamic campaign, serving different offers by analyzing real-time data during the holiday season. The data scientists are collecting terabytes of data that rapidly grows every hour during their 30-day campaign. They are using Google Cloud Dataflow to preprocess the data and collect the feature (signals) data that is needed for the machine learning model in Google Cloud Bigtable. The team is observing suboptimal performance with reads and writes of their initial load of 10 TB of data. They want to improve this performance while minimizing cost. What should they do?

Options:

A.  

Redefine the schema by evenly distributing reads and writes across the row space of the table.

B.  

The performance issue should be resolved over time as the site of the BigDate cluster is increased.

C.  

Redesign the schema to use a single row key to identify values that need to be updated frequently in the cluster.

D.  

Redesign the schema to use row keys based on numeric IDs that increase sequentially per user viewing the offers.

Discussion 0
Questions 14

Which of these is not a supported method of putting data into a partitioned table?

Options:

A.  

If you have existing data in a separate file for each day, then create a partitioned table and upload each file into the appropriate partition.

B.  

Run a query to get the records for a specific day from an existing table and for the destination table, specify a partitioned table ending with the day in the format "$YYYYMMDD".

C.  

Create a partitioned table and stream new records to it every day.

D.  

Use ORDER BY to put a table's rows into chronological order and then change the table's type to "Partitioned".

Discussion 0
Questions 15

Which of these operations can you perform from the BigQuery Web UI?

Options:

A.  

Upload a file in SQL format.

B.  

Load data with nested and repeated fields.

C.  

Upload a 20 MB file.

D.  

Upload multiple files using a wildcard.

Discussion 0
Questions 16

You want to use a database of information about tissue samples to classify future tissue samples as either normal or mutated. You are evaluating an unsupervised anomaly detection method for classifying the tissue samples. Which two characteristic support this method? (Choose two.)

Options:

A.  

There are very few occurrences of mutations relative to normal samples.

B.  

There are roughly equal occurrences of both normal and mutated samples in the database.

C.  

You expect future mutations to have different features from the mutated samples in the database.

D.  

You expect future mutations to have similar features to the mutated samples in the database.

E.  

You already have labels for which samples are mutated and which are normal in the database.

Discussion 0
Questions 17

Your company is performing data preprocessing for a learning algorithm in Google Cloud Dataflow. Numerous data logs are being are being generated during this step, and the team wants to analyze them. Due to the dynamic nature of the campaign, the data is growing exponentially every hour.

The data scientists have written the following code to read the data for a new key features in the logs.

BigQueryIO.Read

.named(“ReadLogData”)

.from(“clouddataflow-readonly:samples.log_data”)

You want to improve the performance of this data read. What should you do?

Options:

A.  

Specify the TableReference object in the code.

B.  

Use .fromQuery operation to read specific fields from the table.

C.  

Use of both the Google BigQuery TableSchema and TableFieldSchema classes.

D.  

Call a transform that returns TableRow objects, where each element in the PCollexction represents a single row in the table.

Discussion 0
Questions 18

Your company uses a proprietary system to send inventory data every 6 hours to a data ingestion service in the cloud. Transmitted data includes a payload of several fields and the timestamp of the transmission. If there are any concerns about a transmission, the system re-transmits the data. How should you deduplicate the data most efficiency?

Options:

A.  

Assign global unique identifiers (GUID) to each data entry.

B.  

Compute the hash value of each data entry, and compare it with all historical data.

C.  

Store each data entry as the primary key in a separate database and apply an index.

D.  

Maintain a database table to store the hash value and other metadata for each data entry.

Discussion 0
Questions 19

Your startup has never implemented a formal security policy. Currently, everyone in the company has access to the datasets stored in Google BigQuery. Teams have freedom to use the service as they see fit, and they have not documented their use cases. You have been asked to secure the data warehouse. You need to discover what everyone is doing. What should you do first?

Options:

A.  

Use Google Stackdriver Audit Logs to review data access.

B.  

Get the identity and access management IIAM) policy of each table

C.  

Use Stackdriver Monitoring to see the usage of BigQuery query slots.

D.  

Use the Google Cloud Billing API to see what account the warehouse is being billed to.

Discussion 0
Questions 20

When creating a new Cloud Dataproc cluster with the projects.regions.clusters.create operation, these four values are required: project, region, name, and ____.

Options:

A.  

zone

B.  

node

C.  

label

D.  

type

Discussion 0
Questions 21

You are configuring networking for a Dataflow job. The data pipeline uses custom container images with the libraries that are required for the transformation logic preinstalled. The data pipeline reads the data from Cloud Storage and writes the data to BigQuery. You need to ensure cost-effective and secure communication between the pipeline and Google APIs and services. What should you do?

Options:

A.  

Leave external IP addresses assigned to worker VMs while enforcing firewall rules.

B.  

Disable external IP addresses and establish a Private Service Connect endpoint IP address.

C.  

Disable external IP addresses from worker VMs and enable Private Google Access.

D.  

Enable Cloud NAT to provide outbound internet connectivity while enforcing firewall rules.

Discussion 0
Questions 22

Your organization uses a multi-cloud data storage strategy, storing data in Cloud Storage, and data in Amazon Web Services' (AWS) S3 storage buckets. All data resides in US regions. You want to query up-to-date data by using BigQuery. regardless of which cloud the data is stored in. You need to allow users to query the tables from BigQuery without giving direct access to the data in the storage buckets What should you do?

Options:

A.  

Set up a BigQuery Omni connection to the AWS S3 bucket data Create BigLake tables over the Cloud Storage and S3 data and query the data using BigQuery directly.

B.  

Set up a BigQuery Omni connection to the AWS S3 bucket data. Create external tables over the Cloud Storage and S3 data and query the data using BigQuery directly.

C.  

Use the Storage Transfer Service to copy data from the AWS S3 buckets to Cloud Storage buckets Create BigLake tables over the Cloud Storage data and query the data using BigQuery directly.

D.  

Use the Storage Transfer Service to copy data from the AWS S3 buckets to Cloud Storage buckets Create external tables over the Cloud Storage data and query the data using BigQuery directly

Discussion 0
Questions 23

You create an important report for your large team in Google Data Studio 360. The report uses Google BigQuery as its data source. You notice that visualizations are not showing data that is less than 1 hour old. What should you do?

Options:

A.  

Disable caching by editing the report settings.

B.  

Disable caching in BigQuery by editing table details.

C.  

Refresh your browser tab showing the visualizations.

D.  

Clear your browser history for the past hour then reload the tab showing the virtualizations.

Discussion 0
Questions 24

The data analyst team at your company uses BigQuery for ad-hoc queries and scheduled SQL pipelines in a Google Cloud project with a slot reservation of 2000 slots. However, with the recent introduction of hundreds of new non time-sensitive SQL pipelines, the team is encountering frequent quota errors. You examine the logs and notice that approximately 1500 queries are being triggered concurrently during peak time. You need to resolve the concurrency issue. What should you do?

Options:

A.  

Update SQL pipelines and ad-hoc queries to run as interactive query jobs.

B.  

Increase the slot capacity of the project with baseline as 0 and maximum reservation size as 3000.

C.  

Update SOL pipelines to run as a batch query, and run ad-hoc queries as interactive query jobs.

D.  

Increase the slot capacity of the project with baseline as 2000 and maximum reservation size as 3000.

Discussion 0
Questions 25

You are developing an Apache Beam pipeline to extract data from a Cloud SQL instance by using JdbclO. You have two projects running in Google Cloud. The pipeline will be deployed and executed on Dataflow in Project A. The Cloud SQL instance is running jn Project B and does not have a public IP address. After deploying the pipeline, you noticed that the pipeline failed to extract data from the Cloud SQL instance due to connection failure. You verified that VPC Service Controls and shared VPC are not in use in these projects. You want to resolve this error while ensuring that the data does not go through the public internet. What should you do?

Options:

A.  

Set 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.

B.  

Turn off the external IP addresses on the Dataflow worker. Enable Cloud NAT in Project A.

C.  

Set 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.

D.  

Add the external IP addresses of the Dataflow worker as authorized networks in the Cloud SOL instance.

Discussion 0
Questions 26

You are developing a model to identify the factors that lead to sales conversions for your customers. You have completed processing your data. You want to continue through the model development lifecycle. What should you do next?

Options:

A.  

Use your model to run predictions on fresh customer input data.

B.  

Test and evaluate your model on your curated data to determine how well the model performs.

C.  

Monitor your model performance, and make any adjustments needed.

D.  

Delineate what data will be used for testing and what will be used for training the model.

Discussion 0
Questions 27

You need to set access to BigQuery for different departments within your company. Your solution should comply with the following requirements:

Each department should have access only to their data.

Each department will have one or more leads who need to be able to create and update tables and provide them to their team.

Each department has data analysts who need to be able to query but not modify data.

How should you set access to the data in BigQuery?

Options:

A.  

Create 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.

B.  

Create 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.

C.  

Create 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.

D.  

Create 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.

Discussion 0
Questions 28

Your team is building a data lake platform on Google Cloud. As a part of the data foundation design, you are planning to store all the raw data in Cloud Storage You are expecting to ingest approximately 25 GB of data a day and your billing department is worried about the increasing cost of storing old data. The current business requirements are:

• The old data can be deleted anytime

• You plan to use the visualization layer for current and historical reporting

• The old data should be available instantly when accessed

• There should not be any charges for data retrieval.

What should you do to optimize for cost?

Options:

A.  

Create the bucket with the Autoclass storage class feature.

B.  

Create an Object Lifecycle Management policy to modify the storage class for data older than 30 days to nearline, 90 days to coldline. and 365 days to archive storage class. Delete old data as needed.

C.  

Create an Object Lifecycle Management policy to modify the storage class for data older than 30 days to coldline, 90 days to nearline. and 365 days to archive storage class Delete old data as needed.

D.  

Create an Object Lifecycle Management policy to modify the storage class for data older than 30 days to nearlme. 45 days to coldline. and 60 days to archive storage class Delete old data as needed.

Discussion 0
Questions 29

Which of the following are examples of hyperparameters? (Select 2 answers.)

Options:

A.  

Number of hidden layers

B.  

Number of nodes in each hidden layer

C.  

Biases

D.  

Weights

Discussion 0
Questions 30

Cloud Bigtable is Google's ______ Big Data database service.

Options:

A.  

Relational

B.  

mySQL

C.  

NoSQL

D.  

SQL Server

Discussion 0
Questions 31

Your company is streaming real-time sensor data from their factory floor into Bigtable and they have noticed extremely poor performance. How should the row key be redesigned to improve Bigtable performance on queries that populate real-time dashboards?

Options:

A.  

Use a row key of the form .

B.  

Use a row key of the form .

C.  

Use a row key of the form #.

D.  

Use a row key of the form >##.

Discussion 0
Questions 32

When running a pipeline that has a BigQuery source, on your local machine, you continue to get permission denied errors. What could be the reason for that?

Options:

A.  

Your gcloud does not have access to the BigQuery resources

B.  

BigQuery cannot be accessed from local machines

C.  

You are missing gcloud on your machine

D.  

Pipelines cannot be run locally

Discussion 0
Questions 33

Cloud Bigtable is a recommended option for storing very large amounts of ____________________________?

Options:

A.  

multi-keyed data with very high latency

B.  

multi-keyed data with very low latency

C.  

single-keyed data with very low latency

D.  

single-keyed data with very high latency

Discussion 0
Questions 34

You are designing the database schema for a machine learning-based food ordering service that will predict what users want to eat. Here is some of the information you need to store:

The user profile: What the user likes and doesn’t like to eat

The user account information: Name, address, preferred meal times

The order information: When orders are made, from where, to whom

The database will be used to store all the transactional data of the product. You want to optimize the data schema. Which Google Cloud Platform product should you use?

Options:

A.  

BigQuery

B.  

Cloud SQL

C.  

Cloud Bigtable

D.  

Cloud Datastore

Discussion 0
Questions 35

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

Options:

A.  

Supervised learning to determine which transactions are most likely to be fraudulent.

B.  

Unsupervised learning to determine which transactions are most likely to be fraudulent.

C.  

Clustering to divide the transactions into N categories based on feature similarity.

D.  

Supervised learning to predict the location of a transaction.

E.  

Reinforcement learning to predict the location of a transaction.

F.  

Unsupervised learning to predict the location of a transaction.

Discussion 0
Questions 36

You are building a model to make clothing recommendations. You know a user’s fashion preference is likely to change over time, so you build a data pipeline to stream new data back to the model as it becomes available. How should you use this data to train the model?

Options:

A.  

Continuously retrain the model on just the new data.

B.  

Continuously retrain the model on a combination of existing data and the new data.

C.  

Train on the existing data while using the new data as your test set.

D.  

Train on the new data while using the existing data as your test set.

Discussion 0
Questions 37

Your company is migrating their 30-node Apache Hadoop cluster to the cloud. They want to re-use Hadoop jobs they have already created and minimize the management of the cluster as much as possible. They also want to be able to persist data beyond the life of the cluster. What should you do?

Options:

A.  

Create a Google Cloud Dataflow job to process the data.

B.  

Create a Google Cloud Dataproc cluster that uses persistent disks for HDFS.

C.  

Create a Hadoop cluster on Google Compute Engine that uses persistent disks.

D.  

Create a Cloud Dataproc cluster that uses the Google Cloud Storage connector.

E.  

Create a Hadoop cluster on Google Compute Engine that uses Local SSD disks.

Discussion 0
Questions 38

You want to process payment transactions in a point-of-sale application that will run on Google Cloud Platform. Your user base could grow exponentially, but you do not want to manage infrastructure scaling.

Which Google database service should you use?

Options:

A.  

Cloud SQL

B.  

BigQuery

C.  

Cloud Bigtable

D.  

Cloud Datastore

Discussion 0
Questions 39

You are updating the code for a subscriber to a Put/Sub feed. You are concerned that upon deployment the subscriber may erroneously acknowledge messages, leading to message loss. You subscriber is not set up to retain acknowledged messages. What should you do to ensure that you can recover from errors after deployment?

Options:

A.  

Use Cloud Build for your deployment if an error occurs after deployment, use a Seek operation to locate a tmestamp logged by Cloud Build at the start of the deployment

B.  

Create 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

C.  

Set up the Pub/Sub emulator on your local machine Validate the behavior of your new subscriber togs before deploying it to production

D.  

Enable dead-lettering on the Pub/Sub topic to capture messages that aren't successful acknowledged if an error occurs after deployment, re-deliver any messages captured by the dead-letter queue

Discussion 0
Questions 40

You are implementing a chatbot to help an online retailer streamline their customer service. The chatbot must be able to respond to both text and voice inquiries. You are looking for a low-code or no-code option, and you want to be able to easily train the chatbot to provide answers to keywords. What should you do?

Options:

A.  

Use the Speech-to-Text API to build a Python application in App Engine.

B.  

Use the Speech-to-Text API to build a Python application in a Compute Engine instance.

C.  

Use Dialogflow for simple queries and the Speech-to-Text API for complex queries.

D.  

Use Dialogflow to implement the chatbot. defining the intents based on the most common queries collected.

Discussion 0
Questions 41

You have 100 GB of data stored in a BigQuery table. This data is outdated and will only be accessed one or two times a year for analytics with SQL. For backup purposes, you want to store this data to be immutable for 3 years. You want to minimize storage costs. What should you do?

Options:

A.  

1 Create a BigQuery table clone.2. Query the clone when you need to perform analytics.

B.  

1 Create a BigQuery table snapshot.2 Restore the snapshot when you need to perform analytics.

C.  

1. Perform a BigQuery export to a Cloud Storage bucket with archive storage class.2 Enable versionmg on the bucket.3. Create a BigQuery external table on the exported files.

D.  

1 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.

Discussion 0
Questions 42

You are building an ELT solution in BigQuery by using Dataform. You need to perform uniqueness and null value checks on your final tables. What should you do to efficiently integrate these checks into your pipeline?

Options:

A.  

Build Dataform assertions into your code

B.  

Write a Spark-based stored procedure.

C.  

Build BigQuery user-defined functions (UDFs).

D.  

Create Dataplex data quality tasks.

Discussion 0
Questions 43

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

Options:

A.  

Storage Transfer Service for the migration, Pub/Sub and Cloud Data Fusion for the real-time updates

B.  

BigQuery Data Transfer Service for the migration, Pub/Sub and Dataproc for the real-time updates

C.  

gsutil for the migration; Pub/Sub and Dataflow for the real-time updates

D.  

gsutil for both the migration and the real-time updates

Discussion 0
Questions 44

Your team runs a complex analytical query daily that processes terabytes of data. Recently, after running for 20 minutes, the query fails with a "Resources exceeded" error. You need to resolve this issue. What should you do?

Options:

A.  

Increase your project's BigQuery API request quota.

B.  

Analyze the SQL syntax for errors.

C.  

Increase the maximum table size limit.

D.  

Move from BigQuery on-demand to slot reservations.

Discussion 0
Questions 45

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

Options:

A.  

Select Cloud Workflows.

B.  

Select Cloud Composer.

C.  

Select Compute Engine with cron.

D.  

Select Dataproc with Apache Oozie.

Discussion 0
Questions 46

You are designing a real-time system for a ride hailing app that identifies areas with high demand for rides to effectively reroute available drivers to meet the demand. The system ingests data from multiple sources to 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. The data processing involves real-time aggregation of supply and demand data for the last 30 seconds, every 2 seconds, and storing the results in a low-latency system for visualization. What should you do?

Options:

A.  

Group the data by using a tumbling window in a Dataflow pipeline, and write the aggregated data to Memorystore

B.  

Group the data by using a hopping window in a Dataflow pipeline, and write the aggregated data to Memorystore

C.  

Group the data by using a session window in a Dataflow pipeline, and write the aggregated data to BigQuery.

D.  

Group the data by using a hopping window in a Dataflow pipeline, and write the aggregated data to BigQuery.

Discussion 0
Questions 47

You are planning to load some of your existing on-premises data into BigQuery on Google Cloud. You want to either stream or batch-load data, depending on your use case. Additionally, you want to mask some sensitive data before loading into BigQuery. You need to do this in a programmatic way while keeping costs to a minimum. What should you do?

Options:

A.  

Use 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.

B.  

Create 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.

C.  

Use Cloud Data Fusion to design your pipeline, use the Cloud DLP plug-in to de-identify data within your pipeline, and then move the datainto BigQuery.

D.  

Set up Datastream to replicate your on-premise data on BigQuery.

Discussion 0
Questions 48

You are deploying a new storage system for your mobile application, which is a media streaming service. You decide the best fit is Google Cloud Datastore. You have entities with multiple properties, some of which can take on multiple values. For example, in the entity ‘Movie’ the property ‘actors’ and the property ‘tags’ have multiple values but the property ‘date released’ does not. A typical query would ask for all movies with actor= ordered by date_released or all movies with tag=Comedy ordered by date_released. How should you avoid a combinatorial explosion in the number of indexes?

Options:

A.  

Option A

B.  

Option

B.  

C.  

Option C

D.  

Option D

Discussion 0
Questions 49

You are architecting a data transformation solution for BigQuery. Your developers are proficient with SOL and want to use the ELT development technique. In addition, your developers need an intuitive coding environment and the ability to manage SQL as code. You need to identify a solution for your developers to build these pipelines. What should you do?

Options:

A.  

Use Cloud Composer to load data and run SQL pipelines by using the BigQuery job operators.

B.  

Use Dataflow jobs to read data from Pub/Sub, transform the data, and load the data to BigQuery.

C.  

Use Dataform to build, manage, and schedule SQL pipelines.

D.  

Use Data Fusion to build and execute ETL pipelines

Discussion 0
Questions 50

You work for an economic consulting firm that helps companies identify economic trends as they happen. 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 of these goods are updated every 30 minutes. You want to make sure this data stays up to date so you can combine it with other data in BigQuery as cheaply as possible. What should you do?

Options:

A.  

Load the data every 30 minutes into a new partitioned table in BigQuery.

B.  

Store and update the data in a regional Google Cloud Storage bucket and create a federated data source in BigQuery

C.  

Store 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

D.  

Store 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.

Discussion 0
Questions 51

Your company produces 20,000 files every hour. Each data file is formatted as a comma separated values (CSV) file that is less than 4 KB. All files must be ingested on Google Cloud Platform before they can be processed. Your company site has a 200 ms latency to Google Cloud, and your Internet connection bandwidth is limited as 50 Mbps. You currently deploy a secure FTP (SFTP) server on a virtual machine in Google Compute Engine as the data ingestion point. A local SFTP client runs on a dedicated machine to transmit the CSV files as is. The goal is to make reports with data from the previous day available to the executives by 10:00 a.m. each day. This design is barely able to keep up with the current volume, even though the bandwidth utilization is rather low.

You are told that due to seasonality, your company expects the number of files to double for the next three months. Which two actions should you take? (choose two.)

Options:

A.  

Introduce data compression for each file to increase the rate file of file transfer.

B.  

Contact your internet service provider (ISP) to increase your maximum bandwidth to at least 100 Mbps.

C.  

Redesign the data ingestion process to use gsutil tool to send the CSV files to a storage bucket in parallel.

D.  

Assemble 1,000 files into a tape archive (TAR) file. Transmit the TAR files instead, and disassemble the CSV files in the cloud upon receiving them.

E.  

Create an S3-compatible storage endpoint in your network, and use Google Cloud Storage Transfer Service to transfer on-premices data to the designated storage bucket.

Discussion 0
Questions 52

You work for a large fast food restaurant chain with over 400,000 employees. You store employee information in Google BigQuery in a Users table consisting of a FirstName field and a LastName field. A member of IT is building an application and asks you to modify the schema and data in BigQuery so the application can query a FullName field consisting of the value of the FirstName field concatenated with a space, followed by the value of the LastName field for each employee. How can you make that data available while minimizing cost?

Options:

A.  

Create a view in BigQuery that concatenates the FirstName and LastName field values to produce the FullName.

B.  

Add a new column called FullName to the Users table. Run an UPDATE statement that updates the FullName column for each user with the concatenation of the FirstName and LastName values.

C.  

Create a Google Cloud Dataflow job that queries BigQuery for the entire Users table, concatenates the FirstName value and LastName value for each user, and loads the proper values for FirstName, LastName, and FullName into a new table in BigQuery.

D.  

Use BigQuery to export the data for the table to a CSV file. Create a Google Cloud Dataproc job to process the CSV file and output a new CSV file containing the proper values for FirstName, LastName and FullName. Run a BigQuery load job to load the new CSV file into BigQuery.

Discussion 0
Questions 53

Your company has recently grown rapidly and now ingesting data at a significantly higher rate than it was previously. You manage the daily batch MapReduce analytics jobs in Apache Hadoop. However, the recent increase in data has meant the batch jobs are falling behind. You were asked to recommend ways the development team could increase the responsiveness of the analytics without increasing costs. What should you recommend they do?

Options:

A.  

Rewrite the job in Pig.

B.  

Rewrite the job in Apache Spark.

C.  

Increase the size of the Hadoop cluster.

D.  

Decrease the size of the Hadoop cluster but also rewrite the job in Hive.

Discussion 0
Questions 54

Your company is loading comma-separated values (CSV) files into Google BigQuery. The data is fully imported successfully; however, the imported data is not matching byte-to-byte to the source file. What is the most likely cause of this problem?

Options:

A.  

The CSV data loaded in BigQuery is not flagged as CSV.

B.  

The CSV data has invalid rows that were skipped on import.

C.  

The CSV data loaded in BigQuery is not using BigQuery’s default encoding.

D.  

The CSV data has not gone through an ETL phase before loading into BigQuery.

Discussion 0
Questions 55

You are choosing a NoSQL database to handle telemetry data submitted from millions of Internet-of-Things (IoT) devices. The volume of data is growing at 100 TB per year, and each data entry has about 100 attributes. The data processing pipeline does not require atomicity, consistency, isolation, and durability (ACID). However, high availability and low latency are required.

You need to analyze the data by querying against individual fields. Which three databases meet your requirements? (Choose three.)

Options:

A.  

Redis

B.  

HBase

C.  

MySQL

D.  

MongoDB

E.  

Cassandra

F.  

HDFS with Hive

Discussion 0
Questions 56

MJTelco needs you to create a schema in Google Bigtable that will allow for the historical analysis of the last 2 years of records. Each record that comes in is sent every 15 minutes, and contains a unique identifier of the device and a data record. The most common query is for all the data for a given device for a given day. Which schema should you use?

Options:

A.  

Rowkey: date#device_idColumn data: data_point

B.  

Rowkey: dateColumn data: device_id, data_point

C.  

Rowkey: device_idColumn data: date, data_point

D.  

Rowkey: data_pointColumn data: device_id, date

E.  

Rowkey: date#data_pointColumn data: device_id

Discussion 0
Questions 57

You create a new report for your large team in Google Data Studio 360. The report uses Google BigQuery as its data source. It is company policy to ensure employees can view only the data associated with their region, so you create and populate a table for each region. You need to enforce the regional access policy to the data.

Which two actions should you take? (Choose two.)

Options:

A.  

Ensure all the tables are included in global dataset.

B.  

Ensure each table is included in a dataset for a region.

C.  

Adjust the settings for each table to allow a related region-based security group view access.

D.  

Adjust the settings for each view to allow a related region-based security group view access.

E.  

Adjust the settings for each dataset to allow a related region-based security group view access.

Discussion 0
Questions 58

MJTelco is building a custom interface to share data. They have these requirements:

They need to do aggregations over their petabyte-scale datasets.

They need to scan specific time range rows with a very fast response time (milliseconds).

Which combination of Google Cloud Platform products should you recommend?

Options:

A.  

Cloud Datastore and Cloud Bigtable

B.  

Cloud Bigtable and Cloud SQL

C.  

BigQuery and Cloud Bigtable

D.  

BigQuery and Cloud Storage

Discussion 0
Questions 59

You need to compose visualization for operations teams with the following requirements:

Telemetry must include data from all 50,000 installations for the most recent 6 weeks (sampling once every minute)

The report must not be more than 3 hours delayed from live data.

The actionable report should only show suboptimal links.

Most suboptimal links should be sorted to the top.

Suboptimal links can be grouped and filtered by regional geography.

User response time to load the report must be <5 seconds.

You create a data source to store the last 6 weeks of data, and create visualizations that allow viewers to see multiple date ranges, distinct geographic regions, and unique installation types. You always show the latest data without any changes to your visualizations. You want to avoid creating and updating new visualizations each month. What should you do?

Options:

A.  

Look through the current data and compose a series of charts and tables, one for each possiblecombination of criteria.

B.  

Look through the current data and compose a small set of generalized charts and tables bound to criteria filters that allow value selection.

C.  

Export the data to a spreadsheet, compose a series of charts and tables, one for each possiblecombination of criteria, and spread them across multiple tabs.

D.  

Load the data into relational database tables, write a Google App Engine application that queries all rows, summarizes the data across each criteria, and then renders results using the Google Charts and visualization API.

Discussion 0
Questions 60

Given the record streams MJTelco is interested in ingesting per day, they are concerned about the cost of Google BigQuery increasing. MJTelco asks you to provide a design solution. They require a single large data table called tracking_table. Additionally, they want to minimize the cost of daily queries while performing fine-grained analysis of each day’s events. They also want to use streaming ingestion. What should you do?

Options:

A.  

Create a table called tracking_table and include a DATE column.

B.  

Create a partitioned table called tracking_table and include a TIMESTAMP column.

C.  

Create sharded tables for each day following the pattern tracking_table_YYYYMMDD.

D.  

Create a table called tracking_table with a TIMESTAMP column to represent the day.

Discussion 0
Questions 61

MJTelco’s Google Cloud Dataflow pipeline is now ready to start receiving data from the 50,000 installations. You want to allow Cloud Dataflow to scale its compute power up as required. Which Cloud Dataflow pipeline configuration setting should you update?

Options:

A.  

The zone

B.  

The number of workers

C.  

The disk size per worker

D.  

The maximum number of workers

Discussion 0
Questions 62

You need to compose visualizations for operations teams with the following requirements:

Which approach meets the requirements?

Options:

A.  

Load the data into Google Sheets, use formulas to calculate a metric, and use filters/sorting to show only suboptimal links in a table.

B.  

Load the data into Google BigQuery tables, write Google Apps Script that queries the data, calculates the metric, and shows only suboptimal rows in a table in Google Sheets.

C.  

Load the data into Google Cloud Datastore tables, write a Google App Engine Application that queries all rows, applies a function to derive the metric, and then renders results in a table using the Google charts and visualization API.

D.  

Load the data into Google BigQuery tables, write a Google Data Studio 360 report that connects to your data, calculates a metric, and then uses a filter expression to show only suboptimal rows in a table.

Discussion 0
Questions 63

Flowlogistic’s CEO wants to gain rapid insight into their customer base so his sales team can be better informed in the field. This team is not very technical, so they’ve purchased a visualization tool to simplify the creation of BigQuery reports. However, they’ve been overwhelmed by all thedata in the table, and are spending a lot of money on queries trying to find the data they need. You want to solve their problem in the most cost-effective way. What should you do?

Options:

A.  

Export the data into a Google Sheet for virtualization.

B.  

Create an additional table with only the necessary columns.

C.  

Create a view on the table to present to the virtualization tool.

D.  

Create identity and access management (IAM) roles on the appropriate columns, so only they appear in a query.

Discussion 0
Questions 64

Flowlogistic is rolling out their real-time inventory tracking system. The tracking devices will all send package-tracking messages, which will now go to a single Google Cloud Pub/Sub topic instead of the Apache Kafka cluster. A subscriber application will then process the messages for real-time reporting and store them in Google BigQuery for historical analysis. You want to ensure the package data can be analyzed over time.

Which approach should you take?

Options:

A.  

Attach the timestamp on each message in the Cloud Pub/Sub subscriber application as they are received.

B.  

Attach the timestamp and Package ID on the outbound message from each publisher device as they are sent to Clod Pub/Sub.

C.  

Use the NOW () function in BigQuery to record the event’s time.

D.  

Use the automatically generated timestamp from Cloud Pub/Sub to order the data.

Discussion 0
Questions 65

Flowlogistic’s management has determined that the current Apache Kafka servers cannot handle the data volume for their real-time inventory tracking system. You need to build a new system on Google Cloud Platform (GCP) that will feed the proprietary tracking software. The system must be able to ingest data from a variety of global sources, process and query in real-time, and store the data reliably. Which combination of GCP products should you choose?

Options:

A.  

Cloud Pub/Sub, Cloud Dataflow, and Cloud Storage

B.  

Cloud Pub/Sub, Cloud Dataflow, and Local SSD

C.  

Cloud Pub/Sub, Cloud SQL, and Cloud Storage

D.  

Cloud Load Balancing, Cloud Dataflow, and Cloud Storage

Discussion 0
Questions 66

Flowlogistic wants to use Google BigQuery as their primary analysis system, but they still have Apache Hadoop and Spark workloads that they cannot move to BigQuery. Flowlogistic does not know how to store the data that is common to both workloads. What should they do?

Options:

A.  

Store the common data in BigQuery as partitioned tables.

B.  

Store the common data in BigQuery and expose authorized views.

C.  

Store the common data encoded as Avro in Google Cloud Storage.

D.  

Store he common data in the HDFS storage for a Google Cloud Dataproc cluster.

Discussion 0
Questions 67

You are building new real-time data warehouse for your company and will use Google BigQuery streaming inserts. There is no guarantee that data will only be sent in once but you do have a unique ID for each row of data and an event timestamp. You want to ensure that duplicates are not included while interactively querying data. Which query type should you use?

Options:

A.  

Include ORDER BY DESK on timestamp column and LIMIT to 1.

B.  

Use GROUP BY on the unique ID column and timestamp column and SUM on the values.

C.  

Use the LAG window function with PARTITION by unique ID along with WHERE LAG IS NOT NULL.

D.  

Use the ROW_NUMBER window function with PARTITION by unique ID along with WHERE row equals 1.

Discussion 0
Questions 68

Different teams in your organization store customer and performance data in BigOuery. Each team needs to keep full control of their collected data, be able to query data within their projects, and be able to exchange their data with other teams. You need to implement an organization-wide solution, while minimizing operational tasks and costs. What should you do?

Options:

A.  

Create a BigQuery scheduled query to replicate all customer data into team projects.

B.  

Enable each team to create materialized views of the data they need to access in their projects.

C.  

Ask each team to publish their data in Analytics Hub. Direct the other teams to subscribe to them.

D.  

Ask each team to create authorized views of their data. Grant the biquery. jobUser role to each team.

Discussion 0
Questions 69

You work for a manufacturing plant that batches application log files together into a single log file once a day at 2:00 AM. You have written a Google Cloud Dataflow job to process that log file. You need to make sure the log file in processed once per day as inexpensively as possible. What should you do?

Options:

A.  

Change the processing job to use Google Cloud Dataproc instead.

B.  

Manually start the Cloud Dataflow job each morning when you get into the office.

C.  

Create a cron job with Google App Engine Cron Service to run the Cloud Dataflow job.

D.  

Configure the Cloud Dataflow job as a streaming job so that it processes the log data immediately.

Discussion 0
Questions 70

To run a TensorFlow training job on your own computer using Cloud Machine Learning Engine, what would your command start with?

Options:

A.  

gcloud ml-engine local train

B.  

gcloud ml-engine jobs submit training

C.  

gcloud ml-engine jobs submit training local

D.  

You can't run a TensorFlow program on your own computer using Cloud ML Engine .

Discussion 0
Questions 71

Scaling a Cloud Dataproc cluster typically involves ____.

Options:

A.  

increasing or decreasing the number of worker nodes

B.  

increasing or decreasing the number of master nodes

C.  

moving memory to run more applications on a single node

D.  

deleting applications from unused nodes periodically

Discussion 0
Questions 72

When you store data in Cloud Bigtable, what is the recommended minimum amount of stored data?

Options:

A.  

500 TB

B.  

1 GB

C.  

1 TB

D.  

500 GB

Discussion 0
Questions 73

What Dataflow concept determines when a Window's contents should be output based on certain criteria being met?

Options:

A.  

Sessions

B.  

OutputCriteria

C.  

Windows

D.  

Triggers

Discussion 0
Questions 74

Which Google Cloud Platform service is an alternative to Hadoop with Hive?

Options:

A.  

Cloud Dataflow

B.  

Cloud Bigtable

C.  

BigQuery

D.  

Cloud Datastore

Discussion 0
Questions 75

Which is the preferred method to use to avoid hotspotting in time series data in Bigtable?

Options:

A.  

Field promotion

B.  

Randomization

C.  

Salting

D.  

Hashing

Discussion 0
Questions 76

Which of the following statements about Legacy SQL and Standard SQL is not true?

Options:

A.  

Standard SQL is the preferred query language for BigQuery.

B.  

If you write a query in Legacy SQL, it might generate an error if you try to run it with Standard SQL.

C.  

One difference between the two query languages is how you specify fully-qualified table names (i.e. table names that include their associated project name).

D.  

You need to set a query language for each dataset and the default is Standard SQL.

Discussion 0
Questions 77

The CUSTOM tier for Cloud Machine Learning Engine allows you to specify the number of which types of cluster nodes?

Options:

A.  

Workers

B.  

Masters, workers, and parameter servers

C.  

Workers and parameter servers

D.  

Parameter servers

Discussion 0
Questions 78

Which SQL keyword can be used to reduce the number of columns processed by BigQuery?

Options:

A.  

BETWEEN

B.  

WHERE

C.  

SELECT

D.  

LIMIT

Discussion 0
Questions 79

If you want to create a machine learning model that predicts the price of a particular stock based on its recent price history, what type of estimator should you use?

Options:

A.  

Unsupervised learning

B.  

Regressor

C.  

Classifier

D.  

Clustering estimator

Discussion 0
Questions 80

By default, which of the following windowing behavior does Dataflow apply to unbounded data sets?

Options:

A.  

Windows at every 100 MB of data

B.  

Single, Global Window

C.  

Windows at every 1 minute

D.  

Windows at every 10 minutes

Discussion 0