New Year Sale ! 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
4 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
3 months ago
D) hadoop fs -put foo LocalFoo
upvoted 0 times
...
Rueben
3 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Doretha
4 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...
Sharen
4 months ago
D looks good, the 'put' command should copy the HDFS file to the local filesystem.
upvoted 0 times
Shaun
3 months ago
Great, let's go with option D then.
upvoted 0 times
...
Derick
3 months ago
I agree, D is the right choice.
upvoted 0 times
...
Dannette
3 months ago
Yes, 'put' command is used to copy HDFS file to local filesystem.
upvoted 0 times
...
Edgar
3 months ago
I think D is the correct answer.
upvoted 0 times
...
...
Dominga
4 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
4 months ago
But with -put command, we are putting the file into HDFS, not copying it to local filesystem.
upvoted 0 times
...
Zoila
4 months ago
I disagree, I believe the answer is D) hadoop fs -put foo LocalFoo.
upvoted 0 times
...
Antonette
4 months ago
C is clearly not the correct answer, '-ls' just lists the file, not copies it.
upvoted 0 times
Emiko
4 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Johnathon
4 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...
Tammi
5 months ago
I think the answer is A) hadoop fs -get foo LocalFoo.
upvoted 0 times
...
Kallie
5 months ago
I'm not sure about B, the 'cp' command doesn't sound right for this task.
upvoted 0 times
...
Cristy
5 months ago
Option A seems straightforward, using the 'get' command to copy the HDFS file to the local filesystem.
upvoted 0 times
Onita
4 months ago
D) hadoop fs -put foo LocalFoo
upvoted 0 times
...
Hector
4 months ago
That makes sense, using the 'get' command to copy the file locally.
upvoted 0 times
...
Hector
4 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
Kimbery
4 months ago
I think it's actually option A, using the 'get' command specifically.
upvoted 0 times
...
Leslee
4 months ago
B) hadoop -cp foo LocalFoo
upvoted 0 times
...
Ahmed
4 months ago
That makes sense, using the 'get' command to copy the file.
upvoted 0 times
...
Bernardo
5 months ago
A) hadoop fs -get foo LocalFoo
upvoted 0 times
...
...

Save Cancel