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 Hive Online Assessment Test

Topics Covered

  • Hive Functions
  • Hive Operators
  • Hive Queries
  • Hive Features

Useful for hiring

  • Big Data Developer -  Hive
  • Big Data Scientist- Hive

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

Assume bill table as given below:



What will the output return with the following query?
SELECT product, sum(price) FROM bill GROUP BY product

Answer
    • Product Price
      Ipad 1200
      Iphone 1000
      Laptop 1800
      Laptop 2000
      TV 700

    • Product Price
      Ipad 1200
      Iphone 1000
      Laptop 3800
      TV 700

    • Product Price
      Ipad 1
      Iphone 1
      Laptop 2
      TV 1

    • Product Price
      Laptop 3800

Question

Assume bill table as given below:



What will the output be return with the following query?
SELECT * FROM bill WHERE price > 1000 and quantity > 1;

Answer
Question

Which statement is correct with the code snippet below?

   Job maxRunlength = triggerMaxDuration(hdfsConf, args);
              Job removeDuplicateJob = triggerRemoveDuplicateJob(hdfsConf, args);
              while (!removeDuplicateJob.isComplete() || !maxRunlength.isComplete()) {
                     System.out.println("Wait");
                     Thread.sleep(1000);
              }
              if(maxRunlength.isSuccessful()){
                     System.out.println("Max duration job completed successfully!");
              }
              else{
                     System.out.println("Max duration job failed!");
              }
              if (removeDuplicateJob.isSuccessful()) {
                     System.out.println("remove Duplication job completed successfully!");
                     Job jobFilter = triggerRecordFilter(hdfsConf, args);
                     while (!jobFilter.isComplete()){
                           System.out.println("Wait Filter!");
                           Thread.sleep(1000);
                     }
                     if(jobFilter.isSuccessful()){
                           System.out.println("Fillter job completed successfully!");
                           Job jobJoinAllData = triggerJoinAllData(hdfsConf, args);
                           while(!jobJoinAllData.isComplete()){
                                  System.out.println("Wait Join!");
                                  Thread.sleep(1000);
                           }
                           if(jobJoinAllData.isSuccessful()){
                                  System.out.println("Join data job completed successfully!");
                           }
                           else{
                                  System.out.println("Join data job failed!");
                           }
                     }
                     else{
                           System.out.println("Max duration job failed!");
                     }
              }
              else {
                     System.out.println("removeDuplicateJob failed!");
              }

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

Answer
    • jobJoinAllData is the final job in this chaining.

    • jobFilter is dependent on removeDuplicateJob

    • maxDuration and removeDuplicateJob are run at the same time.

    • If removeDuplicateJob is a fail, jobFilter and jobJoinAllData are still running.

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