Search Header Logo

Hadoop HDFS Commands Quiz

Authored by Kundan Kumar

Education

University

Used 10+ times

Hadoop HDFS Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can you create a directory in HDFS?

mkdir

1

2

3

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What command lists files in a directory in HDFS?

list

hdfs dfs -ls

hdfs dfs -files

hdfs dfs -dir

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to upload files from the local file system to HDFS?

put

hdfs dfs -copyFromLocal

copyToHDFS

hdfs dfs -move

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can you remove a directory or file in HDFS?

hdfs dfs -rmdir

hdfs dfs -rm

hdfs dfs -rm

hdfs dfs -remove

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The command to deletes the directory `directory` and its contents recursively from HDFS.

hdfs dfs -rm -r [path]

hadoop fs -rm [path]

hdfs dfs -remove [path]

None of these

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The command changes the permissions of `file.txt` to `755`.

hadoop fs -chmod 755 /file.txt

hdfs dfs -chmod 755 /file.txt

hdfs dfs -stat

hadoop fs -check

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The command displays the file status

hdfs dfs -blocks

hdfs dfs -locations

hdfs dfs -stat

hdfs dfs -find

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?