Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Big Data Assessment Test

Topics Covered

  • HDFS
  • Oozie
  • Map Reduce
  • Flume
  • Hive
  • Pig
  • Sqoop

Useful for hiring

  • Big Data Developer
  • Big Data Specialist
  • Big Data Expert
  • Big Data Engineer
  • Big Data Consultant

Start hiring job-fit candidates using this assessment

GET A DEMO

"We realized that to acquire quality talent, our recruitment process was in dire need of automation. Too many of our technicalteam were simply wasting hours conducting interviews that did not yield the desired results. For us the foremost criteria were to finda recruitment partner who could tick all the right boxes"

Rehana Nisar, Gartner,
Global Product & Services Recruitment Head
Question

How to copy a file from local to HDFS?

Note: There can be multiple correct answers to this question.

Answer
    • hadoop fs -cp localfile /user/hadoop/file2

    • hadoop fs -copy localfile /user/hadoop/file2

    • hadoop fs -put localfile /user/hadoop/file2

    • hadoop fs -copyToLocal localfile /user/hadoop/file2

Question

Assume that we have input data file below:

1,2,3
3,1,2
5,6,3

What is the output when running this script?

A=LOAD'input1'USINGPigStorage(',') 
AS(f1:int, f2:int);
B=LOAD'input1'USINGPigStorage(',') 
AS(f1:int, f2:int);
D=UNIONB,A;
X=FILTERDBY(f1==8)OR(NOT(f1+f2>3));
dumpX;

Answer
    • (1,2)

    • (1,2)

    • Run without output

    • Syntax error

Question

How to drop partition in Hive?

Answer
    • hive> ALTER TABLE student DROP [IF EXISTS]
      > PARTITION (year=’1991’);

    • hive> Modify TABLE student DROP [IF EXISTS]
      > PARTITION (year=’1991’);

    • hive> Update TABLE student DROP [IF EXISTS]
      > PARTITION (year=’1991’);

    • hive> ALTER TABLE student REMOVE [IF EXISTS]
      > PARTITION (year=’1991’);

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO