Your company is in the process of migrating its on-premises data warehousing solutions to BigQuery. The existing data warehouse uses triggerbased change data capture (CDC) to apply updates from multiple transactional database sources on a daily basis. With BigQuery, your company hopes to improve its handling of CDC so that changes to the source systems are available to query in BigQuery in near-real time using log-based CDC streams, while also optimizing for the performance of applying changes to the data warehouse. Which two steps should they take to ensure that changes are available in the BigQuery reporting table with minimal latency while reducing compute overhead? (Choose two.)
PDE-2022-3

Quiz
•
Professional Development
•
Professional Development
•
Medium

Balamurugan R
Used 75+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Perform a DML INSERT, UPDATE, or DELETE to replicate each individual CDC record in real time directly on the reporting table.
Insert each new CDC record and corresponding operation type to a staging table in real time.
Periodically DELETE outdated records from the reporting table.
Periodically use a DML MERGE to perform several DML INSERT, UPDATE, and DELETE operations at the same time on the reporting table.
Insert each new CDC record and corresponding operation type in real time to the reporting table, and use a materialized view to expose only the newest version of each unique record.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You are designing a data processing pipeline. The pipeline must be able to scale automatically as load increases. Messages must be processed at least once and must be ordered within windows of 1 hour. How should you design the solution?
Use Apache Kafka for message ingestion and use Cloud Dataproc for streaming analysis.
Use Apache Kafka for message ingestion and use Cloud Dataflow for streaming analysis.
Use Cloud Pub/Sub for message ingestion and Cloud Dataproc for streaming analysis.
Use Cloud Pub/Sub for message ingestion and Cloud Dataflow for streaming analysis
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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?
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.
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.
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.
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.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You operate a database that stores stock trades and an application that retrieves average stock price for a given company over an adjustable window of time. The data is stored in Cloud Bigtable where the datetime of the stock trade is the beginning of the row key. Your application has thousands of concurrent users, and you notice that performance is starting to degrade as more stocks are added. What should you do to improve the performance of your application?
Change the row key syntax in your Cloud Bigtable table to begin with the stock symbol.
Change the row key syntax in your Cloud Bigtable table to begin with a random number per second.
Change the data pipeline to use BigQuery for storing stock trades, and update your application.
Use Cloud Dataflow to write a summary of each day's stock trades to an Avro file on Cloud Storage. Update your application to read from Cloud Storage and Cloud Bigtable to compute the responses.
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You are operating a Cloud Dataflow streaming pipeline. The pipeline aggregates events from a Cloud Pub/Sub subscription source, within a window, and sinks the resulting aggregation to a Cloud Storage bucket. The source has consistent throughput. You want to monitor an alert on behavior of the pipeline with Cloud Stackdriver to ensure that it is processing data. Which Stackdriver alerts should you create?
An alert based on a decrease of subscription/num_undelivered_messages for the source and a rate of change increase of instance/storage/ used_bytes for the destination
An alert based on an increase of subscription/num_undelivered_messages for the source and a rate of change decrease of instance/storage/ used_bytes for the destination
An alert based on a decrease of instance/storage/used_bytes for the source and a rate of change increase of subscription/ num_undelivered_messages for the destination
An alert based on an increase of instance/storage/used_bytes for the source and a rate of change decrease of subscription/ num_undelivered_messages for the destination
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You currently have a single on-premises Kafka cluster in a data center in the us-east region that is responsible for ingesting messages from IoT devices globally. Because large parts of globe have poor internet connectivity, messages sometimes batch at the edge, come in all at once, and cause a spike in load on your Kafka cluster. This is becoming difficult to manage and prohibitively expensive. What is the Google-recommended cloud native architecture for this scenario?
Edge TPUs as sensor devices for storing and transmitting the messages.
Cloud Dataflow connected to the Kafka cluster to scale the processing of incoming messages.
An IoT gateway connected to Cloud Pub/Sub, with Cloud Dataflow to read and process the messages from Cloud Pub/Sub.
A Kafka cluster virtualized on Compute Engine in us-east with Cloud Load Balancing to connect to the devices around the world.
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
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 longterm 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 two.)
Use managed export, and store the data in a Cloud Storage bucket using Nearline or Coldline class.
Use managed export, and then import to Cloud Datastore in a separate project under a unique namespace reserved for that export.
Use managed export, and then import the data into a BigQuery table created just for that export, and delete temporary export files
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.
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.
Create a free account and access millions of resources
Similar Resources on Quizizz
51 questions
Google Professional Cloud Security Engineer Exam (Part 3)

Quiz
•
Professional Development
48 questions
AWS API Gateway

Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #5

Quiz
•
University - Professi...
47 questions
Cloud Computing Chapter-4 (A)

Quiz
•
Professional Development
53 questions
xyza

Quiz
•
Professional Development
46 questions
AZ400 quiz prelim prep 2

Quiz
•
Professional Development
50 questions
PCD-1

Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #4

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade