[2024年更新]無料Databricks-Certified-Data-Engineer-Associate試験問題集は試験を合格するには超簡単 [Q60-Q77]

Share

[2024年更新]無料Databricks-Certified-Data-Engineer-Associate試験問題集はパス試験は超簡単

Databricks-Certified-Data-Engineer-Associate試験問題集でDatabricks-Certified-Data-Engineer-Associate練習テスト問題

質問 # 60
A data engineer has been using a Databricks SQL dashboard to monitor the cleanliness of the input data to an ELT job. The ELT job has its Databricks SQL query that returns the number of input records containing unexpected NULL values. The data engineer wants their entire team to be notified via a messaging webhook whenever this value reaches 100.
Which of the following approaches can the data engineer use to notify their entire team via a messaging webhook whenever the number of NULL values reaches 100?

  • A. They can set up an Alert with a new webhook alert destination.
  • B. They can set up an Alert with a custom template.
  • C. They can set up an Alert without notifications.
  • D. They can set up an Alert with a new email alert destination.
  • E. They can set up an Alert with one-time notifications.

正解:A


質問 # 61
Which of the following data workloads will utilize a Gold table as its source?

  • A. A job that queries aggregated data designed to feed into a dashboard
  • B. A job that ingests raw data from a streaming source into the Lakehouse
  • C. A job that enriches data by parsing its timestamps into a human-readable format
  • D. A job that cleans data by removing malformatted records
  • E. A job that aggregates uncleaned data to create standard summary statistics

正解:A


質問 # 62
A data engineer needs to create a table in Databricks using data from their organization's existing SQLite database.
They run the following command:

Which of the following lines of code fills in the above blank to successfully complete the task?

  • A. org.apache.spark.sql.sqlite
  • B. org.apache.spark.sql.jdbc
  • C. DELTA
  • D. sqlite
  • E. autoloader

正解:D

解説:
1: In the given command, a data engineer is trying to create a table in Databricks using data from an SQLite database. The correct option to fill in the blank is "sqlite" because it specifies the type of database being connected to in a JDBC connection string. The USING clause should be followed by the format of the data, and since we are connecting to an SQLite database, "sqlite" would be appropriate here. Reference:
Create a table using JDBC
JDBC connection string
SQLite JDBC driver


質問 # 63
A data architect has determined that a table of the following format is necessary:

Which of the following code blocks uses SQL DDL commands to create an empty Delta table in the above format regardless of whether a table already exists with this name?

  • A. Option B
  • B. Option A
  • C. Option E
  • D. Option C
  • E. Option D

正解:C


質問 # 64
Which of the following describes the relationship between Gold tables and Silver tables?

  • A. Gold tables are more likely to contain aggregations than Silver tables.
  • B. Gold tables are more likely to contain truthful data than Silver tables.
  • C. Gold tables are more likely to contain valuable data than Silver tables.
  • D. Gold tables are more likely to contain a less refined view of data than Silver tables.
  • E. Gold tables are more likely to contain more data than Silver tables.

正解:A

解説:
According to the medallion lakehouse architecture, gold tables are the final layer of data that powers analytics, machine learning, and production applications. They are often highly refined and aggregated, containing data that has been transformed into knowledge, rather than just information. Silver tables, on the other hand, are the intermediate layer of data that represents a validated, enriched version of the raw data from the bronze layer. They provide an enterprise view of all its key business entities, concepts and transactions, but they may not have all the aggregations and calculations that are required for specific use cases. Therefore, gold tables are more likely to contain aggregations than silver tables. Reference:
What is the medallion lakehouse architecture?
What is a Medallion Architecture?


質問 # 65
Which of the following must be specified when creating a new Delta Live Tables pipeline?

  • A. A key-value pair configuration
  • B. At least one notebook library to be executed
  • C. The preferred DBU/hour cost
  • D. A location of a target database for the written data
  • E. A path to cloud storage location for the written data

正解:B

解説:
Option E is the correct answer because it is the only mandatory requirement when creating a new Delta Live Tables pipeline. A pipeline is a data processing workflow that contains materialized views and streaming tables declared in Python or SQL source files. Delta Live Tables infers the dependencies between these tables and ensures updates occur in the correct order. To create a pipeline, you need to specify at least one notebook library to be executed, which contains the Delta Live Tables syntax. You can also specify multiple libraries of different languages within your pipeline. The other options are optional or not applicable for creating a pipeline. Option A is not required, but you can optionally provide a key-value pair configuration to customize the pipeline settings, such as the storage location, the target schema, the notifications, and the pipeline mode. Option B is not applicable, as the DBU/hour cost is determined by the cluster configuration, not the pipeline creation. Option C is not required, but you can optionally specify a storage location for the output data from the pipeline. If you leave it empty, the system uses a default location. Option D is not required, but you can optionally specify a location of a target database for the written data, either in the Hive metastore or the Unity Catalog.


質問 # 66
An engineering manager wants to monitor the performance of a recent project using a Databricks SQL query.
For the first week following the project's release, the manager wants the query results to be updated every minute. However, the manager is concerned that the compute resources used for the query will be left running and cost the organization a lot of money beyond the first week of the project's release.
Which of the following approaches can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project's release?

  • A. They can set the query's refresh schedule to end after a certain number of refreshes.
  • B. They cannot ensure the query does not cost the organization money beyond the first week of the project's release.
  • C. They can set the query's refresh schedule to end on a certain date in the query scheduler.
  • D. They can set a limit to the number of DBUs that are consumed by the SQL Endpoint.
  • E. They can set a limit to the number of individuals that are able to manage the query's refresh schedule.

正解:C

解説:
In Databricks SQL, you can use scheduled query executions to update your dashboards or enable routine alerts. By default, your queries do not have a schedule. To set the schedule, you can use the dropdown pickers to specify the frequency, period, starting time, and time zone. You can also choose to end the schedule on a certain date by selecting the End date checkbox and picking a date from the calendar. This way, you can ensure that the query does not run beyond the first week of the project's release and does not incur any additional cost. Option A is incorrect, as setting a limit to the number of DBUs does not stop the query from running. Option B is incorrect, as there is no option to end the schedule after a certain number of refreshes.
Option C is incorrect, as there is a way to ensure the query does not cost the organization money beyond the first week of the project's release. Option D is incorrect, as setting a limit to the number of individuals who can manage the query's refresh schedule does not affect the query's execution or cost. References: Schedule a query, Schedule a query - Azure Databricks - Databricks SQL


質問 # 67
A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.
Which of the following commands can be used to grant full permissions on the database to the new data engineering team?

  • A. GRANT SELECT ON TABLE sales TO team;
  • B. GRANT ALL PRIVILEGES ON TABLE sales TO team;
  • C. GRANT SELECT CREATE MODIFY ON TABLE sales TO team;
  • D. GRANT ALL PRIVILEGES ON TABLE team TO sales;
  • E. GRANT USAGE ON TABLE sales TO team;

正解:B

解説:
To grant full permissions on a table to a user or a group, you can use the GRANT ALL PRIVILEGES ON TABLE statement. This statement will grant all the possible privileges on the table, such as SELECT, CREATE, MODIFY, DROP, ALTER, etc. Option A is the only code block that follows this syntax correctly. Option B is incorrect, as it does not grant all the possible privileges on the table, but only a subset of them. Option C is incorrect, as it only grants the SELECT privilege on the table, which is not enough to fully manage the project. Option D is incorrect, as it grants the USAGE privilege on the table, which is not a valid privilege for tables. Option E is incorrect, as it grants all the privileges on the table team to the user or group sales, which is the opposite of what the question asks. References: Grant privileges on a table using SQL | Databricks on AWS, Grant privileges on a table using SQL - Azure Databricks, SQL Privileges - Databricks


質問 # 68
Which of the following describes a scenario in which a data engineer will want to use a single-node cluster?

  • A. When they are manually running reports with a large amount of data
  • B. When they are running automated reports to be refreshed as quickly as possible
  • C. When they are working with SQL within Databricks SQL
  • D. When they are working interactively with a small amount of data
  • E. When they are concerned about the ability to automatically scale with larger data

正解:D

解説:
The scenario in which a data engineer will want to use a single-node cluster is when they are working interactively with a small amount of data. A single-node cluster is a cluster consisting of an Apache Spark driver and no Spark workers1. A single-node cluster supports Spark jobs and all Spark data sources, including Delta Lake1. A single-node cluster is helpful for single-node machine learning workloads that use Spark to load and save data, and for lightweight exploratory data analysis1. A single-node cluster can run Spark locally, spawn one executor thread per logical core in the cluster, and save all log output in the driver log1. A single-node cluster can be created by selecting the Single Node button when configuring a cluster1.
The other options are not suitable for using a single-node cluster. When running automated reports to be refreshed as quickly as possible, a data engineer will want to use a multi-node cluster that can scale up and down automatically based on the workload demand2. When working with SQL within Databricks SQL, a data engineer will want to use a SQL Endpoint that can execute SQL queries on a serverless pool or an existing cluster3. When concerned about the ability to automatically scale with larger data, a data engineer will want to use a multi-node cluster that can leverage the Databricks Lakehouse Platform and the Delta Engine to handle large-scale data processing efficiently and reliably4. When manually running reports with a large amount of data, a data engineer will want to use a multi-node cluster that can distribute the computation across multiple workers and leverage the Spark UI to monitor the performance and troubleshoot the issues.
Reference:
1: Single Node clusters | Databricks on AWS
2: Autoscaling | Databricks on AWS
3: SQL Endpoints | Databricks on AWS
4: Databricks Lakehouse Platform | Databricks on AWS
5: [Spark UI | Databricks on AWS]


質問 # 69
Which query is performing a streaming hop from raw data to a Bronze table?

  • A.
  • B.
  • C.
  • D.

正解:D


質問 # 70
In which of the following scenarios should a data engineer use the MERGE INTO command instead of the INSERT INTO command?

  • A. When the source table can be deleted
  • B. When the target table is an external table
  • C. When the target table cannot contain duplicate records
  • D. When the source is not a Delta table
  • E. When the location of the data needs to be changed

正解:C

解説:
The MERGE INTO command is used to perform upserts, which are a combination of insertions and updates, based on a source table into a target Delta table1. The MERGE INTO command can handle scenarios where the target table cannot contain duplicate records, such as when there is a primary key or a unique constraint on the target table. The MERGE INTO command can match the source and target rows based on a merge condition and perform different actions depending on whether the rows are matched or not. For example, the MERGE INTO command can update the existing target rows with the new source values, insert the new source rows that do not exist in the target table, or delete the target rows that do not exist in the source table1.
The INSERT INTO command is used to append new rows to an existing table or create a new table from a query result2. The INSERT INTO command does not perform any updates or deletions on the existing target table rows. The INSERT INTO command can handle scenarios where the location of the data needs to be changed, such as when the data needs to be moved from one table to another, or when the data needs to be partitioned by a certain column2. The INSERT INTO command can also handle scenarios where the target table is an external table, such as when the data is stored in an external storage system like Amazon S3 or Azure Blob Storage3. The INSERT INTO command can also handle scenarios where the source table can be deleted, such as when the source table is a temporary table or a view4. The INSERT INTO command can also handle scenarios where the source is not a Delta table, such as when the source is a Parquet, CSV, JSON, or Avro file5.
References:
* 1: MERGE INTO | Databricks on AWS
* 2: [INSERT INTO | Databricks on AWS]
* 3: [External tables | Databricks on AWS]
* 4: [Temporary views | Databricks on AWS]
* 5: [Data sources | Databricks on AWS]


質問 # 71
A data engineering team has noticed that their Databricks SQL queries are running too slowly when they are submitted to a non-running SQL endpoint. The data engineering team wants this issue to be resolved.
Which of the following approaches can the team use to reduce the time it takes to return results in this scenario?

  • A. They can increase the cluster size of the SQL endpoint.
  • B. They can increase the maximum bound of the SQL endpoint's scaling range
  • C. They can turn on the Serverless feature for the SQL endpoint.
  • D. They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to
    "Reliability Optimized."
  • E. They can turn on the Auto Stop feature for the SQL endpoint.

正解:A

解説:
Explanation
https://www.databricks.com/blog/2022/03/10/top-5-databricks-performance-tips.html


質問 # 72
A data engineer needs to use a Delta table as part of a data pipeline, but they do not know if they have the appropriate permissions.
In which of the following locations can the data engineer review their permissions on the table?

  • A. Data Explorer
  • B. Repos
  • C. Databricks Filesystem
  • D. Jobs
  • E. Dashboards

正解:A


質問 # 73
A single Job runs two notebooks as two separate tasks. A data engineer has noticed that one of the notebooks is running slowly in the Job's current run. The data engineer asks a tech lead for help in identifying why this might be the case.
Which of the following approaches can the tech lead use to identify why the notebook is running slowly as part of the Job?

  • A. There is no way to determine why a Job task is running slowly.
  • B. They can navigate to the Tasks tab in the Jobs UI to immediately review the processing notebook.
  • C. They can navigate to the Runs tab in the Jobs UI and click on the active run to review the processing notebook.
  • D. They can navigate to the Runs tab in the Jobs UI to immediately review the processing notebook.
  • E. They can navigate to the Tasks tab in the Jobs UI and click on the active run to review the processing notebook.

正解:C


質問 # 74
A data engineering team has two tables. The first table march_transactions is a collection of all retail transactions in the month of March. The second table april_transactions is a collection of all retail transactions in the month of April. There are no duplicate records between the tables.
Which of the following commands should be run to create a new table all_transactions that contains all records from march_transactions and april_transactions without duplicate records?

  • A. CREATE TABLE all_transactions AS
    SELECT * FROM march_transactions
    UNION SELECT * FROM april_transactions;
  • B. CREATE TABLE all_transactions AS
    SELECT * FROM march_transactions
    MERGE SELECT * FROM april_transactions;
  • C. CREATE TABLE all_transactions AS
    SELECT * FROM march_transactions
    INNER JOIN SELECT * FROM april_transactions;
  • D. CREATE TABLE all_transactions AS
    SELECT * FROM march_transactions
    OUTER JOIN SELECT * FROM april_transactions;
  • E. CREATE TABLE all_transactions AS
    SELECT * FROM march_transactions
    INTERSECT SELECT * from april_transactions;

正解:A

解説:
The correct command to create a new table that contains all records from two tables without duplicate records is to use the UNION operator. The UNION operator combines the results of two queries and removes any duplicate rows. The INNER JOIN, OUTER JOIN, and MERGE operators do not remove duplicate rows, and the INTERSECT operator only returns the rows that are common to both tables. Therefore, option B is the only correct answer. Reference: Databricks SQL Reference - UNION, Databricks SQL Reference - JOIN, Databricks SQL Reference - MERGE, [Databricks SQL Reference - INTERSECT]


質問 # 75
Which of the following statements regarding the relationship between Silver tables and Bronze tables is always true?

  • A. Silver tables contain aggregates while Bronze data is unaggregated.
  • B. Silver tables contain a less refined, less clean view of data than Bronze data.
  • C. Silver tables contain more data than Bronze tables.
  • D. Silver tables contain less data than Bronze tables.
  • E. Silver tables contain a more refined and cleaner view of data than Bronze tables.

正解:E

解説:
In a medallion architecture, a common data design pattern for lakehouses, data flows from Bronze to Silver to Gold layer tables, with each layer progressively improving the structure and quality of data. Bronze tables store raw data ingested from various sources, while Silver tables apply minimal transformations and cleansing to create an enterprise view of the data. Silver tables can also join and enrich data from different Bronze tables to provide a more complete and consistent view of the data. Therefore, option D is the correct answer, as Silver tables contain a more refined and cleaner view of data than Bronze tables. Option A is incorrect, as it is the opposite of the correct answer. Option B is incorrect, as Silver tables do not necessarily contain aggregates, but can also store detailed records. Option C is incorrect, as Silver tables may contain less data than Bronze tables, depending on the transformations and cleansing applied. Option E is incorrect, as Silver tables may contain more data than Bronze tables, depending on the joins and enrichments applied. References: What is a Medallion Architecture?, Transforming Bronze Tables in Silver Tables, What is the medallion lakehouse architecture?


質問 # 76
Which of the following approaches should be used to send the Databricks Job owner an email in the case that the Job fails?

  • A. MLflow Model Registry Webhooks
  • B. There is no way to notify the Job owner in the case of Job failure
  • C. Setting up an Alert in the Job page
  • D. Manually programming in an alert system in each cell of the Notebook
  • E. Setting up an Alert in the Notebook

正解:C

解説:
To send the Databricks Job owner an email in the case that the Job fails, the best approach is to set up an Alert in the Job page. This way, the Job owner can configure the email address and the notification type for the Job failure event. The other options are either not feasible, not reliable, or not relevant for this task. Manually programming an alert system in each cell of the Notebook is tedious and error-prone. Setting up an Alert in the Notebook is not possible, as Alerts are only available for Jobs and Clusters. There is a way to notify the Job owner in the case of Job failure, so option D is incorrect. MLflow Model Registry Webhooks are used for model lifecycle events, not Job events, so option E is not applicable. References:
* Add email and system notifications for job events
* Alerts
* MLflow Model Registry Webhooks


質問 # 77
......

Databricks-Certified-Data-Engineer-Associate試験問題集でDatabricks-Certified-Data-Engineer-Associate練習テスト問題:https://www.jpntest.com/shiken/Databricks-Certified-Data-Engineer-Associate-mondaishu

無料Databricks-Certified-Data-Engineer-Associate学習問題集ガイド試験問題解答はここ:https://drive.google.com/open?id=1YsaAsmzUcOewKk5aHTYSkPKx2SaMVOTj

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡