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

Cisco 200-901 Exam - Topic 1 Question 103 Discussion

Refer to the exhibit.A network engineer must copy the ''config.txt'' file from directory TEST to directory PROD. The copied file must also be renamed into ''current.txt''. Which command must be used to accomplish these tasks?
D) cp ./TEST/config.txt ./PROD/current.txt
A) cp ./PROD/current.txt ./TEST/config.txt
B) cp ./TESTi/current.txt ./PROD/config.txt
C) cp ./PROD/config.txt ./TEST/current.txt

Cisco 200-901 Exam - Topic 1 Question 103 Discussion

Actual exam question for Cisco's 200-901 exam
Question #: 103
Topic #: 1
[All 200-901 Questions]

Refer to the exhibit.

A network engineer must copy the ''config.txt'' file from directory TEST to directory PROD. The copied file must also be renamed into ''current.txt''. Which command must be used to accomplish these tasks?

Show Suggested Answer Hide Answer
Suggested Answer: D

To copy a file from one directory to another and rename it in the process, the cp (copy) command in Linux can be used with the appropriate source and destination paths:

Command Breakdown:

cp: The copy command.

./TEST/config.txt: The source file path.

./PROD/current.txt: The destination file path with the new name.

Thus, the correct command to achieve this task is: cp ./TEST/config.txt ./PROD/current.txt


Linux cp Command Manual

Cisco DevNet Associate Certification Guide

Contribute your Thoughts:

0/2000 characters
Lucy
8 months ago
Why do we need to rename it? Seems unnecessary to me.
upvoted 0 times
...
Tequila
9 months ago
Wait, isn't there a typo in option B? It says TESTi instead of TEST.
upvoted 0 times
...
Cyril
9 months ago
The correct command is D. It copies and renames the file.
upvoted 0 times
...
Candida
9 months ago
Totally agree, option D is the way to go!
upvoted 0 times
...
Letha
9 months ago
I thought it was option C at first, but D makes more sense.
upvoted 0 times
...
Vincenza
9 months ago
I feel like the answer is D because it matches the requirement to copy and rename the file, but I need to double-check the command structure.
upvoted 0 times
...
Shay
10 months ago
I’m a bit confused about the directory paths. Shouldn't we be using the correct source and destination in the command?
upvoted 0 times
...
Sheridan
10 months ago
I remember practicing a similar question where we had to copy and rename files, and I think option D looks familiar for that.
upvoted 0 times
...
Stephaine
10 months ago
I think the command should copy the file from TEST to PROD, but I'm not sure about the syntax for renaming it.
upvoted 0 times
...
Laurel
10 months ago
Alright, I'm pretty confident I know the right answer here. I'll double-check the details one more time, but I think option D is the way to go.
upvoted 0 times
...
Wenona
10 months ago
I'm a bit confused. The wording of the question and the options is tripping me up. Let me re-read this a few times to make sure I understand what I'm supposed to do.
upvoted 0 times
...
Emerson
11 months ago
I've got this! Option D is the correct answer - "cp ./TEST/config.txt ./PROD/current.txt". That copies the file from the right source to the right destination with the correct renaming.
upvoted 0 times
...
Audry
11 months ago
Okay, the key details are that I need to copy the "config.txt" file from the TEST directory to the PROD directory, and rename it to "current.txt". Let me think through the options...
upvoted 0 times
...
Luisa
11 months ago
Hmm, this looks straightforward. I'll carefully read through the question and options to make sure I understand exactly what needs to be done.
upvoted 0 times
...
Antonio
11 months ago
D is the correct answer. I mean, it's not rocket science, just basic file management. Though, I have to admit, option B with the 'TESTi' directory gave me a good chuckle.
upvoted 0 times
...
Daniel
12 months ago
Because we need to copy from TEST to PROD and rename the file, so it makes sense to use option A.
upvoted 0 times
...
Tegan
1 year ago
Why do you think it's A?
upvoted 0 times
...
Daniel
1 year ago
I disagree, I believe the answer is A.
upvoted 0 times
...
Nikita
1 year ago
Haha, option B says 'TESTi', is that a new directory they invented? I'm going with D, it's the only one that makes sense.
upvoted 0 times
...
Tegan
1 year ago
I think the answer is D.
upvoted 0 times
...
Allene
1 year ago
Definitely D. You can't copy a file from PROD to TEST, that makes no sense. The question clearly states to copy from TEST to PROD and rename it.
upvoted 0 times
Leatha
11 months ago
User2: Yeah, it makes sense to copy from TEST to PROD.
upvoted 0 times
...
Gary
12 months ago
User1: I think the answer is D.
upvoted 0 times
...
...

Save Cancel