CompTIA A+ Core 2 · 220-1202

Objective 1.9: Linux features and tools

Try it now: 8 quick questions on this objective, no account needed.

Objective 1.9 · Linux

1 / 8
Recall

Switch to another user account

Which command?

Practice questions for A+ Core 2 objective 1.9, “Linux features and tools.” Every question is original, written to the 220-1202 exam objectives, and comes with a full explanation — answer them below to see instant grading.

This objective sits in Domain 1.0: Operating Systems, which is about 28% of the exam — so mastering it moves your readiness score meaningfully.

More 1.9 practice questions

Objective 1.9 · practice questions

1 / 5
Exam style

A technician installs an SSH server on a Linux workstation that uses systemd, and wants the sshd service to start now and at every boot. Which command does both?

All 5 questions, with answers
  1. 1.A technician installs an SSH server on a Linux workstation that uses systemd, and wants the sshd service to start now and at every boot. Which command does both?

    • A.sudo systemctl start sshd
    • B.systemctl status sshd
    • C.sudo systemctl restart sshd
    • D.sudo systemctl enable --now sshd

    Answer: D. sudo systemctl enable --now sshd. systemctl enable makes a service start at boot, and --now starts it immediately as well. systemctl start runs it only until the next reboot, status shows whether it's running along with its recent log lines, and restart stops and starts a running service without changing whether it starts at boot.

  2. 2.A standard Linux user needs to run a command with administrator (root) privileges without switching to the root account. Which command prefix should be used?

    • A.su -
    • B.admin
    • C.sudo
    • D.root

    Answer: C. sudo. sudo (Superuser Do) allows a permitted user to run a specific command with root privileges without fully switching to the root account, and all sudo usage is logged. su - switches completely to the root user account, which is less auditable and more risky. "sudo = run one command as root; su = become root."

  3. 3.A Linux technician needs to edit a configuration file from the command line in an environment where no graphical editor is available. Which two text editors are most commonly available on Linux systems?

    • A.Word and Notepad
    • B.vim and gedit
    • C.nano and vi (vim)
    • D.emacs and kate

    Answer: C. nano and vi (vim). nano and vi (or its enhanced version vim) are the most universally available terminal-based text editors on Linux systems; nano is more beginner-friendly while vi/vim is more powerful but has a steeper learning curve. gedit is a GUI editor that requires a desktop environment. "Terminal text editors on Linux: nano (easy) and vi/vim (powerful)."

  4. 4.A technician used to Windows runs ping 192.168.1.1 on a Linux workstation, and replies keep scrolling long after the fourth one. What should the technician know?

    • A.The router is flooding the workstation with replies, which means the network is under attack
    • B.Linux ping needs -n 4 to send four requests, the same option Windows uses
    • C.The workstation's DNS settings are wrong, so ping keeps retrying the address
    • D.Linux ping keeps sending until it's stopped with Ctrl+C; use -c 4 to send only four

    Answer: D. Linux ping keeps sending until it's stopped with Ctrl+C; use -c 4 to send only four. On Linux, ping runs until it's interrupted, then prints round-trip and packet-loss statistics; -c sets how many echo requests to send. Windows sends four by default and uses -n for the count, but on Linux -n means show numeric addresses only. Continuous replies are normal rather than an attack, and the command used an IP address, so DNS isn't involved.

  5. 5.A Linux user needs to read the built-in documentation for the ls command. Which command displays its manual page?

    • A.help ls
    • B.ls --doc
    • C.man ls
    • D.info --ls

    Answer: C. man ls. man (Manual) displays the built-in reference documentation for any Linux command, including description, syntax, options, and examples. help is typically for shell built-in commands in some shells, not all external commands. "man = manual pages = built-in Linux documentation for any command."

Learn 1.9 and every other objective

Your A+ Core 2 path walks the whole exam in short stops, one objective at a time, and maps where you stand as you go.

Start my A+ Core 2 path

No account needed to start.

More objectives in Domain 1.0

← All A+ Core 2 220-1202 objectives