Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Hortonworks Exam HDPCD Topic 2 Question 63 Discussion

Actual exam question for Hortonworks's HDPCD exam
Question #: 63
Topic #: 2
[All HDPCD Questions]

Which HDFS command copies an HDFS file named foo to the local filesystem as localFoo?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Tequila
5 months ago
Hmm, I bet the developers who wrote this exam question are real 'copy-cats' when it comes to HDFS commands!
upvoted 0 times
Long
4 months ago
D) hadoop fs -put foo LocalFoo
upvoted 0 times
...
Rueben
5 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Doretha
5 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...
Sharen
5 months ago
D looks good, the 'put' command should copy the HDFS file to the local filesystem.
upvoted 0 times
Shaun
4 months ago
Great, let's go with option D then.
upvoted 0 times
...
Derick
4 months ago
I agree, D is the right choice.
upvoted 0 times
...
Dannette
4 months ago
Yes, 'put' command is used to copy HDFS file to local filesystem.
upvoted 0 times
...
Edgar
5 months ago
I think D is the correct answer.
upvoted 0 times
...
...
Dominga
5 months ago
I think the correct answer is A) hadoop fs -get foo LocalFoo because it is used to copy files from HDFS to local filesystem.
upvoted 0 times
...
Tammi
5 months ago
But with -put command, we are putting the file into HDFS, not copying it to local filesystem.
upvoted 0 times
...
Zoila
5 months ago
I disagree, I believe the answer is D) hadoop fs -put foo LocalFoo.
upvoted 0 times
...
Antonette
6 months ago
C is clearly not the correct answer, '-ls' just lists the file, not copies it.
upvoted 0 times
Emiko
5 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Johnathon
5 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...
Tammi
6 months ago
I think the answer is A) hadoop fs -get foo LocalFoo.
upvoted 0 times
...
Kallie
6 months ago
I'm not sure about B, the 'cp' command doesn't sound right for this task.
upvoted 0 times
...
Cristy
6 months ago
Option A seems straightforward, using the 'get' command to copy the HDFS file to the local filesystem.
upvoted 0 times
Onita
5 months ago
D) hadoop fs -put foo LocalFoo
upvoted 0 times
...
Hector
5 months ago
That makes sense, using the 'get' command to copy the file locally.
upvoted 0 times
...
Hector
5 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
Kimbery
5 months ago
I think it's actually option A, using the 'get' command specifically.
upvoted 0 times
...
Leslee
5 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Ahmed
5 months ago
That makes sense, using the 'get' command to copy the file.
upvoted 0 times
...
Bernardo
6 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...

Save Cancel