CompTIA 220-1202 (CompTIA A+ Certification Exam: Core 2) Practice Test 13

Question 120

A Fedora workstation needs a managed package update from its repositories. Which package manager is expected?

  1. dnf
  2. apt
  3. pwd
  4. df -h

Explanation

Correct Answer

A:

Dnf handles package transactions on Fedora and related distributions. It is distinct from Debian's apt command family.

Incorrect Answers

B:

Apt manages packages and dependencies on Debian-family systems; the evidence favors dnf for updating packages on Fedora Linux, rather than applying apt to install a repository package on Debian-based Linux.

C:

Pwd prints the present working directory's path; pwd is used to show the current Linux working directory, whereas the case calls for updating packages on Fedora Linux.

D:

Df shows available and used space for mounted filesystems, with human-readable units using -h; the reported need is to update packages on Fedora Linux; df -h is oriented toward checking free space for mounted Linux filesystems.

Question 121

A Linux disk reports almost full, and the technician needs filesystem-level capacity statistics. Which command helps?

  1. du -sh
  2. df -h
  3. pwd
  4. chown
  5. chmod

Explanation

Correct Answer

B:

Df shows available and used space for mounted filesystems, with human-readable units using -h. It does not total one folder's contents.

Incorrect Answers

A:

Du estimates the size of files or a directory tree; the case demands checking free space for mounted Linux filesystems, not estimating storage used by a Linux folder tree.

C:

Pwd prints the present working directory's path; these are separate tasks: showing the current Linux working directory is not the same as checking free space for mounted Linux filesystems.

D:

Chown changes ownership of supported filesystem objects; the case demands checking free space for mounted Linux filesystems, not reassigning Linux file ownership.

E:

Chmod changes file permission bits such as owner execute and group write; the requirement is to check free space for mounted Linux filesystems; this alternative is primarily used to adjust file execute and write permissions.

Question 122

A Linux desktop becomes sluggish, and support wants an updating interactive process and CPU view. Which tool is best?

  1. ps aux
  2. apt
  3. top
  4. pwd

Explanation

Correct Answer

C:

Top continually displays processes and system resource use. It offers more immediate monitoring than a one-time static process list.

Incorrect Answers

A:

Ps can list processes in a static snapshot and include users, PIDs, and resource details; that could address capturing a Linux process listing, but it would leave the need to observe changing Linux process resource usage unresolved.

B:

Apt manages packages and dependencies on Debian-family systems; this technique can help to install a repository package on Debian-based Linux, but it does not directly observe changing Linux process resource usage.

D:

Pwd prints the present working directory's path; to observe changing Linux process resource usage, the relevant control is top; this option addresses showing the current Linux working directory.

Question 123

A technician needs a single snapshot of processes, including their IDs, for a troubleshooting ticket. Which command applies?

  1. top
  2. ls
  3. ps aux
  4. pwd

Explanation

Correct Answer

C:

Ps can list processes in a static snapshot and include users, PIDs, and resource details. It does not schedule tasks.

Incorrect Answers

A:

Top continually displays processes and system resource use; the requirement is to capture a Linux process listing; this alternative is primarily used to observe changing Linux process resource usage.

B:

The ls command lists directory entries and supports flags for details and hidden files; to capture a Linux process listing, the relevant control is ps aux; this option addresses displaying Linux directory entries.

D:

Pwd prints the present working directory's path; pwd is used to show the current Linux working directory, whereas the case calls for capturing a Linux process listing.

Question 124

A new data partition exists but cannot be accessed at its intended Linux directory yet. Which operation is necessary?

  1. pwd
  2. du -sh
  3. /etc/fstab
  4. mount

Explanation

Correct Answer

D:

Mount attaches a supported filesystem to the Linux directory tree at a mount point. The filesystem must exist and be compatible.

Incorrect Answers

A:

Pwd prints the present working directory's path; using this would prioritize showing the current Linux working directory instead of making a filesystem accessible at a Linux mount point.

B:

Du estimates the size of files or a directory tree; the case demands making a filesystem accessible at a Linux mount point, not estimating storage used by a Linux folder tree.

C:

Fstab records filesystem mount instructions used during startup and mounting operations; this technique can help to configure a persistent Linux volume mount, but it does not directly make a filesystem accessible at a Linux mount point.

Question 125

A Linux desktop should automatically mount a data volume using its UUID after reboot. Which configuration file should be edited carefully?

  1. mount
  2. find
  3. top
  4. du -sh
  5. chown
  6. /etc/fstab

Explanation

Correct Answer

F:

Fstab records filesystem mount instructions used during startup and mounting operations. Incorrect entries can delay boot or fail mounts.

Incorrect Answers

A:

Mount attaches a supported filesystem to the Linux directory tree at a mount point; the requirement is to configure a persistent Linux volume mount; this alternative is primarily used to make a filesystem accessible at a Linux mount point.

B:

Find traverses directory trees and selects entries by names, types, or other attributes; to configure a persistent Linux volume mount, the relevant control is /etc/fstab; this option addresses locating filenames recursively in Linux.

C:

Top continually displays processes and system resource use; this technique can help to observe changing Linux process resource usage, but it does not directly configure a persistent Linux volume mount.

D:

Du estimates the size of files or a directory tree; that is useful for estimating storage used by a Linux folder tree; the reported task instead calls for configuring a persistent Linux volume mount.

E:

Chown changes ownership of supported filesystem objects; that could address reassigning Linux file ownership, but it would leave the need to configure a persistent Linux volume mount unresolved.

Question 126

A normal Linux user needs to execute one approved administrative command without maintaining a full root shell. Which mechanism is typical?

  1. apt
  2. chown
  3. sudo
  4. pwd

Explanation

Correct Answer

C:

Sudo runs authorized commands with elevated privileges based on policy. It avoids making an entire interactive session root when one command suffices.

Incorrect Answers

A:

Apt manages packages and dependencies on Debian-family systems; the case demands elevating one authorized Linux command, not installing a repository package on Debian-based Linux.

B:

Chown changes ownership of supported filesystem objects; that is useful for reassigning Linux file ownership; the reported task instead calls for elevating one authorized Linux command.

D:

Pwd prints the present working directory's path; the evidence favors sudo for elevating one authorized Linux command, rather than applying pwd to show the current Linux working directory.

Question 127

A Linux technician is investigating storage use. Which THREE commands can respectively show filesystem free space, summarize directory consumption, and display current mounts? Choose THREE.

  1. df -h
  2. chmod -R
  3. du -sh /var/log
  4. grep -r
  5. mount
  6. passwd

Explanation

Correct Answers

A:

The df command reports used and available capacity on mounted filesystems in readable units. It is appropriate for checking remaining volume space.

C:

The du command computes space consumed by a directory tree. It can identify whether logs explain the volume growth.

E:

Without additional arguments on a typical Linux system, mount lists mounted filesystems. It is useful to verify which devices or filesystems are currently attached.

Incorrect Answers

B:

This changes file permissions recursively and would alter security settings, not provide the requested storage-capacity summary.

D:

Grep searches file content for patterns. It does not measure filesystem capacity or report mounted filesystems.

F:

This changes account passwords, which would be an unrelated user-management action during a capacity investigation.

Question 128

A software package is built only for a 64-bit operating system, but the device runs 32-bit Windows. Which requirement is the blocker?

  1. Application-to-OS support matrix
  2. Dedicated GPU VRAM
  3. 64-bit OS compatibility
  4. System RAM capacity
  5. External hardware token

Explanation

Correct Answer

C:

A 64-bit-only application needs a compatible OS and processor environment. Extra storage or graphics memory cannot change OS architecture.

Incorrect Answers

A:

Vendor compatibility lists identify supported operating systems and versions; the requirement is to run a program that requires a 64-bit operating system; this alternative is primarily used to verify the vendor-supported operating-system version.

B:

Graphics applications may specify dedicated GPU memory for textures and processing; the task is to run a program that requires a 64-bit operating system, not simply to meet a dedicated video-memory requirement.

D:

Insufficient RAM can prevent installation or cause severe paging and instability; this technique can help to satisfy an application's minimum system-memory requirement, but it does not directly run a program that requires a 64-bit operating system.

E:

A supported hardware key can be a licensing or authentication prerequisite for application launch; for running a program that requires a 64-bit operating system, 64-bit OS compatibility addresses the stated need; External hardware token instead targets meeting a license-enforcement dongle requirement.

Question 129

A rendering application requires dedicated video memory unavailable on an integrated GPU. What resource must be checked?

  1. System RAM capacity
  2. External hardware token
  3. 64-bit OS compatibility
  4. Dedicated GPU VRAM

Explanation

Correct Answer

D:

Graphics applications may specify dedicated GPU memory for textures and processing. Installing more system RAM does not guarantee meeting that GPU-specific requirement.

Incorrect Answers

A:

Insufficient RAM can prevent installation or cause severe paging and instability; to meet a dedicated video-memory requirement, the relevant control is Dedicated GPU VRAM; this option addresses satisfying an application's minimum system-memory requirement.

B:

A supported hardware key can be a licensing or authentication prerequisite for application launch; although suited to meeting a license-enforcement dongle requirement, it is not sufficient for meeting a dedicated video-memory requirement.

C:

A 64-bit-only application needs a compatible OS and processor environment; this technique can help to run a program that requires a 64-bit operating system, but it does not directly meet a dedicated video-memory requirement.

Question 130

An application states it needs 16 GB of system memory and the PC has only 8 GB. Which specification should be upgraded?

  1. Dedicated GPU VRAM
  2. 64-bit OS compatibility
  3. System RAM capacity
  4. Mount the ISO as virtual media

Explanation

Correct Answer

C:

Insufficient RAM can prevent installation or cause severe paging and instability. Video memory and disk capacity measure different resources.

Incorrect Answers

A:

Graphics applications may specify dedicated GPU memory for textures and processing; the requirement is to satisfy an application's minimum system-memory requirement; this alternative is primarily used to meet a dedicated video-memory requirement.

B:

A 64-bit-only application needs a compatible OS and processor environment; the requirement is to satisfy an application's minimum system-memory requirement; this alternative is primarily used to run a program that requires a 64-bit operating system.

D:

Mounting the image presents its content to the VM as installation media; the task is to satisfy an application's minimum system-memory requirement, not simply to use a downloaded image as virtual installation media.

CompTIA A+ Certification Exam: Core 2 (220-1202) Practice Tests