Google CloudProfessional levelPage 3 of 3

Google Professional Data Engineer exam dumps: questions 201 to 278 of 278

Page 3 of the free Google Professional Data Engineer question bank for the Professional Data Engineer exam. Questions 201 to 278 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated December 2024

Free Google Professional Data Engineer practice questions

Questions 201 to 205 of 278

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Google Professional Data Engineer Question 201

Single answerGoogle Cloud Platform

Your organization wants to share sensitive sales data stored in BigQuery with an external partner. The partner should only have access to a subset of the data based on their region. You need to define access rules that ensure the partner only sees data pertaining to their region, without granting them access to the entire dataset or modifying the original table. What is the best way to achieve this?

  1. A

    Create a separate BigQuery dataset for each partner and copy only their relevant data into it.

  2. B

    Use BigQuery's column-level security to restrict access to specific columns within the table.

  3. C

    Create a BigQuery view that filters the data by region and share the view with the partner.

  4. D

    Export the data to a CSV file filtered by region and share the file with the partner.

Show answer and explanation

Correct answer: C

Explanation

The best way to share a subset of data in BigQuery is to create a view that filters the data based on specific criteria (e.g., region) and grant the partner access to the view. This approach ensures that the original table remains unchanged, is cost-effective, and provides real-time data access while maintaining security and compliance requirements.

  • A. Incorrect.

    Creating a separate dataset for each partner is not efficient or scalable, especially if there are multiple partners or if the data updates frequently. This approach increases storage costs and operational overhead.

  • B. Incorrect.

    Column-level security restricts access to specific columns, not rows, which does not address the requirement to filter data by region.

  • C. Correct.

    Creating a BigQuery view allows you to define a query that filters data based on the region and share only the view with the partner. This ensures the partner sees only the relevant data without modifying the original table.

  • D. Incorrect.

    Exporting data to a CSV file is not secure or efficient for ongoing access. It also requires additional steps to manage and distribute the file, and there’s no guarantee of real-time data updates.

Google Professional Data Engineer Question 202

Single answerGoogle Cloud Platform

You are working as a Data Engineer for a retail company that stores its sales data in BigQuery. The company wants to share a portion of its data with a third-party analytics vendor for analysis while ensuring sensitive customer information, such as email addresses and payment details, is not exposed. Which approach should you take to define the appropriate data-sharing rules?

  1. A

    Create a new BigQuery dataset and copy only the required columns without sensitive data into it. Grant the vendor access to this dataset.

  2. B

    Directly share the entire BigQuery dataset with the vendor and rely on them to filter out sensitive data.

  3. C

    Use BigQuery's row-level security feature to restrict access to specific rows in the dataset based on the vendor's role.

  4. D

    Create a BigQuery view that selects only the non-sensitive columns from the original dataset and share the view with the vendor.

Show answer and explanation

Correct answer: D

Explanation

The best way to share only the required data with the vendor while ensuring sensitive information is not exposed is to create a BigQuery view. A view allows you to define a query that selects only the non-sensitive columns, and you can share this view with the vendor instead of the entire dataset. This approach ensures compliance with data privacy policies and avoids unnecessary data duplication or exposure.

  • A. Incorrect.

    This approach is possible but may involve unnecessary duplication of data and additional storage costs. A more efficient solution is available using BigQuery views.

  • B. Incorrect.

    Sharing the entire dataset with the vendor without restrictions exposes sensitive data, violating data privacy and security policies.

  • C. Incorrect.

    Row-level security controls access to specific rows but does not address the need to exclude certain columns containing sensitive data.

  • D. Correct.

    Creating a BigQuery view allows you to define a query that selects only non-sensitive columns, ensuring secure and efficient data sharing without duplicating data.

Google Professional Data Engineer Question 203

Select 3Google Cloud Platform

You are a Data Engineer at a retail company that wants to share its sales data publicly for analysts and researchers. The dataset is stored in BigQuery. To ensure the dataset is published securely and adheres to best practices, which steps should you take?

  1. A

    Enable dataset-level permissions and grant the 'roles/bigquery.dataViewer' role to the public.

  2. B

    Disable access to the dataset for all users except yourself to prevent unauthorized access.

  3. C

    Ensure sensitive information is removed or anonymized within the dataset before publishing.

  4. D

    Use Cloud Identity and Access Management (IAM) to set permissions for specific groups instead of publishing the dataset publicly.

  5. E

    Add metadata and relevant descriptions to the dataset to help users understand its contents and purpose.

Show answer and explanation

Correct answers: A, C, E

Explanation

To securely and effectively publish a dataset from BigQuery, you must grant appropriate permissions (e.g., 'roles/bigquery.dataViewer') to the public, ensure sensitive data is anonymized or removed, and add metadata and descriptions to make the dataset understandable. Disabling access or restricting it to specific groups would conflict with the goal of public sharing.

  • A. Correct.

    Correct: Granting the 'roles/bigquery.dataViewer' role at the dataset level allows public users to view the dataset while maintaining appropriate access control.

  • B. Incorrect.

    Incorrect: Disabling access for all users contradicts the goal of publishing the dataset publicly. This would make the dataset inaccessible.

  • C. Correct.

    Correct: Removing or anonymizing sensitive data is a crucial step to ensure compliance with data privacy regulations and to protect sensitive information.

  • D. Incorrect.

    Incorrect: Using IAM to restrict access to specific groups does not align with the requirement of making the dataset publicly accessible.

  • E. Correct.

    Correct: Adding metadata and descriptions improves usability and ensures that analysts and researchers can understand the dataset's context and purpose.

Google Professional Data Engineer Question 204

Select 3Google Cloud Platform

You are a data engineer at a retail company and manage a dataset in BigQuery containing sensitive customer information. You need to publish a subset of this dataset for external analysts to access, ensuring that no sensitive information is exposed. What steps should you take to securely publish this dataset?

  1. A

    Use authorized views to expose only the required subset of data.

  2. B

    Grant the BigQuery Data Viewer role to external analysts on the entire dataset.

  3. C

    Create a new table containing only the required data and share it directly with external analysts.

  4. D

    Apply column-level security to restrict access to sensitive columns in the published dataset.

  5. E

    Use Data Loss Prevention (DLP) to de-identify sensitive data before publishing the dataset.

Show answer and explanation

Correct answers: A, D, E

Explanation

To securely publish a dataset containing sensitive information, it is important to minimize exposure while maintaining data usability. Authorized views allow controlled access to a specific subset of data. Column-level security further restricts access to sensitive columns within the dataset. Additionally, using Data Loss Prevention (DLP) to de-identify sensitive information ensures compliance with privacy regulations and protects against unintentional exposure of sensitive data. These steps collectively ensure secure and compliant data publishing.

  • A. Correct.

    Using authorized views is a best practice for sharing only the necessary subset of data securely. It allows you to control exactly what data is exposed without giving direct access to the underlying dataset.

  • B. Incorrect.

    Granting the BigQuery Data Viewer role on the entire dataset is not secure because it exposes all the data, including sensitive information, which violates data governance and privacy best practices.

  • C. Incorrect.

    Creating a new table with the required data and sharing it could work, but it does not inherently enforce security over sensitive columns. This approach also introduces duplication and potential challenges in keeping the new table up-to-date.

  • D. Correct.

    Applying column-level security ensures that sensitive columns remain inaccessible to unauthorized users, making this an effective measure when publishing datasets securely.

  • E. Correct.

    Using Data Loss Prevention (DLP) to de-identify sensitive data is a critical step to ensure privacy and compliance when publishing datasets, especially when sensitive columns must still be included in the dataset.

Google Professional Data Engineer Question 205

Single answerGoogle Cloud Platform

You are a data engineer at a company that has multiple datasets in BigQuery containing sensitive customer information. You need to share a subset of the data with an external partner while ensuring compliance with data privacy regulations. How should you publish the dataset securely?

  1. A

    Grant the external partner the 'BigQuery Admin' role on the project containing the datasets.

  2. B

    Create a new dataset, copy only the required tables into it, and grant the external partner 'BigQuery Data Viewer' access to the new dataset.

  3. C

    Use authorized views in BigQuery to expose only the specific rows and columns required, and grant the external partner access to the view.

  4. D

    Export the required data to a Cloud Storage bucket, make the bucket public, and share the link with the external partner.

Show answer and explanation

Correct answer: C

Explanation

To securely publish a subset of data in BigQuery while ensuring compliance with data privacy regulations, authorized views are the preferred method. They allow you to restrict access to specific rows and columns, ensuring that the external partner only sees the data they are permitted to access. This approach also adheres to the principle of least privilege, reducing the risk of data breaches or mismanagement.

  • A. Incorrect.

    Granting the 'BigQuery Admin' role gives the external partner full control over all datasets in the project, including sensitive information. This violates the principle of least privilege and is not secure.

  • B. Incorrect.

    Creating a new dataset and copying the required tables involves unnecessary duplication and increases the risk of managing sensitive data incorrectly. While this may work, it is not the most efficient or secure solution.

  • C. Correct.

    Using authorized views allows you to securely share only the necessary data (specific rows/columns) without exposing the full dataset. It is a best practice for sharing data securely in compliance with privacy regulations.

  • D. Incorrect.

    Making a Cloud Storage bucket public exposes the data to anyone with the link, which is highly insecure and a violation of data privacy regulations.

Timed practice exam

Take a Google Professional Data Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Google Professional Data Engineer practice questions 201 to 278 of 278

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 3 pages of up to 100 questions.

  1. 201.Your organization wants to share sensitive sales data stored in BigQuery with an external partner. The...
  2. 202.You are working as a Data Engineer for a retail company that stores its sales data in BigQuery. The company...
  3. 203.You are a Data Engineer at a retail company that wants to share its sales data publicly for analysts and...
  4. 204.You are a data engineer at a retail company and manage a dataset in BigQuery containing sensitive customer...
  5. 205.You are a data engineer at a company that has multiple datasets in BigQuery containing sensitive customer...
  6. 206.You are a data engineer working for a retail company that uses BigQuery as its data warehouse. Your team has...
  7. 207.You are a data engineer working for a retail company. You have created a dashboard in Looker Studio that...
  8. 208.You are a Data Engineer tasked with creating a sales dashboard for your organization using Google Cloud. The...
  9. 209.Your company wants to securely share aggregated sales data with multiple external partners. The data must be...
  10. 210.Your organization wants to securely share curated datasets with external partners while retaining control...
  11. 211.Your organization wants to securely share BigQuery datasets containing market research data with trusted...
  12. 212.You are a Data Engineer working for a retail company. Your team is tasked with analyzing customer purchase...
  13. 213.You are a data engineer at a retail company, and your team is analyzing customer purchasing trends using...
  14. 214.Your company is analyzing a large dataset containing customer transaction records stored in Google BigQuery....
  15. 215.You are working on a machine learning project to predict customer churn for a subscription-based service. The...
  16. 216.You are designing a pipeline in Google Cloud to prepare data for training and serving a machine learning...
  17. 217.You are a Data Engineer tasked with conducting data discovery for a new project. The project involves...
  18. 218.You are a data engineer at a retail company tasked with conducting data discovery on a new dataset received...
  19. 219.You have been tasked with conducting data discovery for a new analytics project in Google Cloud. The goal is...
  20. 220.Your team is managing a data processing pipeline on Google Cloud that processes large volumes of batch data...
  21. 221.You are managing a data pipeline in Google Cloud Dataflow, which processes large amounts of data daily. Your...
  22. 222.You are managing a data pipeline on Google Cloud that processes a high volume of streaming data in real-time....
  23. 223.Your organization processes large amounts of data daily for batch analytics. The data is stored in Google...
  24. 224.Your company processes large volumes of IoT sensor data daily. The data must be ingested, stored, and...
  25. 225.Your organization processes large volumes of streaming data from IoT devices, and the business requires near...
  26. 226.Your company runs a business-critical data processing pipeline on Google Cloud that processes high volumes of...
  27. 227.Your organization uses Google Cloud Dataflow to process large volumes of business-critical data in near...
  28. 228.Your organization runs business-critical data processing pipelines using Google Cloud Dataflow. During...
  29. 229.You are designing a data processing pipeline for your company's batch and ad-hoc analytics workloads using...
  30. 230.You are tasked with designing a data processing architecture for a batch ETL pipeline that processes large...
  31. 231.Your team is designing a data processing pipeline on Google Cloud and is evaluating the use of Dataproc...
  32. 232.Your team is responsible for setting up a data pipeline on Google Cloud to process daily sales data from...
  33. 233.You are designing a data pipeline on Google Cloud to process daily sales data from multiple retail stores....
  34. 234.Your team is responsible for building a data pipeline in Google Cloud that ingests, transforms, and stores...
  35. 235.You are a Data Engineer tasked with creating a new DAG in Cloud Composer to process data from a Google Cloud...
  36. 236.You are tasked with building a data pipeline using Cloud Composer to orchestrate workflows. The pipeline...
  37. 237.You are tasked with creating a data processing workflow using Cloud Composer. The workflow involves...
  38. 238.Your team manages a Google Cloud BigQuery dataset that requires daily data ingestion from an external source....
  39. 239.You are a Data Engineer at a retail company that processes sales data daily. You need to set up a job in...
  40. 240.You are a Data Engineer responsible for managing a batch job that processes user activity logs every day at...
  41. 241.A retail company is migrating its data workloads to Google Cloud. They need to organize their workloads based...
  42. 242.Your organization needs to implement a data processing workflow in Google Cloud to support two business units...
  43. 243.Your organization is migrating workloads to Google Cloud and wants to ensure that each workload is organized...
  44. 244.Your organization runs a BigQuery data warehouse and processes daily analytics workloads with predictable...
  45. 245.Your organization uses BigQuery for data analysis and is currently running several ad-hoc queries that are...
  46. 246.Your company is running multiple workloads on BigQuery with unpredictable query patterns. Some workloads are...
  47. 247.You are a Data Engineer working on a data analytics platform using BigQuery. Your team needs to process a...
  48. 248.You are a data engineer working for an e-commerce company. The company stores transactional data in Google...
  49. 249.You are working on a data processing pipeline in Google Cloud and need to execute queries on a BigQuery...
  50. 250.You are a Data Engineer responsible for managing a real-time data pipeline on Google Cloud. The pipeline...
  51. 251.You are a Data Engineer managing a streaming data pipeline built with Google Cloud Dataflow. Recently, you...
  52. 252.You are responsible for designing a real-time data processing pipeline on Google Cloud. The pipeline ingests...
  53. 253.A data engineering team has implemented a workflow that processes large datasets in BigQuery. Recently, they...
  54. 254.You are a data engineer responsible for managing a critical data pipeline in Google Cloud that processes...
  55. 255.Your team manages a data pipeline that ingests data into BigQuery from multiple sources. Recently, there have...
  56. 256.You are a data engineer managing a Google Cloud environment for a retail analytics company. The company has a...
  57. 257.You are a data engineer at a company that has recently launched a new application hosted on Google Cloud. The...
  58. 258.Your organization uses BigQuery for data analytics and has a monthly budget allocated for this purpose. You...
  59. 259.You are managing a Google Cloud project that processes large datasets using BigQuery. Recently, your team...
  60. 260.You are managing a Google Cloud project that processes large datasets with BigQuery. Recently, your team has...
  61. 261.Your team has deployed a data processing pipeline on Google Cloud using Dataflow. Recently, the pipeline...
  62. 262.You are managing a BigQuery project where multiple teams run queries on shared datasets. One team has...
  63. 263.Your team is running multiple BigQuery workloads, including ad-hoc queries, scheduled data transformations,...
  64. 264.You are managing a BigQuery environment for your organization. The data processing workloads have increased...
  65. 265.You are managing a data processing pipeline on Google Cloud that uses Dataflow for real-time stream...
  66. 266.You are managing a data pipeline that processes streaming data using Google Cloud Dataflow. Recently, your...
  67. 267.You are responsible for designing a data processing pipeline on Google Cloud for a retail company. The...
  68. 268.You are designing a data processing system on Google Cloud to handle real-time streaming data. It is critical...
  69. 269.You are designing a streaming data processing system on Google Cloud that ingests real-time sensor data from...
  70. 270.You are designing a data pipeline on Google Cloud for a global retail company. The pipeline processes...
  71. 271.You are designing a data processing workflow that must run reliably across multiple regions to ensure high...
  72. 272.You are designing a data processing pipeline on Google Cloud that needs to handle large-scale batch...
  73. 273.You are designing a data pipeline on Google Cloud for a retail company that ingests and processes real-time...
  74. 274.Your organization uses Google Cloud for its data processing workflows. Recently, a key analytics pipeline...
  75. 275.As a data engineer, you are designing a data pipeline on Google Cloud to ingest and process data from...
  76. 276.You are designing a highly available relational database solution using Cloud SQL for a critical production...
  77. 277.You are designing a high-availability architecture for an e-commerce application that uses Cloud SQL as its...
  78. 278.Your organization is running a Cloud SQL MySQL instance to support a critical application. To ensure high...