Cloudera
CCA-500 · Question #25
CCA-500 Question #25: Real Exam Question with Answer & Explanation
Sign in or unlock CCA-500 to reveal the answer and full explanation for question #25. The question stem and answer options stay visible for context.
Question
Assume you have a file named foo.txt in your local directory. You issue the following three commands: Hadoop fs -mkdir input Hadoop fs -put foo.txt input/foo.txt Hadoop fs -put foo.txt input What happens when you issue the third command?
Options
- AThe write succeeds, overwriting foo.txt in HDFS with no warning
- BThe file is uploaded and stored as a plain file named input
- CYou get a warning that foo.txt is being overwritten
- DYou get an error message telling you that foo.txt already exists, and asking you if you would like
- EYou get a error message telling you that foo.txt already exists. The file is not written to HDFS
- FYou get an error message telling you that input is not a directory
- GThe write silently fails
Unlock CCA-500 to see the answer
You've previewed enough free CCA-500 questions. Unlock CCA-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.