Google Professional Data Engineer Google Certified Professional – Data Engineer Online Training
Google Professional Data Engineer Online Training
The questions for Professional Data Engineer were last updated at Nov 22,2024.
- Exam Code: Professional Data Engineer
- Exam Name: Google Certified Professional – Data Engineer
- Certification Provider: Google
- Latest update: Nov 22,2024
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?
- 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.
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.)
- 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.
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?
- A . Cloud SQL
- B . BigQuery
- C . Cloud Bigtable
- D . Cloud Datastore
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.)
- 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.
You need to store and analyze social media postings in Google BigQuery at a rate of 10,000 messages per minute in near real-time. Initially, design the application to use streaming inserts for individual postings. Your application also performs data aggregations right after the streaming inserts. You discover that the queries after streaming inserts do not exhibit strong consistency, and reports from the queries might miss in-flight data.
How can you adjust your application design?
- A . Re-write the application to load accumulated data every 2 minutes.
- B . Convert the streaming insert code to batch load for individual messages.
- C . Load the original message to Google Cloud SQL, and export the table every hour to BigQuery via streaming inserts.
- D . Estimate the average latency for data availability after streaming inserts, and always run queries after waiting twice as long.
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?
- 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.
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?
- 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.
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.)
- 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.
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?
- 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.
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?
- 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.