GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

GCP - Professional Data Engineer1_2

raul paredes 200 Fragen

Quiz starten

Fragen in diesem Quiz (200)

  1. 1You designed a database for patient records as a pilot project to cover a few hundred patients in three clinics. Your design used a single database table to represent all patients and their visits, and you used self-joins to generate reports. The server resource utilization was at 50%. Since then, the scope of the project has expanded. The database must now store 100 times more patient records. You can no longer run the reports, because they either take too long or they encounter errors with insufficient compute resources. How should you adjust the database design?
    1. AAdd capacity (memory and disk space) to the database server by the order of 200
    2. BPartition the table into smaller tables, with one for each clinic. Run queries against the smaller table pairs, and use unions for consolidated reports.
    3. CShard the tables into smaller ones based on date ranges, and only generate reports with prespecified date ranges.
    4. DNormalize the master patient-record table into the patient table and the visits table, and create other necessary tables to avoid self-join.
  2. 2You have developed three data processing jobs. One executes a Cloud Dataflow pipeline that transforms data uploaded to Cloud Storage and writes results to

    BigQuery. The second ingests data from on-premises servers and uploads it to Cloud Storage. The third is a Cloud Dataflow pipeline that gets information from third-party data providers and uploads the information to Cloud Storage. You need to be able to schedule and monitor the execution of these three workflows and manually execute them when needed. What should you do?
    1. ASet up cron jobs in a Compute Engine instance to schedule and monitor the pipelines using GCP API calls.
    2. BUse Stackdriver Monitoring and set up an alert with a Webhook notification to trigger the jobs.
    3. CDevelop an App Engine application to schedule and request the status of the jobs using GCP API calls.
    4. DCreate a Direct Acyclic Graph in Cloud Composer to schedule and monitor the jobs.
  3. 3Your company is in the process of migrating its on-premises data warehousing solutions to BigQuery. The existing data warehouse uses trigger-based 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.)
    1. APeriodically DELETE outdated records from the reporting table.
    2. BInsert 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.
    3. CPerform a DML INSERT, UPDATE, or DELETE to replicate each individual CDC record in real time directly on the reporting table.
    4. DPeriodically use a DML MERGE to perform several DML INSERT, UPDATE, and DELETE operations at the same time on the reporting table.
    5. EInsert each new CDC record and corresponding operation type to a staging table in real time.
  4. 4You 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?
    1. AAn 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
    2. BAn 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
    3. CAn 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
    4. DAn 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
  5. 5Each analytics team in your organization is running BigQuery jobs in their own projects. You want to enable each team to monitor slot usage within their projects.

    What should you do?
    1. ACreate an aggregated log export at the organization level, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
    2. BCreate a Cloud Monitoring dashboard based on the BigQuery metric slots/allocated_for_project
    3. CCreate a Cloud Monitoring dashboard based on the BigQuery metric query/scanned_bytes
    4. DCreate a log export for each project, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
  6. 6You want to schedule a number of sequential load and transformation jobs. Data files will be added to a Cloud Storage bucket by an upstream process. There is no fixed schedule for when the new data arrives. Next, a Dataproc job is triggered to perform some transformations and write the data to BigQuery. You then need to run additional transformation jobs in BigQuery. The transformation jobs are different for every table. These jobs might take hours to complete. You need to determine the most efficient and maintainable workflow to process hundreds of tables and provide the freshest data to your end users. What should you do?
    1. A1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Dataproc and BigQuery operators.
      2. Use a single shared DAG for all tables that need to go through the pipeline.
      3. Use a Cloud Storage object trigger to launch a Cloud Function that triggers the DAG.
    2. B1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Cloud Storage, Dataproc, and BigQuery operators.
      2. Use a single shared DAG for all tables that need to go through the pipeline.
      3. Schedule the DAG to run hourly.
    3. C1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Dataproc and BigQuery operators.
      2. Create a separate DAG for each table that needs to go through the pipeline.
      3. Use a Cloud Storage object trigger to launch a Cloud Function that triggers the DAG.
    4. D1. Create an Apache Airflow directed acyclic graph (DAG) in Cloud Composer with sequential tasks by using the Cloud Storage, Dataproc, and BigQuery operators.
      2. Create a separate DAG for each table that needs to go through the pipeline.
      3. Schedule the DAGs to run hourly.
  7. 7You work for an advertising company, and you've developed a Spark ML model to predict click-through rates at advertisement blocks. You've been developing everything at your on-premises data center, and now your company is migrating to Google Cloud. Your data center will be closing soon, so a rapid lift-and-shift migration is necessary. However, the data you've been using will be migrated to migrated to BigQuery. You periodically retrain your Spark ML models, so you need to migrate existing training pipelines to Google Cloud. What should you do?
    1. ARewrite your models on TensorFlow, and start using Vertex AI
    2. BUse Dataproc for training existing Spark ML models, but start reading data directly from BigQuery
    3. CUse Vertex AI for training existing Spark ML models
    4. DSpin up a Spark cluster on Compute Engine, and train Spark ML models on the data exported from BigQuery
  8. 8You need to modernize your existing on-premises data strategy. Your organization currently uses:

    • Apache Hadoop clusters for processing multiple large data sets, including on-premises Hadoop Distributed File System (HDFS) for data replication.

    • Apache Airflow to orchestrate hundreds of ETL pipelines with thousands of job steps.

    You need to set up a new architecture in Google Cloud that can handle your Hadoop workloads and requires minimal changes to your existing orchestration processes. What should you do?
    1. AUse Bigtable for your large workloads, with connections to Cloud Storage to handle any HDFS use cases. Orchestrate your pipelines with Cloud Composer.
    2. BUse Dataproc to migrate Hadoop clusters to Google Cloud, and Cloud Storage to handle any HDFS use cases. Convert your ETL pipelines to Dataflow.
    3. CUse Dataproc to migrate Hadoop clusters to Google Cloud, and Cloud Storage to handle any HDFS use cases. Orchestrate your pipelines with Cloud Composer.
    4. DUse Dataproc to migrate your Hadoop clusters to Google Cloud, and Cloud Storage to handle any HDFS use cases. Use Cloud Data Fusion to visually design and deploy your ETL pipelines.
  9. 9Your 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.)
    1. ALoad data into different partitions.
    2. BOnly allow a service account to access the datasets.
    3. CRestrict a client's dataset to approved users.
    4. DPut each client's BigQuery dataset into a different table.
    5. ELoad data into a different dataset for each client.
    6. FUse the appropriate identity and access management (IAM) roles for each client's users.
  10. 10You 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=<actorname> 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?
    1. ASet the following in your entity options: exclude_from_indexes = 'actors, tags'
    2. BSet the following in your entity options: exclude_from_indexes = 'date_published'
    3. CManually configure the index in your index config as follows:
      indexes:

      - kind: Task

      properties:

      - name: tags

      - name: created

      - kind: Task

      properties:

      - name: collaborators

      - name: created
    4. DManually configure the index in your index config as follows:

Informationen

Beschreibung
Quiz am GCP - Professional Data Engineer1_2, erstellt von raul paredes am 04/02/2025.
Sprache
Español
Aufrufe
1
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck