
CompTIAServer+
Domain 2Objective 6
Scripting Basics SK0-005 Practice Questions (Page 4)
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 16–20
- 16
A server administrator is writing a PowerShell script to process a list of server names stored in the variable $servers. Which construct will iterate over each element in the collection exactly once?
Select an answer first - 17
Which common server administration task is most suitable for automation with a script?
Select an answer first - 18
In PowerShell, which cmdlet is used to get information about system performance counters, such as CPU usage?
Select an answer first - 19
In PowerShell, which cmdlet is used to create a new empty file?
Select an answer first - 20
A server administrator is writing a PowerShell script to monitor CPU and memory usage. The script needs to store the threshold values (e.g., 80% CPU, 70% memory) so they can be easily adjusted without editing the entire script. What is the best way to store these values?
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.