
CompTIAServer+
Domain 2Objective 6
Scripting Basics SK0-005 Practice Questions (Page 2)
Part of the Server administration domain, which accounts for 30% of the SK0-005 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~11–18 in this domain), expect 2–3 from this objective — we provide 23 practice questions to prepare you well beyond it. (estimate)
23questions here
5free pages
11concepts
30%of the exam
Questions 6–10
- 6
In a Linux script, which command is commonly used to monitor CPU and memory usage in real time?
Select an answer first - 7
A Windows administrator needs to create 50 new user accounts for a temporary project team. The usernames are in a CSV file with columns 'FirstName' and 'LastName'. The administrator wants to write a PowerShell script that reads the CSV and creates each user with a username in the format 'firstname.lastname'. Which approach correctly uses a loop and variables?
Select an answer first - 8
In a Bash script, which command is used to delete a file named 'old.log'?
Select an answer first - 9
What is a primary benefit of scripting common server administration tasks?
Select an answer first - 10
In PowerShell, which loop construct guarantees that the code block runs at least once?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “SK0-005” is a trademark of its owner, used for identification only.