Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Associate Developer for Apache Spark All Questions

View all questions & answers for the Certified Associate Developer for Apache Spark exam

Exam Certified Associate Developer for Apache Spark topic 1 question 90 discussion

The code block shown below should return a new DataFrame that is the result of an inner join between DataFrame storeDF and DataFrame employeesDF on column storeId. Choose the response chat correctly fills in the numbered blanks within the code block to complete this task.

Code block:

storesDF.__1__(__2__, __3__, __4__)

  • A. 1. join
    2. employeesDF
    3. "inner"
    4. storesDF.storeId === employeesDF.storeId
  • B. 1. join
    2. employeesDF
    3. "storeId"
    4. "inner"
  • C. 1. merge
    2. employeesDF
    3. "storeId"
    4. "inner"
  • D. 1. join
    2. employeesDF
    3. "inner"
    4. "storeId"
  • E. 1. join
    2. employeesDF
    3. "inner"
    4. "storeId"
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
azure_bimonster
9 months, 3 weeks ago
Selected Answer: B
this is the right one
upvoted 2 times
...
Raju_Bhai
1 year, 1 month ago
correct syatx=> df.join(x, KEY, 'inner'), so option B
upvoted 4 times
...
thanab
1 year, 2 months ago
B is correct.
upvoted 4 times
...
Ram459
1 year, 3 months ago
Selected Answer: B
B looks to be right
upvoted 4 times
...
zozoshanky
1 year, 4 months ago
B is correct
upvoted 4 times
cookiemonster42
1 year, 3 months ago
agreed, mate, it's B, the type is the last argument
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...