Big Black Friday 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 Nov 30, 2025
Total Questions : 387

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

You work for a large ecommerce company. You are using Pub/Sub to ingest the clickstream data to Google Cloud for analytics. You observe that when a new subscriber connects to an existing topic to analyze data, they are unable to subscribe to older data for an upcoming yearly sale event in two months, you need a solution that, once implemented, will enable any new subscriber to read the last 30 days of data. What should you do?

Options:

A.  

Create a new topic, and publish the last 30 days of data each time a new subscriber connects to an existing topic.

B.  

Set the topic retention policy to 30 days.

C.  

Set the subscriber retention policy to 30 days.

D.  

Ask the source system to re-push the data to Pub/Sub, and subscribe to it.

Discussion 0
Questions 2

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 3

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 4

You want to encrypt the customer data stored in BigQuery. You need to implement for-user crypto-deletion on data stored in your tables. You want to adopt native features in Google Cloud to avoid custom solutions. What should you do?

Options:

A.  

Create a customer-managed encryption key (CMEK) in Cloud KMS. Associate the key to the table while creating the table.

B.  

Create a customer-managed encryption key (CMEK) in Cloud KMS. Use the key to encrypt data before storing in BigQuery.

C.  

Implement Authenticated Encryption with Associated Data (AEAD) BigQuery functions while storing your data in BigQuery.

D.  

Encrypt your data during ingestion by using a cryptographic library supported by your ETL pipeline.

Discussion 0
Questions 5

You designed a data warehouse in BigQuery to analyze sales data. You want a self-serving, low-maintenance, and cost-effective solution to share the sales dataset to other business units in your organization. What should you do?

Options:

A.  

Enable the other business units' projects to access the authorized views of the sales dataset.

B.  

Use the BigQuery Data Transfer Service to create a schedule that copies the sales dataset to the other business units’ projects.

C.  

Create an Analytics Hub private exchange, and publish the sales dataset.

D.  

Create and share views with the users in the other business units.

Discussion 0
Questions 6

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 7

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 8

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 9

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 10

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 11

You are designing a pipeline that publishes application events to a Pub/Sub topic. You need to aggregate events across hourly intervals before loading the results to BigQuery for analysis. Your solution must be scalable so it can process and load large volumes of events to BigQuery. What should you do?

Options:

A.  

Create a streaming Dataflow job to continually read from the Pub/Sub topic and perform the necessary aggregations using tumbling windows

B.  

Schedule a batch Dataflow job to run hourly, pulling all available messages from the Pub-Sub topic and performing the necessary aggregations

C.  

Schedule a Cloud Function to run hourly, pulling all avertable messages from the Pub/Sub topic and performing the necessary aggregations

D.  

Create a Cloud Function to perform the necessary data processing that executes using the Pub/Sub trigger every time a new message is published to the topic.

Discussion 0
Questions 12

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 13

You want to build a managed Hadoop system as your data lake. The data transformation process is composed of a series of Hadoop jobs executed in sequence. To accomplish the design of separating storage from compute, you decided to use the Cloud Storage connector to store all input data, output data, and intermediary data. However, you noticed that one Hadoop job runsvery slowly with Cloud Dataproc, when compared with the on-premises bare-metal Hadoop environment (8-core nodes with 100-GB RAM). Analysis shows that this particular Hadoop job is disk I/O intensive. You want to resolve the issue. What should you do?

Options:

A.  

Allocate sufficient memory to the Hadoop cluster, so that the intermediary data of that particular Hadoop job can be held in memory

B.  

Allocate sufficient persistent disk space to the Hadoop cluster, and store the intermediate data of that particular Hadoop job on native HDFS

C.  

Allocate more CPU cores of the virtual machine instances of the Hadoop cluster so that the networking bandwidth for each instance can scale up

D.  

Allocate additional network interface card (NIC), and configure link aggregation in the operating system to use the combined throughput when working with Cloud Storage

Discussion 0
Questions 14

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 15

You want to create a machine learning model using BigQuery ML and create an endpoint foe hosting the model using Vertex Al. This will enable the processing of continuous streaming data in near-real time from multiple vendors. The data may contain invalid values. What should you do?

Options:

A.  

Create a new BigOuery dataset and use streaming inserts to land the data from multiple vendors. Configure your BigQuery ML model to use the "ingestion' dataset as the training data.

B.  

Use BigQuery streaming inserts to land the data from multiple vendors whore your BigQuery dataset ML model is deployed.

C.  

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

D.  

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

Discussion 0
Questions 16

You want to automate execution of a multi-step data pipeline running on Google Cloud. The pipeline includes Cloud Dataproc and Cloud Dataflow jobs that have multiple dependencies on each other. You want to use managed services where possible, and the pipeline will run every day. Which tool should you use?

Options:

A.  

cron

B.  

Cloud Composer

C.  

Cloud Scheduler

D.  

Workflow Templates on Cloud Dataproc

Discussion 0
Questions 17

You are designing a data mesh on Google Cloud by using Dataplex to manage data in BigQuery and Cloud Storage. You want to simplify data asset permissions. You are creating a customer virtual lake with two user groups:

• Data engineers, which require lull data lake access

• Analytic users, which require access to curated data

You need to assign access rights to these two groups. What should you do?

Options:

A.  

1. Grant the dataplex.dataOwner role to the data engineer group on the customer data lake.2. Grant the dataplex.dataReader role to the analytic user group on the customer curated zone.

B.  

1. Grant the dataplex.dataReader role to the data engineer group on the customer data lake.2. Grant the dataplex.dataOwner to the analytic user group on the customer curated zone.

C.  

1. Grant the bigquery.dataownex role on BigQuery datasets and the storage.objectcreator role on Cloud Storage buckets to data engineers. 2. Grant the bigquery.dataViewer role on BigQuery datasets and the storage.objectViewer role on Cloud Storage buckets to analytic users.

D.  

1. Grant the bigquery.dataViewer role on BigQuery datasets and the storage.objectviewer role on Cloud Storage buckets to data engineers.2. Grant the bigquery.dataOwner role on BigQuery datasets and the storage.objectEditor role on Cloud Storage buckets to analytic users.

Discussion 0
Questions 18

You are creating a new pipeline in Google Cloud to stream IoT data from Cloud Pub/Sub through Cloud Dataflow to BigQuery. While previewing the data, you notice that roughly 2% of the data appears to be corrupt. You need to modify the Cloud Dataflow pipeline to filter out this corrupt data. What should you do?

Options:

A.  

Add a SideInput that returns a Boolean if the element is corrupt.

B.  

Add a ParDo transform in Cloud Dataflow to discard corrupt elements.

C.  

Add a Partition transform in Cloud Dataflow to separate valid data from corrupt data.

D.  

Add a GroupByKey transform in Cloud Dataflow to group all of the valid data together and discard the rest.

Discussion 0
Questions 19

Data Analysts in your company have the Cloud IAM Owner role assigned to them in their projects to allow them to work with multiple GCP products in their projects. Your organization requires that all BigQuery data access logs be retained for 6 months. You need to ensure that only audit personnel in your company can access the data access logs for all projects. What should you do?

Options:

A.  

Enable data access logs in each Data Analyst’s project. Restrict access to Stackdriver Logging via Cloud IAM roles.

B.  

Export the data access logs via a project-level export sink to a Cloud Storage bucket in the Data Analysts’ projects. Restrict access to the Cloud Storage bucket.

C.  

Export the data access logs via a project-level export sink to a Cloud Storage bucket in a newly created projects for audit logs. Restrict access to the project with the exported logs.

D.  

Export the data access logs via an aggregated export sink to a Cloud Storage bucket in a newly created project for audit logs. Restrict access to the project that contains the exported logs.

Discussion 0
Questions 20

You are designing a messaging system by using Pub/Sub to process clickstream data with an event-driven consumer app that relies on a push subscription. You need to configure the messaging system that is reliable enough to handle temporary downtime of the consumer app. You also need the messaging system to store the input messages that cannot be consumed by the subscriber. The system needs to retry failed messages gradually, avoiding overloading the consumer app, and store the failed messages after a maximum of 10 retries in a topic. How should you configure the Pub/Sub subscription?

Options:

A.  

Increase the acknowledgement deadline to 10 minutes.

B.  

Use immediate redelivery as the subscription retry policy, and configure dead lettering to a different topic with maximum delivery attempts set to 10.

C.  

Use exponential backoff as the subscription retry policy, and configure dead lettering to the same source topic with maximum delivery attempts set to 10.

D.  

Use exponential backoff as the subscription retry policy, and configure dead lettering to a different topic with maximum delivery attempts set to 10.

Discussion 0
Questions 21

Your company has a hybrid cloud initiative. You have a complex data pipeline that moves data between cloud provider services and leverages services from each of the cloud providers. Which cloud-native service should you use to orchestrate the entire pipeline?

Options:

A.  

Cloud Dataflow

B.  

Cloud Composer

C.  

Cloud Dataprep

D.  

Cloud Dataproc

Discussion 0
Questions 22

You recently deployed several data processing jobs into your Cloud Composer 2 environment. You notice that some tasks are failing in Apache Airflow. On the monitoring dashboard, you see an increase in the total workers’ memory usage, and there were worker pod evictions. You need to resolve these errors. What should you do?

Choose 2 answers

Options:

A.  

Increase the directed acyclic graph (DAG) file parsing interval.

B.  

Increase the memory available to the Airflow workers.

C.  

Increase the maximum number of workers and reduce worker concurrency.

D.  

Increase the memory available to the Airflow triggerer.

E.  

Increase the Cloud Composer 2 environment size from medium to large.

Discussion 0
Questions 23

An online retailer has built their current application on Google App Engine. A new initiative at the company mandates that they extend their application to allow their customers to transact directly via the application.

They need to manage their shopping transactions and analyze combined data from multiple datasets using a business intelligence (BI) tool. They want to use only a single database for this purpose. Which Google Cloud database should they choose?

Options:

A.  

BigQuery

B.  

Cloud SQL

C.  

Cloud BigTable

D.  

Cloud Datastore

Discussion 0
Questions 24

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 25

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 26

You are creating a model to predict housing prices. Due to budget constraints, you must run it on a single resource-constrained virtual machine. Which learning algorithm should you use?

Options:

A.  

Linear regression

B.  

Logistic classification

C.  

Recurrent neural network

D.  

Feedforward neural network

Discussion 0
Questions 27

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 28

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 29

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 30

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 31

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 32

Your company has hired a new data scientist who wants to perform complicated analyses across very large datasets stored in Google Cloud Storage and in a Cassandra cluster on Google Compute Engine. The scientist primarily wants to create labelled data sets for machine learning projects, along with some visualization tasks. She reports that her laptop is not powerful enough to perform her tasks and it is slowing her down. You want to help her perform her tasks. What should you do?

Options:

A.  

Run a local version of Jupiter on the laptop.

B.  

Grant the user access to Google Cloud Shell.

C.  

Host a visualization tool on a VM on Google Compute Engine.

D.  

Deploy Google Cloud Datalab to a virtual machine (VM) on Google Compute Engine.

Discussion 0
Questions 33

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 34

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 35

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

Options:

A.  

Check the dashboard application to see if it is not displaying correctly.

B.  

Run a fixed dataset through the Cloud Dataflow pipeline and analyze the output.

C.  

Use Google Stackdriver Monitoring on Cloud Pub/Sub to find the missing messages.

D.  

Switch Cloud Dataflow to pull messages from Cloud Pub/Sub instead of Cloud Pub/Sub pushing messages to Cloud Dataflow.

Discussion 0
Questions 36

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 37

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 38

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 39

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 40

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 41

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 42

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 43

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 44

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 45

Your weather app queries a database every 15 minutes to get the current temperature. The frontend is powered by Google App Engine and server millions of users. How should you design the frontend to respond to a database failure?

Options:

A.  

Issue a command to restart the database servers.

B.  

Retry the query with exponential backoff, up to a cap of 15 minutes.

C.  

Retry the query every second until it comes back online to minimize staleness of data.

D.  

Reduce the query frequency to once every hour until the database comes back online.

Discussion 0
Questions 46

Your company’s on-premises Apache Hadoop servers are approaching end-of-life, and IT has decided to migrate the cluster to Google Cloud Dataproc. A like-for-like migration of the cluster would require 50 TB of Google Persistent Disk per node. The CIO is concerned about the cost of using that much block storage. You want to minimize the storage cost of the migration. What should you do?

Options:

A.  

Put the data into Google Cloud Storage.

B.  

Use preemptible virtual machines (VMs) for the Cloud Dataproc cluster.

C.  

Tune the Cloud Dataproc cluster so that there is just enough disk for all data.

D.  

Migrate some of the cold data into Google Cloud Storage, and keep only the hot data in Persistent Disk.

Discussion 0
Questions 47

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 48

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 49

Your company is in a highly regulated industry. One of your requirements is to ensure individual users have access only to the minimum amount of information required to do their jobs. You want to enforce this requirement with Google BigQuery. Which three approaches can you take? (Choose three.)

Options:

A.  

Disable writes to certain tables.

B.  

Restrict access to tables by role.

C.  

Ensure that the data is encrypted at all times.

D.  

Restrict BigQuery API access to approved users.

E.  

Segregate data across multiple tables or databases.

F.  

Use Google Stackdriver Audit Logging to determine policy violations.

Discussion 0
Questions 50

Which methods can be used to reduce the number of rows processed by BigQuery?

Options:

A.  

Splitting tables into multiple tables; putting data in partitions

B.  

Splitting tables into multiple tables; putting data in partitions; using the LIMIT clause

C.  

Putting data in partitions; using the LIMIT clause

D.  

Splitting tables into multiple tables; using the LIMIT clause

Discussion 0
Questions 51

The YARN ResourceManager and the HDFS NameNode interfaces are available on a Cloud Dataproc cluster ____.

Options:

A.  

application node

B.  

conditional node

C.  

master node

D.  

worker node

Discussion 0
Questions 52

Which of the following are feature engineering techniques? (Select 2 answers)

Options:

A.  

Hidden feature layers

B.  

Feature prioritization

C.  

Crossed feature columns

D.  

Bucketization of a continuous feature

Discussion 0
Questions 53

When you design a Google Cloud Bigtable schema it is recommended that you _________.

Options:

A.  

Avoid schema designs that are based on NoSQL concepts

B.  

Create schema designs that are based on a relational database design

C.  

Avoid schema designs that require atomicity across rows

D.  

Create schema designs that require atomicity across rows

Discussion 0
Questions 54

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 55

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 56

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 57

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 58

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 59

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