Search test library by skills or roles
⌘ K

Adaface Sample Spark Questions

Here are some sample Spark questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Easy

Character count
Solve
Penny created a jar file for her character count example written in Java. The jar name is attempt.jar and the main class is com.penny.CharCount.java, which requires an input file name and output directory as input parameters. Which of the following is the correct command to submit a job in Spark with the given constraints?
 image

Medium

File system director
Spark Scala API
Spark Streaming
Solve
Review the following Spark job description:
            
            1. Monitor file system director for new files. 
            2. For new files created in the “/rambo” dictionary, perform word count.
            
            Which of the following snippets would achieve this?
 image

Medium

Grade-Division-Points
Spark Scala API
DataFrame
Solve
Consider the following Spark DataFrame:
 image
Which of the given code fragments produce the following result:
 image
 image
🧐 Question🔧 Skill

Easy

Character count

2 mins

Spark
Solve

Medium

File system director
Spark Scala API
Spark Streaming

3 mins

Spark
Solve

Medium

Grade-Division-Points
Spark Scala API
DataFrame

4 mins

Spark
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Character count
Spark
Easy2 mins
Solve
File system director
Spark Scala API
Spark Streaming
Spark
Medium3 mins
Solve
Grade-Division-Points
Spark Scala API
DataFrame
Spark
Medium4 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️