CompTIA (Operating System) Flashcards
25 cards from real Uncategorized practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 20 CompTIA (Operating System) flashcards as text
A small company's local area network has grown to the point where assigning IP addresses and other NIC parameters statically is no longer possible. What actions can a network administrator take to make network interface card configuration easier?
Answer: Incorporate a DHCP Server into the network.
A DHCP (Dynamic Host Configuration Protocol) server automates the process of assigning IP addresses and other network configuration parameters to devices on a network. This eliminates the need for manual static configuration, making network management much easier and more scalable for growing networks.
A PC has been set up as a print server that will be accessible at all times. When the computer is not in use, it should be turned off to save energy. When a print job is received, what feature of the Network Interface Card allows a shut down or sleeping PC to wake up?
Answer: Wake-on-LAN
Wake-on-LAN (WoL) is a network standard that allows a computer to be turned on or woken up by a network message, often called a 'magic packet.' This feature is implemented in the Network Interface Card (NIC) and BIOS/UEFI settings, enabling the PC to listen for this specific packet even when powered off or in a low-power state. For a print server that needs to be accessible on demand without being constantly on, WoL allows it to wake up only when a print job is received, saving energy.
A client complains that his laptop takes an excessive amount of time to boot up. You have a feeling he has a lot of processes running during startup. On a Windows 10 laptop, what utility would you use to view which processes are running?
Answer: Task Manager
Task Manager is a built-in Windows utility that provides comprehensive information about processes, applications, performance, and startup items. To view which processes are running during startup on a Windows 10 laptop, you would navigate to the 'Startup' tab within Task Manager. This tab lists all applications configured to launch automatically when Windows starts, allowing you to identify and disable unnecessary programs that contribute to slow boot times.
A user notices that her hard drive is running out of capacity and decides to upgrade to a larger drive. She wants to delete all temporary files from her hard disk till then. What utility should she use to accomplish this?
Answer: Disk cleanup
Disk Cleanup is a utility built into Windows operating systems designed to free up disk space by identifying and removing various types of unnecessary files. These files typically include temporary internet files, temporary application files, system error memory dump files, and contents of the Recycle Bin. Running Disk Cleanup helps users quickly reclaim storage capacity and improve system performance by eliminating accumulated clutter.
To create a new directory, a user uses the Windows command prompt. What command should you use to accomplish this?
Answer: MD
In the Windows command prompt, the `MD` command, which stands for 'Make Directory,' is used to create a new directory or folder. For example, typing `MD MyNewFolder` would create a directory named 'MyNewFolder' in the current working directory. This command is fundamental for organizing files and structuring the file system directly from the command-line interface.
A user must install Windows 10 on a laptop that previously ran Windows 7; this is a new installation, not an upgrade. Because the notebook lacks a CD/DVD drive, the user must rely on a USB flash drive to store the operating system image. Prior to loading from the flash drive, what must be done to the system?
Answer: The boot sequence in system BIOS must be adjusted, making the USB the first device in the boot order.
For a computer to boot from a USB flash drive, the system's BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface) settings must be configured to prioritize the USB device in the boot order. By default, most systems are set to boot from the internal hard drive first. Adjusting the boot sequence tells the computer to look for an operating system on the USB drive before attempting to load from other storage devices, which is essential for installing a new OS like Windows 10 from a flash drive.
A user who travels broadly with her laptop should secure delicate information stored on her hard drive. To guarantee the information is secure, which feature of Windows Ultimate will permit encryption of the entire drive?
Answer: BitLocker
BitLocker is a full-disk encryption feature included in certain editions of Windows, such as Windows Ultimate and Enterprise. It encrypts the entire volume where the operating system is installed, as well as other data drives, protecting all data stored on the drive from unauthorized access. This is a critical security measure for securing sensitive information on a laptop, especially for users who travel and face a higher risk of device loss or theft.
A help desk representative is speaking with a user who is unable to connect to the Internet. You ask whether the user can see where the ethernet cable connects to the system and whether the little link integrity lamp is on. There appears to be no light anywhere near the connection, according to the user. The user double-checks that the ethernet cable's other end is inserted into a wall socket. What do you think the problem's most likely cause is?
Answer: The ethernet cable is broken.
The absence of a link integrity light on an Ethernet port, even when the cable is properly connected to both the system and a wall socket, strongly indicates a physical layer problem. The link light signifies that a successful physical connection has been established between the network interface card (NIC) and the network device. If the Ethernet cable is broken or faulty, this essential physical connection cannot be made, preventing any network communication.
A help desk representative is speaking with a user who can print to the network printer but not to the Internet. Which of the following factors could be the issue?
Answer: The default gateway is down.
If a user can print to a network printer but cannot access the Internet, it suggests that local network connectivity is functioning correctly, as evidenced by the ability to print. However, the inability to reach external networks like the Internet points to an issue beyond the local network. The default gateway is the device (typically a router) that allows a local network to communicate with other networks, including the Internet, so if it's down or misconfigured, internet access will fail.
At the command prompt, an IT analyst is troubleshooting a network problem and types a command that displays information about the IP address, port number, and connectivity status. What was the IT analyst's command?
Answer: netstat
The `netstat` command (network statistics) is a command-line utility used to display active network connections, routing tables, and various network interface statistics. It can show which ports are open and listening, established connections, and the protocols being used, along with their IP addresses and port numbers. This makes `netstat` an invaluable tool for troubleshooting network connectivity issues and identifying potential security vulnerabilities.
A user discovers an old empty directory that is no longer in use while working in command line mode. What command would he use to remove the directory?
Answer: RD
In the Windows command prompt, the `RD` command, which stands for 'Remove Directory,' is used to delete an empty directory. For instance, typing `RD OldFolder` would remove the directory named 'OldFolder' if it contains no files or subdirectories. If the directory is not empty, the `RD /S` command can be used to remove it along with its contents.
Mary is having trouble connecting to the Internet. She runs ipconfig into a command prompt and discovers that her IP address is 169.254.17.200, which is not on her network. What is the most likely cause of the issue?
Answer: She is unable to connect to the DHCP Server.
An IP address starting with 169.254 (specifically, in the range 169.254.0.0 to 169.254.255.255) is an Automatic Private IP Addressing (APIPA) address. This address range is automatically assigned by Windows when a client is configured to obtain an IP address via DHCP but cannot reach a DHCP server. Therefore, the most likely cause of this issue is that the client's system is unable to connect to the DHCP server to obtain a valid IP address for the network.
On his Windows computer, a user is continuously receiving error notifications related to the hard disk. What command-line tool would he use to check the drive's integrity?
Answer: chkdsk
The `chkdsk` (check disk) command-line utility in Windows is used to verify the file system integrity of a volume and fix logical file system errors. It can also scan for and attempt to recover data from bad sectors on the hard drive. When a user experiences continuous error notifications related to the hard disk, `chkdsk` is the primary tool to diagnose and potentially repair these underlying issues.
You're working on a computer that won't start up properly. What utility gives you a command-line interface to debug the system?
Answer: recovery console
The Recovery Console is a command-line interface environment available in older Windows operating systems (like Windows 2000/XP) that allows users to perform advanced troubleshooting and recovery tasks when the system fails to boot normally. It provides access to the file system, allows starting/stopping services, and can be used to repair boot sectors or master boot records. For modern Windows, the Windows Recovery Environment (WinRE) offers similar command-line tools for debugging unbootable systems.
A network is protected by a firewall. To allow SSH access, what port number would you access?
Answer: 22
SSH (Secure Shell) is a cryptographic network protocol used for operating network services securely over an unsecured network. It is commonly employed for remote command-line login, remote command execution, and secure file transfers. The standard and well-known port number assigned to the SSH protocol is 22.
On Debian-based Linux systems, what command allows users to install new software packages?
Answer: apt-get
On Debian-based Linux systems, `apt-get` (Advanced Package Tool) is a powerful command-line utility used for handling software packages. It allows users to install new software, update existing packages, upgrade the entire system, and remove software from repositories. To install new software, a user would typically use the command `sudo apt-get install [package_name]`.
A customer calls the helpdesk to ask what command she should use to retrieve a list of the files and subdirectories in the directory she is currently working on, as well as their attributes. She says she's using Linux and is in the middle of a terminal session. You should instruct her to utilize the command ____.
Answer: ls -l
In Linux, the `ls` command is used to list the contents of a directory. When combined with the `-l` option, it provides a 'long listing' format, which displays detailed information about each file and subdirectory. This detailed information includes permissions, ownership, size, and modification date, making `ls -l` the correct command to retrieve a comprehensive list with attributes.
What is the Linux command to create a new directory (folder) from the command line?
Answer: mkdir
In Linux, the `mkdir` command, which stands for 'make directory,' is used to create new directories (folders) from the command line. For example, typing `mkdir NewProject` would create a directory named 'NewProject' in the current working directory. This command is essential for organizing the file system and managing directories in a Linux environment.
On a Linux system, a user calls the helpdesk and asks for a simple way for backing up multiple large folders. What command allows users to compress and backup large directories?
Answer: tar
The `tar` command (tape archive) in Linux is a versatile utility used for archiving and compressing files and directories. It can combine multiple files and directories into a single archive file, and is often used in conjunction with compression utilities like `gzip` or `bzip2` to create compressed archives (e.g., `.tar.gz` or `.tgz`). This makes `tar` an ideal and efficient tool for backing up multiple large folders.
What Mac OS X features would you utilize to perform first aid, partition a disk, and other disk maintenance functions?
Answer: Disk Utility
Disk Utility is a built-in macOS application that provides a graphical interface for managing internal and external storage devices. It allows users to perform various disk maintenance functions, including formatting, partitioning, erasing, verifying, and repairing disks using its 'First Aid' feature. It is the primary tool for all disk-related management tasks on a Mac.