220-1102 Practice Question: A technician is supporting a shared training-room…
This 220-1102 practice question tests your understanding of a technician is supporting a shared training-room…. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: grep is a command-line utility for searching text patterns in files.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A technician is supporting a shared training-room workstation. The immediate goal is to find matching error entries in Linux logs. Which tool, control, or procedure is the best fit?
Answer choices
Why each option matters
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Best answer
grep against log files
grep against log files directly supports the stated troubleshooting, security, or operational goal.
Distractor review
Event Viewer
Event Viewer is useful for logs, but this scenario requires a different primary tool or control.
Distractor review
Local Users and Groups
Local user management does not directly address the stated issue.
Distractor review
System Restore
System Restore is useful for reversing certain Windows changes but is not the best fit for this specific goal.
Answer analysis
Why the other options are wrong
Understanding why incorrect options are tempting is as important as knowing the correct answer.
- ✗
Event Viewer
Event Viewer is useful for logs, but this scenario requires a different primary tool or control.
- ✗
Local Users and Groups
Local user management does not directly address the stated issue.
- ✗
System Restore
System Restore is useful for reversing certain Windows changes but is not the best fit for this specific goal.
Common exam trap
Common exam trap: answer the scenario, not the keyword
The most tempting wrong answer is Event Viewer because candidates might confuse Linux log analysis with Windows log analysis.
Technical deep dive
How to think about this question
The core concept being tested here is the ability to effectively troubleshoot issues within a Linux environment, specifically by analyzing system logs. `grep` is a powerful command-line utility in Linux (and Unix-like systems) used for searching plain-text data sets for lines that match a regular expression. In the context of log analysis, `grep` allows a technician to quickly filter through potentially massive log files (like `/var/log/syslog`, `/var/log/messages`, or application-specific logs) to find specific error messages, timestamps, process IDs, or keywords. This directly addresses the immediate goal of finding matching error entries, as the technician can specify a pattern (e.g., 'error', 'fail', a specific process name) and `grep` will output only the lines containing that pattern, making it efficient to pinpoint relevant information. Its flexibility with regular expressions makes it an indispensable tool for detailed log scrutiny. This scenario explicitly states a 'Linux' workstation, which immediately rules out Windows-specific tools like Event Viewer and System Restore. While Event Viewer is the primary graphical tool for viewing logs in Windows, it has no direct applicability in a Linux environment. Similarly, System Restore is a Windows feature designed to revert system files and registry settings to a previous state, which is entirely unrelated to searching log files in Linux. Local Users and Groups is a system management tool for managing user accounts and permissions, which, while important for system administration, does not assist in searching for error entries in logs. Therefore, `grep` stands out as the only appropriate and effective tool among the given options for the specified task in a Linux context.
KKey Concepts to Remember
- grep is a command-line utility for searching text patterns in files.
- It is fundamental for log analysis in Linux and Unix-like operating systems.
- grep supports regular expressions for complex pattern matching.
- Commonly used with pipes (e.g., `cat logfile | grep 'error'`) or directly (`grep 'error' logfile`).
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
grep is a command-line utility for searching text patterns in files.
Related practice questions
Related 220-1102 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
CompTIA A+ hardware practice questions
Practise 220-1102 questions linked to CompTIA A+ hardware.
CompTIA A+ mobile devices practice questions
Practise 220-1102 questions linked to CompTIA A+ mobile devices.
CompTIA A+ networking practice questions
Practise 220-1102 questions linked to CompTIA A+ networking.
CompTIA A+ operating systems practice questions
Practise 220-1102 questions linked to CompTIA A+ operating systems.
CompTIA A+ security practice questions
Practise 220-1102 questions linked to CompTIA A+ security.
CompTIA A+ software troubleshooting questions
Practise 220-1102 questions linked to CompTIA A+ software troubleshooting questions.
CompTIA A+ operational procedures questions
Practise 220-1102 questions linked to CompTIA A+ operational procedures questions.
More questions from this exam
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
A change advisory board (CAB) approved a standard change to update antivirus definitions on all servers. The technician completes the update on a file server and verifies the server is functioning normally. According to change management best practices, what documentation should the technician complete?
Question 2
A company's change management policy requires all server changes to be approved by the Change Advisory Board (CAB). A technician discovers that a critical database server's operating system needs a security patch to comply with a new regulatory requirement that takes effect in one week. The patch has a known risk of causing service downtime. The next scheduled CAB meeting is in two weeks. What should the technician do FIRST?
Question 3
A company is implementing a bring-your-own-device (BYOD) policy and needs to ensure that corporate data on employee mobile devices is protected. Which of the following is the MOST important technical control to implement?
Question 4
A company requires employees to present both a smart card and a PIN to log into their workstations. Which authentication principle is being implemented?
Question 5
A company requires all Windows 10 workstations to be able to join an Active Directory domain. Which edition of Windows 10 must be installed on these workstations?
Question 6
A company wants to allow employees to securely access internal resources from home via the internet. Which method provides the highest level of security for remote desktop connections?
Practice this exam
Start a free 220-1102 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 220-1102 question test?
grep is a command-line utility for searching text patterns in files.
What is the correct answer to this question?
The correct answer is: grep against log files — The scenario tests selecting the most relevant support tool rather than choosing a generic Windows utility.
What should I do if I get this 220-1102 question wrong?
Review grep is a command-line utility for searching text patterns in files., then practise related 220-1102 questions on the same topic to reinforce the concept.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More 220-1102 practice questions
- A change advisory board (CAB) approved a standard change to update antivirus definitions on all servers. The technician…
- A company's change management policy requires all server changes to be approved by the Change Advisory Board (CAB). A te…
- A company is implementing a bring-your-own-device (BYOD) policy and needs to ensure that corporate data on employee mobi…
- A company requires employees to present both a smart card and a PIN to log into their workstations. Which authentication…
- A company requires all Windows 10 workstations to be able to join an Active Directory domain. Which edition of Windows 1…
- A company wants to allow employees to securely access internal resources from home via the internet. Which method provid…
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.
This 220-1102 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1102 exam.