Interview questions · medium
How would you read data from a web API? What steps would you follow after reading the data?
How would you read data from a web API using PySpark?
What is broadcasting in Spark, and why is it used? Can you give an example of its use?
What is the difference between map and flatMap in Spark, and when would you use each?
What work is done by the executor memory in Spark?
When and how do you use Broadcast Join?
Write a Python script to find the count of each word in a text file using Spark.
Write the PySpark code to find the second highest salary in each department.
Write a Python function to check if a string is a palindrome.
What is Left Anti Join and its use case?
What is a cross-join?
What is a semi-join?
Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.