Courseiva
Operating Systems →hardMultiple Choice

220-1102 Operating Systems Practice Question

A technician is supporting a remote worker laptop. The immediate goal is to find matching error entries in Linux logs. Which tool, control, or procedure is the best fit?

⚠ Common exam trap

The trap here is that candidates familiar with Windows tools (Event Viewer, System Restore) may incorrectly apply them to a Linux scenario, forgetting that Linux relies on command-line utilities like `grep` for log analysis.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

grep against log files

The `grep` command is the standard Linux tool for searching text within files, making it ideal for filtering log files to find matching error entries. By piping `grep` with patterns like 'error' or specific timestamps against logs in `/var/log/`, a technician can quickly isolate relevant entries without needing a GUI. This aligns with the goal of matching error entries in Linux logs, as `grep` is purpose-built for pattern matching in text streams.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    grep against log files

    Why this is correct

    Grep against log files directly identifies relevant error messages or patterns in application, system, or service logs by matching text patterns. For a remote worker laptop issue, this is the immediate, targeted diagnostic step, enabling rapid isolation of the root cause from thousands of log lines. It supports cross-platform log formats and works efficiently over SSH or exported log bundles.

  • ✗

    Local Users and Groups

    Why it's wrong here

    Local Users and Groups is a Microsoft Management Console snap-in that manages user accounts, passwords, and group memberships on the device. While access-related problems might eventually require adjusting permissions, it does not provide any mechanism to search historical logs or trace error causes. Therefore, it is a configuration tool, not a diagnostic one, and cannot reveal why a remote worker is experiencing an issue.

  • ✗

    System Restore

    Why it's wrong here

    System Restore rolls back system files, registry keys, and installed drivers to a prior restore point, which can fix corruption caused by recent changes. However, it is a blunt instrument that may not address the specific issue and could remove recent patches or software needed for remote work. It also requires a reboot and significant time, making it unsuitable as an immediate troubleshooting step before log analysis is performed.

  • ✗

    Event Viewer

    Why it's wrong here

    Event Viewer displays Windows event logs such as Application, Security, and System in a GUI, and it does have basic filter and find features. Yet it lacks the ability to perform complex pattern-based searches across multiple text log files, and it only covers Windows event logs, not application-generated logs stored as flat files. In a remote support context, using grep on collected or exported logs is faster and more flexible, so Event Viewer is not the primary tool here.

About these practice questions

This 220-1102 question is part of Courseiva's 925-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on 220-1102

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. 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?

medium
  • ✓ A.grep against log files
  • B.Event Viewer
  • C.Local Users and Groups
  • D.System Restore

Why A: The `grep` command is the correct tool because it allows the technician to search for specific patterns (e.g., error codes, timestamps, or keywords) across one or multiple Linux log files, such as `/var/log/syslog` or `/var/log/messages`. This directly fulfills the goal of finding matching error entries in a shared training-room workstation environment where log analysis is essential for troubleshooting.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.