Docsity

Google Cloud Professional Data Engineer Certification - Comprehensive Exam, Exams of Cybersecurity

Toggle sidebar
bg1
1
1
GCP DATA ENGINEER CERTIFICATION EXAM
QUESTIONS WITH CORRECT ANSWERS 2025/2026
LATEST UPGRADE WITH GCP DATA ENGINEER
CERTIFICATION STUDY GUIDE EXAM QUESTIONS
WITH VERIFIED SOLUTIONS
Laws in the region where you operate require that files related to all orders made each day are
stored immutably for 365 days. The solution that you recommend has to be cost-effective.
What should you do?
A) Store the data in a Cloud Storage bucket, and specify a retention period.
B) Store the data in a Cloud Storage bucket, enable object versioning, and delete any version
greater than 365.
C) Store the data in a Cloud Storage bucket, and enable object versioning and delete any
version older than 365 days.
D) Store the data in a Cloud Storage bucket, and set a lifecycle policy to delete the file after
365 days.
--ANSWER-- A) Store the data in a Cloud Storage bucket, and specify a retention period.
Correct. Object retention is a built-in option that lets you configure how long the files should
remain without allowing any changes.
Business analysts in your team need to run analysis on data that was loaded into BigQuery.
You need to follow recommended practices and grant permissions. What role should you
grant the business analysts?
DO NOT COPY
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Google Cloud Professional Data Engineer Certification - Comprehensive Exam and more Exams Cybersecurity in PDF only on Docsity!

GCP DATA ENGINEER CERTIFICATION EXAM

QUESTIONS WITH CORRECT ANSWERS 2025/

LATEST UPGRADE WITH GCP DATA ENGINEER

CERTIFICATION STUDY GUIDE EXAM QUESTIONS

WITH VERIFIED SOLUTIONS

Laws in the region where you operate require that files related to all orders made each day are stored immutably for 365 days. The solution that you recommend has to be cost-effective. What should you do? A) Store the data in a Cloud Storage bucket, and specify a retention period. B) Store the data in a Cloud Storage bucket, enable object versioning, and delete any version greater than 365. C) Store the data in a Cloud Storage bucket, and enable object versioning and delete any version older than 365 days. D) Store the data in a Cloud Storage bucket, and set a lifecycle policy to delete the file after 365 days. --ANSWER-- A) Store the data in a Cloud Storage bucket, and specify a retention period. Correct. Object retention is a built-in option that lets you configure how long the files should remain without allowing any changes. Business analysts in your team need to run analysis on data that was loaded into BigQuery. You need to follow recommended practices and grant permissions. What role should you grant the business analysts?

DO NOT COPY

  • bigquery.user and bigquery.dataViewer
  • bigquery.dataOwner
  • bigquery.resourceViewer and bigquery.dataViewer
  • storage.objectViewer and bigquery.user --ANSWER-- bigquery.user and bigquery.dataViewer Correct. The analysts need to view the data and run queries on it, which are granted by these predefined roles. Cymbal Retail is migrating its private data centers to Google Cloud. Over many years, hundreds of terabytes of data were accumulated. You currently have a 100 Mbps line and you need to transfer this data reliably before commencing operations on Google Cloud in 45 days. What should you do?
  • Order a transfer appliance, export the data to it, and ship it to Google.
  • Store the data in an HTTPS endpoint, and configure Storage Transfer Service to copy the data to Cloud Storage.
  • Upload the data to Cloud Storage by using gsutil. - Zip and upload the data to Cloud Storage buckets by using the Google Cloud console. --ANSWER-- Order a transfer appliance, export the data to it, and ship it to Google. Correct. For large amounts of data that need to be transferred within a month, a transfer appliance is the right choice. You are migrating on-premises data to a data warehouse on Google Cloud. This data will be made available to business analysts. Local regulations require that customer information including credit card numbers, phone numbers, and email IDs be captured, but not used in

DO NOT COPY

  • Create a Dataflow pipeline with the data fixes you need. --ANSWER-- Load the data into Dataprep, explore the data, and edit the transformations as needed. Correct. Dataprep lets you load large amounts of data and visually fix it, which would be very convenient for those who are unfamiliar with programming. The data wrangling steps can be captured as a series of transformations that can be reapplied later to future data. Cymbal Retail has acquired another company in Europe. Data access permissions and policies in this new region differ from those in Cymbal Retail's headquarters, which is in North America. You need to define a consistent set of policies for projects in each region that follow recommended practices. What should you do?
  • Create a new organization for all projects in Europe and assign policies in each organization that comply with regional laws.
  • Implement a flat hierarchy, and assign policies to each project according to its region.
  • Create top level folders for each region, and assign policies at the folder level.
  • Implement policies at the resource level that comply with regional laws. --ANSWER-- Create top level folders for each region, and assign policies at the folder level. Correct. Folders are used to group related projects within an organization. They can also be used to apply consistent policies for projects within the folder.

DO NOT COPY

You are managing the data for Cymbal Retail, which consists of multiple teams including retail, sales, marketing, and legal. These teams are consuming data from multiple producers including point of sales systems, industry data, orders, and more. Currently, teams that consume data have to repeatedly ask the teams that produce it to verify the most up-to-date data and to clarify other questions about the data, such as source and ownership. This process is unreliable and time-consuming and often leads to repeated escalations. You need to implement a centralized solution that gains a unified view of the organization's data and improves searchability. What should you do?

  • Implement a data mesh with Dataplex and have producers tag data when created.
  • Implement a data warehouse by using BigQuery, and create datasets for each team such as retail, sales, marketing.
  • Implement a data lake with Cloud Storage --ANSWER-- Implement a data mesh with Dataplex and have producers tag data when created. Correct. Dataplex is a data mesh that also includes data cataloging capability with Data Catalog. Consumers of data can search and discover information readily without having to wait for data producers to respond, which reduces the bottlenecks on data analysis. You are using Dataproc to process a large number of CSV files. The storage option you choose needs to be flexible to serve many worker nodes in multiple clusters. These worker nodes will read the data and also write to it for intermediate storage between processing jobs. What is the recommended storage option on Google Cloud?
  • Cloud Storage
  • Cloud SQL
  • Zonal persistent disks
  • Local SSD --ANSWER-- Cloud Storage Correct. Cloud Storage is the recommended, centralized storage option for Dataproc. It offers

DO NOT COPY

--ANSWER-- Store your keys on a supported external key management partner, and use Cloud External Key Manager (EKM) to get keys when required. Correct. With Cloud EKM, you manage access to your externally managed keys that reside outside of Google Cloud. Because you need a single solution that also has to store keys externally, this would be the appropriate option. A company collects lots of consumer data from online marketing campaigns. Company plans to use Google Cloud to store this collected data. The top management is worried about exposing personally identifiable information (PII) that may be present in this data. What should you do to reduce the risk of exposing PII data?

  • Store all data in BigQuery and turn on column level access to protectsensitive data.
  • Use Cloud Data Loss Prevention (Cloud DLP) to inspect and redact PII data.
  • Ensure that all stored data is monitored by Security Command Center.
  • Ensure that all PII data is removed from the collected data before storing it on Google Cloud. --ANSWER-- Use Cloud Data Loss Prevention (Cloud DLP) to inspect and redact PII data. Your company is very serious about data protection and hence decides to implement the Principle of Least Privilege. What should you do to comply with this policy?
  • Ensure that the access permissions are given strictly based on the person's title and job role.
  • Ensure that the users are verified every time they request access, even if they were authenticated earlier.
  • When a task is assigned, ensure that it gets assigned to a person with the minimum privileges.
  • Give just enough permissions to get the task done.

DO NOT COPY

--ANSWER-- Give just enough permissions to get the task done. Your company has multiple data analysts but a limited data engineering team. You need to choose a tool where the analysts can build data pipelines themselves with a graphical user interface. Which of these products is the most appropriate? Cloud Composer Cloud Data Fusion Dataproc Dataflow --ANSWER-- Cloud Data Fusion Correct. The Cloud Data Fusion web UI lets you build scalable data integration solutions to clean, prepare, blend, transfer, and transform data, without having to manage the infrastructure. You are creating a data pipeline for streaming data on Dataflow for Cymbal Retail's point of sales data. You want to calculate the total sales per hour on a continuous basis. Which of these windowing options should you use? Global window Tumbling windows (fixed windows in Apache Beam) Hopping windows (sliding windows in Apache Beam) Session windows --ANSWER-- Tumbling windows (fixed windows in Apache Beam) Correct. A tumbling window (or fixed window in Apache Beam) is fixed duration and non- overlapping, which is the right option for this requirement.

DO NOT COPY

You want to build a streaming data analytics pipeline in Google Cloud. You need to choose the right products that support streaming data. Which of these would you choose?

  • Cloud Storage, Dataprep, AlloyDB
  • Pub/Sub, Dataprep, BigQuery
  • Cloud Storage, Dataflow, Cloud SQL
  • Pub/Sub, Dataflow, BigQuery --ANSWER-- Pub/Sub, Dataflow, BigQuery Correct. Pub/Sub, Dataflow, and BigQuery support streaming data and form the recommended pipeline for continuous data processing. You are processing large amounts of input data in BigQuery. You need to combine this data with a small amount of frequently changing data that is available in Cloud SQL. What should you do?
  • Use a federated query to get data from Cloud SQL.
  • Create a Dataflow pipeline to combine the BigQuery and Cloud SQL data when the Cloud SQL data changes.
  • Copy the data from Cloud SQL to a new BigQuery table hourly.
  • Copy the data from Cloud SQL and create a combined, normalized table hourly. --ANSWER-- Use a federated query to get data from Cloud SQL. Correct. Because the data is frequently changing, you can query the data in-place by using federated queries from BigQuery.

DO NOT COPY

The first stage of your data pipeline processes tens of terabytes of financial data and creates a sparse, time-series dataset as a key-value pair. Which of these is a suitable sink for the pipeline's first stage?

  • Cloud Storage
  • Bigtable
  • Cloud SQL
  • AlloyDB --ANSWER-- Bigtable Correct. Bigtable is ideal for applications that need high throughput and scalability for key/value data, where each value is typically no larger than 10 MB: Bigtable is suitable for applications that work on time-series data, such as financial applications. You need to run batch jobs, which could take many days to complete. You do not want to manage the infrastructure provisioning. What should you do?
  • Use Cloud Scheduler to run the jobs.
  • Use Cloud Run to run the jobs.
  • Use Workflows to run the jobs.
  • Run the jobs on Batch. --ANSWER-- Run the jobs on Batch. Correct. Batch is a fully managed service that schedules, queues, and executes batch processing workloads on Google Cloud. Resources and capacity are provisioned and managed for you based on your requirements. You manage a PySpark batch data pipeline by using DataproC: You want to take a hands-off approach to running the workload, and you do not want to provision and manage your own cluster. What should you do?

DO NOT COPY

A company collects large amounts of data that is useful for improving business operations. The collected data is already clean and is in a format that is suitable for the further analysis. The company uses Google Cloud Bigquery as a data warehouse. What approach will you recommend to move this data to BigQuery?

  • Implement Extract, Transform and Load (ETL) pipelines using tools like Dataflow.
  • Do transformation using Extract, Load & Transform (ELT).
  • Split the data into smaller files and then move to Google Cloud.
  • Directly load the data using Extract and Load approach ( EL). --ANSWER-- Directly load the data using Extract and Load approach ( EL). You need to choose a data storage solution to support a transactional system. Your customers are primarily based in one region. You want to reduce your administration tasks and focus engineering effort on building your business application. What should you do?
  • Create a Cloud Storage bucket with a regional bucket.
  • Use Cloud SQL.
  • Install a database of your choice on a Compute Engine VM.
  • Use Cloud Spanner. --ANSWER-- Use Cloud SQL. Correct. Cloud SQL is a managed service that supports the popular transactional databases MySQL, PostgreSQL, and SQL Server. Cymbal Retail has accumulated a large amount of data. Analysts and leadership are finding it difficult to understand the meaning of the data, such as BigQuery columns. Users of the data don't know who owns what. You need to improve the searchability of the data. What should you do?
  • Create tags for data entries in Cloud Catalog.

DO NOT COPY

  • Add a description column corresponding to each data column.
  • Export the data to Cloud Storage with descriptive file names.
  • Rename BigQuery columns with more descriptive names. --ANSWER-- Create tags for data entries in Cloud Catalog. Correct. Tags enable attaching metadata to data assets and entities. This can improve searchability of the data. You need to store data long term and use it to create quarterly reports. What storage class should you choose?
  • Coldline
  • Standard
  • Nearline
  • Archive --ANSWER-- Coldline Correct. Coldline storage class is the recommended option when the data is accessed infrequently, such as once a quarter. A manager at Cymbal Retail expresses concern about unauthorized access to objects in your Cloud Storage bucket. You need to evaluate all access on all objects in the bucket. What should you do?
  • Change the permissions on the bucket to only trusted employees.
  • Review the Admin Activity audit logs.
  • Route the Admin Activity logs to a BigQuery sink and analyze the logs with SQL queries.
  • Enable and then review the Data Access audit logs. --ANSWER-- Enable and then review the Data Access audit logs.

DO NOT COPY

Correct. Denormalizing the data is the recommended approach. Joining large amounts of data repeatedly during data analysis increases costs. You have data that is ingested daily and frequently analyzed in the first month. Thereafter, the data is retained only for audits, which happen occasionally every few years. You need to configure cost-effective storage. What should you do?

  • Create a bucket on Cloud Storage with object versioning configured.
  • Configure a data retention policy on Cloud Storage.
  • Create a bucket on Cloud Storage with Autoclass configured.
  • Configure a lifecycle policy on Cloud Storage. --ANSWER-- Configure a lifecycle policy on Cloud Storage. Correct. A lifecycle policy can be configured to automatically move the objects between different storage classes on schedules that you determine. Your analysts repeatedly run the same complex queries that combine and filter through a lot of data on BigQuery. The data changes frequently. You need to reduce the effort for the analysts. What should you do?
  • Export the frequently queried data into a new table.
  • Export the frequently queried data into Cloud SQL.
  • Create a dataset with the data that is frequently queried.
  • Create a view of the frequently queried data. --ANSWER-- Create a view of the frequently queried data. Correct. Creating a view will rerun the complex query automatically. Meanwhile, the analysts need only reference the name of the view, which makes it easier for them.

DO NOT COPY

You have data stored in a Cloud Storage bucket. You are using both Identity and Access Management (IAM) and Access Control Lists (ACLs) to configure access control. Which statement describes a user's access to objects in the bucket?

  • The user has access if either IAM or ACLs grant a permission.
  • The user has no access if either IAM or ACLs deny a permission.
  • The user has no access if IAM denies the permission.
  • The user only has access if both IAM and ACLs grant a permission. --ANSWER-- The user has access if either IAM or ACLs grant a permission. Correct. IAM and ACLs work in parallel. If either of the systems grants the user access permission, the user will have access. You are ingesting data that is spread out over a wide range of dates into BigQuery at a fast rate. You need to partition the table to make queries performant. What should you do?
  • Create an integer-range partitioned table.
  • Create a time-unit column-partitioned table with yearly partitioning type.
  • Create an ingestion-time partitioned table with daily partitioning type.
  • Create an ingestion-time partitioned table with yearly partitioning type. --ANSWER-- Create an ingestion-time partitioned table with daily partitioning type. Correct. A daily partition type is the most suitable given the volume of the data and the range of dates. Cymbal Retail collects large amounts of data that is useful for improving business operations. The company wants to store and analyze this data in a serverless and cost-effective manner using Google Cloud. The analysts need to use SQL to write the queries. What tool can you use to meet these requirements?
  • BigQuery

DO NOT COPY

model by combining columns. For this requirement, feature engineering improves the ML model. You have data in PostgreSQL that was designed to reduce redundancy. You are transferring this data to BigQuery for analytics. The source data is hierarchical and frequently queried together. You need to design a BigQuery schema that is performant. What should you do?

  • Retain the data in normalized form always.
  • Copy the normalized data into partitions.
  • Copy the primary tables and use federated queries for secondary tables.
  • Use nested and repeated fields. --ANSWER-- Use nested and repeated fields. Correct. Because the data is queried together, the schema design can group the data together with nested and repeated fields. You have a complex set of data that comes from multiple sources. The analysts in your team need to analyze the data, visualize it, and publish reports to internal and external stakeholders. You need to make it easier for the analysts to work with the data by abstracting the multiple data sources. What tool do you recommend?
  • Looker
  • Looker Studio
  • D3.js library
  • Connected Sheets --ANSWER-- Looker Correct. Looker lets you model the underlying data sources and create an abstraction that analysts can easily build on. Your data in BigQuery has some columns that are extremely sensitive. You need to enable only some users to see certain columns. What should you do?

DO NOT COPY

  • Use policy tags.
  • Create a new dataset with the column's data.
  • Use Identity and Access Management (IAM) permissions.
  • Create a new table with the column's data. --ANSWER-- Use policy tags. Correct. In BigQuery, policy tags give you fine-grained column level access control. You used Dataplex to create lakes and zones for your business data. However, some files are not being discovered. What could be the issue?
  • The files are in Parquet format.
  • You have an exclude pattern that matches the files.
  • The files are in ORC format.
  • You have scheduled discovery to run every hour. --ANSWER-- You have an exclude pattern that matches the files. Correct. An exclude pattern will skip the file and therefore, this could be the reason the data is not discovered. You repeatedly run the same queries by joining multiple tables. The original tables change about ten times per day. You want an optimized querying approach. Which feature should you use?
  • Federated queries
  • Views
  • Partitions
  • Materialized views --ANSWER-- Materialized views

DO NOT COPY