exam questions

Exam SK0-005 All Questions

View all questions & answers for the SK0-005 exam

Exam SK0-005 topic 1 question 21 discussion

Actual exam question from CompTIA's SK0-005
Question #: 21
Topic #: 1
[All SK0-005 Questions]

Which of the following will correctly map a script to a home directory for a user based on username?

  • A. \\server\users$\username
  • B. \\server\%username%
  • C. \\server\FirstInitialLastName
  • D. \\server\$username$
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Kraken84
6 months, 4 weeks ago
The correct option that will map a script to a home directory for a user based on the username is: B. \\server\%username% In this option, `%username%` is a variable that will be replaced with the actual username of the user. This allows for dynamic mapping based on the logged-in user's username. ~ChatGPT 4.0
upvoted 3 times
...
PEsty93
2 years ago
Selected Answer: B
% are used for variables in Microsoft. $ are Linux/Unix
upvoted 4 times
TheITStudent
1 year, 8 months ago
Yeah this question is horrid, because syntax is dependant upon the type of shell you are using/language. so multiple possible answers? I thought $ is for Linux as well. This is one of the worst CompTIA questions I've ever seen.
upvoted 3 times
...
...
Atemius
2 years, 1 month ago
Correct answer is B. The link shows the answer.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago