↑ ↓ to move, Enter to open, Esc to close

    DBX-ADASAssociate Developer for Apache Spark

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search

    DBX-ADAS · Practice

    Question 2 of 31

    Question DBX-ADAS-003

    Single choiceChoose one answer.

    A data engineer is working on a Spark job that must join multiple DataFrames. Given this code snippet that performs the joins:

    data1 = [Row(id=1, value=”A”)]  
    df1= spark.createDataFrame (datal)  
    data2 = [Row(id=1, description= “Descl”)]  
    df2 = spark.createDataFrame (data2)  
    data3 = [Row(id=1, details="Details1")]  
    df3 spark.createDataFrame (data3)  
      
    joined df = df1.join (broadcast (df2), df1.id == df2.id, “inner”) .join (broadcast (df3), df2.id == df3.id, “inner”)  
    

    What output will this code produce?

    A–D selectEnter check answerF flag←→ move