Cuestiones
ayuda
option
Mi Daypo

TEST BORRADO, QUIZÁS LE INTERESEDB-DE-ASS

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del test:
DB-DE-ASS

Descripción:
Databrick

Autor:
AVATAR

Fecha de Creación:
31/01/2024

Categoría:
Personal

Número preguntas: 55
Comparte el test:
Facebook
Twitter
Whatsapp
Comparte el test:
Facebook
Twitter
Whatsapp
Últimos Comentarios
No hay ningún comentario sobre este test.
Temario:
Which of the following describes a scenario in which a data engineer will want to use a single-node cluster? When they are working interactively with a small amount of data When they are running automated reports to be refreshed as quickly as possible When they are working with SQL within Databricks SQL When they are concerned about the ability to automatically scale with larger data When they are manually running reports with a large amount of data.
A data engineer has realized that they made a mistake when making a daily update to a table. They need to use Delta time travel to restore the table to a version that is 3 days old. However, when the data engineer attempts to time travel to the older version, they are unable to restore the data because the data files have been deleted. Which of the following explains why the data files are no longer present? The VACUUM command was run on the table The TIME TRAVEL command was run on the tabl The DELETE HISTORY command was run on the table The OPTIMIZE command was nun on the table The HISTORY command was run on the table.
Which of the following SQL keywords can be used to convert a table from a long format to a wide format? PIVOT CONVERT WHERE TRANSFORM SUM.
A data engineer has created a new database using the following command: CREATE DATABASE IF NOT EXISTS customer360; In which of the following locations will the customer360 database be located? dbfs:/user/hive/database/customer360 dbfs:/user/hive/warehouse dbfs:/user/hive/customer360 More information is needed to determine the correct response.
A data engineer only wants to execute the final block of a Python program if the Python variable day_of_week is equal to 1 and the Python variable review_period is True. Which of the following control flow statements should the data engineer use to begin this conditionally executed code block? if day_of_week = 1 and review_period: if day_of_week = 1 and review_period = "True": if day_of_week == 1 and review_period == "True": if day_of_week == 1 and review_period: if day_of_week = 1 & review_period: = "True":.
An engineering manager uses a Databricks SQL query to monitor ingestion latency for each data source. The manager checks the results of the query every day, but they are manually rerunning the query each day and waiting for the results. Which of the following approaches can the manager use to ensure the results of the query are updated each day? They can schedule the query to refresh every 1 day from the SQL endpoint's page in Databricks SQL. They can schedule the query to refresh every 12 hours from the SQL endpoint's page in Databricks SQL. They can schedule the query to refresh every 1 day from the query's page in Databricks SQL. They can schedule the query to run every 1 day from the Jobs UI. They can schedule the query to run every 12 hours from the Jobs UI.
In which of the following file formats is data from Delta Lake tables primarily stored? Delta CSV Parquet JSON A proprietary, optimized format specific to Databricks.
A data engineer is maintaining a data pipeline. Upon data ingestion, the data engineer notices that the source data is starting to have a lower level of quality. The data engineer would like to automate the process of monitoring the quality level. Which of the following tools can the data engineer use to solve this problem? Unity Catalog Data Explorer Delta Lake Delta Live Tables Auto Loader.
Which of the following benefits of using the Databricks Lakehouse Platform is provided by Delta Lake? The ability to manipulate the same data using a variety of languages The ability to collaborate in real time on a single notebook The ability to set up alerts for query failures The ability to support batch and streaming workloads The ability to distribute complex data operations.
A data engineer needs to apply custom logic to string column city in table stores for a specific use case. In order to apply this custom logic at scale, the data engineer wants to create a SQL user defined function (UDF). Which of the following code blocks creates this SQL UDF? CREATE FUNCTION combine_nyc(city STRING) RETURNS STRING RETURN CASE WHEN city = "brooklyn" THEN "new york" ELSE city END; CREATE UDF combine_nyc(city STRING) RETURNS STRING CASE WHEN city = "brooklyn" THEN "new york" ELSE city END; CREATE UDF combine_nyc(city STRING) RETURN CASE WHEN city = "brooklyn" THEN "new york" ELSE city END; CREATE FUNCTION combine_nyc(city STRING) RETURNS CASE WHEN city = "brooklyn" THEN "new york" ELSE city END; CREATE UDF combine_nyc(city STRING) RETURNS STRING RETURNS CASE WHEN city = "brooklyn" THEN "new york" ELSE city END;.
A data engineer needs to create a table in Databricks using data from a CSV file at location /path/to/csv. They run the following command: CREATE TABLE new_table _________________ OPTIONS ( header = "true", delimeter = "|" ) LOCATION "path/to/csv"; Which of the following lines of code fills in the above blank to successfully complete the task? None of these lines of code are needed to successfully complete the task USING CSV FROM CSV USING DELTA FROM "path/to/csv" .
Which of the following can be used to simplify and unify siloed data architectures that are specialized for specific use cases? None of these Data lake Data warehouse All of these Data lakehouse.
Which of the following describes the relationship between Bronze tables and raw data? Bronze tables contain less data than raw data files. Bronze tables contain more truthful data than raw data Bronze tables contain aggregates while raw data is unaggregated Bronze tables contain a less refined view of data than raw data Bronze tables contain raw data with a schema applied.
A data analyst has a series of queries in a SQL program. The data analyst wants this program to run every day. They only want the final query in the program to run on Sundays. They ask for help from the data engineering team to complete this task. Which of the following approaches could be used by the data engineering team to complete this task? They could submit a feature request with Databricks to add this functionality They could wrap the queries using PySpark and use Python's control flow system to determine when to run the final query They could only run the entire program on Sundays They could automatically restrict access to the source table in the final query so that it is only accessible on Sundays They could redesign the data model to separate the data used in the final query into a new table.
A data engineer wants to schedule their Databricks SQL dashboard to refresh once per day, but they only want the associated SQL endpoint to be running when it is necessary. Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard? They can ensure the dashboard's SQL endpoint matches each of the queries' SQL endpoints. They can set up the dashboard's SQL endpoint to be serverless They can turn on the Auto Stop feature for the SQL endpoint They can reduce the cluster size of the SQL endpoint They can ensure the dashboard's SQL endpoint is not one of the included query's SQL endpoint. .
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? They can set up an Alert with a custom template They can set up an Alert with a new email alert destination They can set up an Alert with a new webhook alert destination They can set up an Alert with one-time notifications They can set up an Alert without notifications.
Which of the following is hosted completely in the control plane of the classic Databricks architecture? Worker node JDBC data source Databricks web application Databricks Filesystem Driver node.
Which of the following is a benefit of the Databricks Lakehouse Platform embracing open source technologies? Cloud-specific integrations Simplified governance Ability to scale storage Ability to scale workloads Avoiding vendor lock-in.
Which of the following describes when to use the CREATE STREAMING LIVE TABLE (formerly CREATE INCREMENTAL LIVE TABLE) syntax over the CREATE LIVE TABLE syntax when creating Delta Live Tables (DLT) tables using SQL? CREATE STREAMING LIVE TABLE should be used when the subsequent step in the DLT pipeline is static CREATE STREAMING LIVE TABLE should be used when data needs to be processed incrementally CREATE STREAMING LIVE TABLE is redundant for DLT and it does not need to be used CREATE STREAMING LIVE TABLE should be used when data needs to be processed through complicated aggregations CREATE STREAMING LIVE TABLE should be used when the previous step in the DLT pipeline is static.
A data engineer has developed a data pipeline to ingest data from a JSON source using Auto Loader, but the engineer has not provided any type inference or schema hints in their pipeline. Upon reviewing the data, the data engineer has noticed that all of the columns in the target table are of the string type despite some of the fields only including float or boolean values. Which of the following describes why Auto Loader inferred all of the columns to be of the string type? There was a type mismatch between the specific schema and the inferred schema JSON data is a text-based format Auto Loader only works with string data All of the fields had at least one null value Auto Loader cannot infer the schema of ingested data.
A data analysis team has noticed that their Databricks SQL queries are running too slowly when connected to their always-on SQL endpoint. They claim that this issue is present when many members of the team are running small queries simultaneously. They ask the data engineering team for help. The data engineering team notices that each of the team's queries uses the same SQL endpoint. Which of the following approaches can the data engineering team use to improve the latency of the team's queries? They can increase the cluster size of the SQL endpoint They can increase the maximum bound of the SQL endpoint's scaling range They can turn on the Auto Stop feature for the SQL endpoint They can turn on the Serverless feature for the SQL endpoint They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to "Reliability Optimized.
Which of the following describes the type of workloads that are always compatible with Auto Loader? Dashboard workloads Streaming workloads Machine learning workloads Serverless workloads Batch workloads.
A new data engineering team team. has been assigned to an ELT project. The new data engineering team will need full privileges on the database customers 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? GRANT USAGE ON DATABASE customers TO team GRANT ALL PRIVILEGES ON DATABASE team TO customers GRANT SELECT PRIVILEGES ON DATABASE customers TO teams GRANT SELECT CREATE MODIFY USAGE PRIVILEGES ON DATABASE customers TO team GRANT ALL PRIVILEGES ON DATABASE customers TO team.
A data engineer and data analyst are working together on a data pipeline. The data engineer is working on the raw, bronze, and silver layers of the pipeline using Python, and the data analyst is working on the gold layer of the pipeline using SQL. The raw source of the pipeline is a streaming input. They now want to migrate their pipeline to use Delta Live Tables. Which of the following changes will need to be made to the pipeline when migrating to Delta LiveTables? None of these changes will need to be made The pipeline will need to stop using the medallion-based multi-hop architecture The pipeline will need to be written entirely in SQL The pipeline will need to use a batch source in place of a streaming source The pipeline will need to be written entirely in Python.
Which of the following describes a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement? Parquet files can be partitioned CREATE TABLE AS SELECT statements cannot be used on files Parquet files have a well-defined schema Parquet files have the ability to be optimized Parquet files will become Delta tables.
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? GRANT ALL PRIVILEGES ON TABLE sales TO team GRANT SELECT CREATE MODIFY ON TABLE sales TO team GRANT SELECT ON TABLE sales TO team GRANT USAGE ON TABLE sales TO team GRANT ALL PRIVILEGES ON TABLE team TO sales.
A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task. They can clone the existing task in the existing Job and update it to run the new notebook They can create a new task in the existing Job and then add it as a dependency of the original task They can create a new task in the existing Job and then add the original task as a dependency of the new task They can create a new job from scratch and add both tasks to run concurrently They can clone the existing task to a new Job and then edit it to run the new notebook.
A data engineer has a Job that has a complex run schedule, and they want to transfer that schedule to other Jobs. Rather than manually selecting each value in the scheduling form in Databricks, which of the following tools can the data engineer use to represent and submit the schedule programmatically? pyspark.sql.types.DateType datetime pyspark.sql.types.TimestampType Cron syntax There is no way to represent and submit this information programmatically.
Which of the following commands will return the number of null values in the member_id column? SELECT count(member_id) FROM my_table; SELECT count(member_id) - count_null(member_id) FROM my_table SELECT count_if(member_id IS NULL) FROM my_table; SELECT null(member_id) FROM my_table SELECT count_null(member_id) FROM my_table;.
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? They can turn on the Serverless feature for the SQL endpoint and change the Spot Instance Policy to "Reliability Optimize They can turn on the Auto Stop feature for the SQL endpoint They can increase the cluster size of the SQL endpoint They can turn on the Serverless feature for the SQL endpoint They can increase the maximum bound of the SQL endpoint's scaling range.
In order for Structured Streaming to reliably track the exact progress of the processing so that it can handle any kind of failure by restarting and/or reprocessing, which of the following two approaches is used by Spark to record the offset range of the data being processed in each trigger? Checkpointing and Write-ahead Logs Structured Streaming cannot record the offset range of the data being processed in each trigger Replayable Sources and Idempotent Sinks Write-ahead Logs and Idempotent Sinks Checkpointing and Idempotent Sinks.
A data engineer needs access to a table new_table, but they do not have the correct permissions. They can ask the table owner for permission, but they do not know who the table owner is. Which of the following approaches can be used to identify the owner of new_table? Review the Permissions tab in the table's page in Data Explorer All of these options can be used to identify the owner of the table Review the Owner field in the table's page in Data Explorer Review the Owner field in the table's page in the cloud storage solution There is no way to identify the owner of the table.
A data engineer is designing a data pipeline. The source system generates files in a shared directory that is also used by other processes. As a result, the files should be kept as is and will accumulate in the directory. The data engineer needs to identify which files are new since the previous run in the pipeline, and set up the pipeline to only ingest those new files with each run. Which of the following tools can the data engineer use to solve this problem? Unity Catalog Delta Lake Databricks SQL Data Explorer Auto Loader.
Which of the following approaches should be used to send the Databricks Job owner an email in the case that the Job fails? Manually programming in an alert system in each cell of the Notebook Setting up an Alert in the Job page Setting up an Alert in the Notebook There is no way to notify the Job owner in the case of Job failure MLflow Model Registry Webhooks.
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? CREATE TABLE IF NOT EXISTS table_name( employeedId STRING, startDate DATE, avgRatin FLOAT ); CREATE OR REPLACE TABLE table_name AS SELECT employeedId STRING, startDate DATE, avgRatin FLOAT USING DELTA; CREATE OR REPLACE TABLE table_name WITH COLUMNS( SELECT employeedId STRING, startDate DATE, avgRatin FLOAT) USING DELTA; CREATE OR REPLACE TABLE table_name AS SELECT employeedId STRING, startDate DATE, avgRatin FLOAT; CREATE OR REPLACE TABLE table_name (employeedId STRING, startDate DATE, avgRatin FLOAT);.
A data engineer has been given a new record of data: id STRING = 'a1' rank INTEGER = 6 rating FLOAT = 9.4 Which of the following SQL commands can be used to append the new record to an existing Delta table my_table? INSERT INTO my_table VALUES ('a1', 6, 9.4) my_table UNION VALUES ('a1', 6, 9.4) INSERT VALUES ( 'a1' , 6, 9.4) INTO my_table UPDATE my_table VALUES ('a1', 6, 9.4) UPDATE VALUES ('a1', 6, 9.4) my_table.
A data engineer has configured a Structured Streaming job to read from a table, manipulate the data, and then perform a streaming write into a new table. The cade block used by the data engineer is below. If the data engineer only wants the query to execute a micro-batch to process data every 5 seconds, which of the following lines of code should the data engineer use to fill in the blank? trigger("5 seconds") trigger() trigger(once="5 seconds") trigger(processingTime="5 seconds") trigger(continuous="5 seconds").
Which of the following data lakehouse features results in improved data quality over a traditional data lake? A data lakehouse provides storage solutions for structured and unstructured data A data lakehouse supports ACID-compliant transactions A data lakehouse allows the use of SQL queries to examine data A data lakehouse stores data in open formats A data lakehouse enables machine learning and artificial Intelligence workloads.
A data engineer has left the organization. The data team needs to transfer ownership of the data engineer's Delta tables to a new data engineer. The new data engineer is the lead engineer on the data team. Assuming the original data engineer no longer has access, which of the following individuals must be the one to transfer ownership of the Delta tables in Data Explorer? Databricks account representative This transfer is not possible Workspace administrator New lead data engineer Original data engineer.
Which of the following describes the relationship between Gold tables and Silver tables? Gold tables are more likely to contain aggregations than Silver tables Gold tables are more likely to contain valuable data than Silver tables Gold tables are more likely to contain a less refined view of data than Silver tables Gold tables are more likely to contain more data than Silver tables. Gold tables are more likely to contain truthful data than Silver tables.
Which of the following tools is used by Auto Loader process data incrementally? Checkpointing Spark Structured Streaming Data Explorer Unity Catalog Databricks SQL.
A data engineer has a Job with multiple tasks that runs nightly. Each of the tasks runs slowly because the clusters take a long time to start. Which of the following actions can the data engineer perform to improve the start up time for the clusters used for the Job? They can use endpoints available in Databricks SQL They can use jobs clusters instead of all-purpose clusters They can configure the clusters to be single-node They can use clusters that are from a cluster pool They can configure the clusters to autoscale for larger data sizes.
A data engineer is running code in a Databricks Repo that is cloned from a central Git repository. A colleague of the data engineer informs them that changes have been made and synced to the central Git repository. The data engineer now needs to sync their Databricks Repo to get the changes from the central Git repository. Which of the following Git operations does the data engineer need to run to accomplish this task? Merge Push Pull Commit Clone.
A data engineer needs to determine whether to use the built-in Databricks Notebooks versioning or version their project using Databricks Repos. Which of the following is an advantage of using Databricks Repos over the Databricks Notebooks versioning? Databricks Repos automatically saves development progress Databricks Repos supports the use of multiple branches Databricks Repos allows users to revert to previous versions of a notebook Databricks Repos provides the ability to comment on specific changes Databricks Repos is wholly housed within the Databricks Lakehouse Platform.
Which of the following is stored in the Databricks customer's cloud account? Databricks web application Cluster management metadata Repos Data Notebooks.
A data engineer wants to schedule their Databricks SQL dashboard to refresh every hour, but they only want the associated SQL endpoint to be running when it is necessary. The dashboard has multiple queries on multiple datasets associated with it. The data that feeds the dashboard is automatically processed using a Databricks Job. Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard? They can turn on the Auto Stop feature for the SQL endpoint. They can ensure the dashboard's SQL endpoint is not one of the included query's SQL endpoint They can reduce the cluster size of the SQL endpoint. They can ensure the dashboard's SQL endpoint matches each of the queries' SQL endpoints They can set up the dashboard's SQL endpoint to be serverless.
A data engineer that is new to using Python needs to create a Python function to add two integers together and return the sum? Which of the following code blocks can the data engineer use to complete this task? function add_integers(x, y): return x + y; function add_integers(x, y): x + y; def add_integers(x, y): print(x + y); def add_integers(x, y): return x + y; def add_integers(x, y): x + y;.
Which of the following statements regarding the relationship between Silver tables and Bronze tables is always true? Silver tables contain a less refined, less clean view of data than Bronze data Silver tables contain aggregates while Bronze data is unaggregated. Silver tables contain more data than Bronze tables. Silver tables contain a more refined and cleaner view of data than Bronze tables Silver tables contain less data than Bronze tables.
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? They can navigate to the Runs tab in the Jobs UI to immediately review the processing notebook They can navigate to the Tasks tab in the Jobs UI and click on the active run to review the processing notebook They can navigate to the Runs tab in the Jobs UI and click on the active run to review the processing notebook There is no way to determine why a Job task is running slowly. They can navigate to the Tasks tab in the Jobs UI to immediately review the processing notebook.
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. They can set a limit to the number of DBUs that are consumed by the SQL Endpoint They can set the query's refresh schedule to end after a certain number of refreshes. They cannot ensure the query does not cost the organization money beyond the first week of the project's release They can set a limit to the number of individuals that are able to manage the query's refresh schedule They can set the query's refresh schedule to end on a certain date in the query scheduler.
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? Databricks Filesystem Jobs Dashboards Repos Data Explorer.
A data analyst has created a Delta table sales that is used by the entire data analysis team. They want help from the data engineering team to implement a series of tests to ensure the data is clean. However, the data engineering team uses Python for its tests rather than SQL. Which of the following commands could the data engineering team use to access sales in PySpark? SELECT * FROM sales There is no way to share data between PySpark and SQL. spark.sql("sales") spark.delta.table("sales") spark.table("sales").
Which of the following Git operations must be performed outside of Databricks Repos? Commit Pull Push Clone Merge.
Which of the following Structured Streaming queries is performing a hop from a Silver table to a Gold table? (spark.readStream.load(rawSalesLocation) .writeStream .option("checkpointLocation", chekpointPath)} .outputMode("append") .table("newSales") ) (spark.read.load(rawSalesLocation) .writeStream .option("checkpointLocation", chekpointPath) .outputMode("append") .table("newSales") ) (spark.table("sales") .withColumn("avgPrice", col("sales")/col("units")) .writeStream .option("checkpointLocation", chekpointPath) .outputMode("append") .table("newSales") ) (spark.table("sales") .filter(col("units")>0) .writeStream .option("checkpointLocation", chekpointPath) .outputMode("append") .table("newSales") ) (spark.table("sales") .groupBy("store") .agg(sum("sales")) .writeStream .option("checkpointLocation", chekpointPath) .outputMode("complete") .table("newSales") ).
A data engineer has three tables in a Delta Live Tables (DLT) pipeline. They have configured the pipeline to drop invalid records at each table. They notice that some data is being dropped due to quality concerns at some point in the DLT pipeline. They would like to determine at which table in their pipeline the data is being dropped. Which of the following approaches can the data engineer take to identify the table that is dropping the records? They can set up separate expectations for each table when developing their DLT pipeline They cannot determine which table is dropping the records. They can set up DLT to notify them via email when records are dropped. They can navigate to the DLT pipeline page, click on each table, and view the data quality statistics They can navigate to the DLT pipeline page, click on the "Error" button, and review the present errors.
Denunciar test Consentimiento Condiciones de uso