Prgramming MCQs Feed | Page - 1

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. What happens when the replication factor of a file is increased in HDFS?

  • (A) Blocks are deleted
  • (B) New blocks are created
  • (C) Existing blocks are replicated to other DataNodes
  • (D) DataNode shuts down

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. Which command is used to delete a file in HDFS?

  • (A) hdfs dfs -remove
  • (B) hdfs dfs -delete
  • (C) hdfs dfs -rm
  • (D) hdfs dfs -clear

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. What is the maximum size of a block in HDFS?

  • (A) 64 MB
  • (B) 128 MB
  • (C) 1 GB
  • (D) It can be configured as needed

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. What is the main benefit of using large block sizes in HDFS?

  • (A) Faster replication
  • (B) Reduced NameNode memory usage
  • (C) Fewer disk seeks
  • (D) Improved security

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. Which of these is a valid HDFS file permission string?

  • (A) rw-r--r--
  • (B) xyz-abc-def
  • (C) 777
  • (D) rwxrwxrwx

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. Which component in Hadoop is responsible for task execution in MapReduce?

  • (A) ResourceManager
  • (B) ApplicationMaster
  • (C) TaskTracker
  • (D) NodeManager

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. In which directory is the HDFS NameNode metadata stored?

  • (A) /tmp/hdfs
  • (B) /hadoop/hdfs/data
  • (C) /hadoop/hdfs/namenode
  • (D) /hadoop/dfs/name

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. Which of the following is a distributed computing framework in Hadoop?

  • (A) HDFS
  • (B) YARN
  • (C) MapReduce
  • (D) Sqoop

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. How does Hadoop handle hardware failure?

  • (A) Shuts down the system
  • (B) Ignores it
  • (C) Automatically replicates data
  • (D) Alerts administrator only

R

Rakesh Yadav • 5.67K Points
Tutor III

Q. Which Hadoop component is responsible for managing resource usage per job?

  • (A) Hive
  • (B) YARN
  • (C) HBase
  • (D) Pig