Databricks-Certified-Data-Engineer-Associate Exam Question 46

Identify how the count_if function and the count where x is null can be used Consider a table random_values with below data.
What would be the output of below query?
select count_if(col > 1) as count_a. count(*) as count_b.count(col1) as count_c from random_values col1
0
1
2
NULL -
2
3
  • Databricks-Certified-Data-Engineer-Associate Exam Question 47

    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?
  • Databricks-Certified-Data-Engineer-Associate Exam Question 48

    A dataset has been defined using Delta Live Tables and includes an expectations clause:
    CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION DROP ROW What is the expected behavior when a batch of data containing data that violates these constraints is processed?
  • Databricks-Certified-Data-Engineer-Associate Exam Question 49

    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?
  • Databricks-Certified-Data-Engineer-Associate Exam Question 50

    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 code block used by the data engineer is below:

    If the data engineer only wants the query to process all of the available data in as many batches as required, which of the following lines of code should the data engineer use to fill in the blank?