Which tool of the Hadoop ecosystem allows a user to query data with SQL-like statements?
- A.Sqoop
- B.Hive
- C.Flume
- D.Zookeeper
Correct answer
Explanation
The correct answer is B, Hive. Apache Hive puts a table-like view over files stored in HDFS and lets an analyst write queries in HiveQL, a language close to SQL, which Hive then turns into jobs that run on the cluster, so that no Java programming is needed. Option A is wrong because Sqoop is the tool that imports data from relational databases into Hadoop and exports it back, its name being a contraction of SQL and Hadoop. Option C is wrong because Flume collects and carries streaming data such as log files into HDFS. Option D is wrong because Zookeeper coordinates the machines of a distributed system, keeping configuration and naming information and helping elect a leader. Pig is the other query tool to remember, but it uses its own language, Pig Latin, rather than SQL.
Read the full article: Big Data, Data Mining and Data Analytics: Exam Notes
Practice Questions
View allA central repository of information that can be analyzed to make more informed decisions is known as:
- A.Data mining
- B.Data storing
- C.Data sorting
- D.Data warehouse
Show answer
A data warehouse is exactly that, a central store into which data from many operational systems is extracted, cleaned and loaded so that it can be analysed for decision making.
Read the full explanation →Which of the following statement(s) is/are correct regarding On-Line Transaction Processing (OLTP)? I. Responses to the user inquiry are immediate. II. The associated cost is economical with efficient utilization of resources. III. The database is always up-to-date.
- A.Only II
- B.I and III
- C.I and II
- D.Only III
Show answer
On-Line Transaction Processing is the mode in which a bank counter, a railway booking window or a payment gateway works: each transaction is processed the moment it is entered, so the response to the user is immediate, and every committed transaction is written at once, so the database always reflects…
Read the full explanation →Which of the following is NOT one of the three Vs of big data?
- A.Volume
- B.Velocity
- C.Variety
- D.Virtualisation
Show answer
Virtualisation is the technique of running several logical machines on one physical machine and belongs to the chapter on cloud computing, not to the definition of big data.
Read the full explanation →In Hadoop, which component is responsible for storing data across the machines of a cluster?
- A.MapReduce
- B.HDFS
- C.YARN
- D.Hive
Show answer
It splits a large file into fixed-size blocks, 128 megabytes by default in current versions, scatters those blocks over the machines of the cluster and keeps more than one copy of each block so that the failure of a machine does not lose data.
Read the full explanation →Data mining is best described as which step of the knowledge discovery process?
- A.The collection of raw data from sensors
- B.The step that finds patterns in prepared data
- C.The backing up of a database
- D.The printing of a management report
Show answer
In the process called Knowledge Discovery in Databases, or KDD, the stages run from selection of the relevant data, through cleaning and preprocessing, to transformation, then data mining, and finally interpretation and evaluation of what was found.
Read the full explanation →