CompTIA Tech+ (FC0-U71) practice questions
256 free questions with answers and explanations.
- 151.A developer is writing a program that needs to store a list of product IDs, each represented by a unique alphanumeric string (e.g., 'PRD_001', 'PRD_002'). The program requires iterating through this list to perform checks. Which programming language category is typically used for tasks involving data manipulation and string processing, often with a focus on scripting and automation?Software Development Concepts
- 152.A company is migrating its employees to a new operating system that emphasizes security and simplicity, primarily for web-based tasks and cloud applications. The new OS should have minimal local storage requirements and be easy to manage centrally. Which operating system type would BEST fit these requirements?Applications and Software
- 153.A programmer is writing a low-level routine that needs to directly manipulate specific bits within a byte. If they need to set the 3rd bit (0-indexed) of a byte to 1, while leaving all other bits unchanged, which binary operation should they use?IT Concepts and Terminology
- 154.A small business is setting up a new server that will host several virtual machines for different departments. Each VM needs to run a different operating system (Windows Server, Linux, etc.) and be isolated from each other. The server hardware is powerful and dedicated solely to virtualization. Which type of hypervisor should be installed directly on the server's hardware?Applications and Software
- 155.A small business owner wants to ensure that all employee laptops automatically encrypt their entire hard drives to protect sensitive company data in case of theft or loss. Which of the following security measures should be implemented?Security
- 156.A development team wants to store shopping cart data as simple pairs, such as 'cartID123' mapped directly to a block of item data, with extremely fast lookups by that identifier and no need for complex queries. Which type of database best fits this need?Data and Database Fundamentals
- 157.A development team is building a mobile app and wants to store user profile data where each user document can have a different set of fields (some users have a bio, others do not) without requiring a fixed schema. Which type of database best fits this need?Data and Database Fundamentals
- 158.A system administrator is configuring access controls for a shared network folder. The finance department needs full read, write, and modify permissions, while the marketing department only needs read-only access to specific subfolders. All other employees should have no access. Which of the following best describes the security principle being applied?Security
- 159.A technician is installing a new multi-function printer on a Windows 10 workstation. The printer came with a CD containing drivers, but the workstation does not have an optical drive. The technician also checks the manufacturer's website but cannot find a specific driver for Windows 10, only for older versions. What is the BEST course of action for the technician to take?Applications and Software
- 160.A software architect is designing a system where different components need to interact by sending messages to each other. The design specifies that each component should expose a well-defined interface, and other components should only interact with it through this interface, without needing to know the internal workings of the component. Which object-oriented programming principle is being applied here?Software Development Concepts
- 161.A user is experiencing issues where their web browser frequently redirects them to unwanted advertising sites and changes their homepage without permission. They have already run a basic antivirus scan, which found nothing. What is the MOST likely type of application causing this behavior?Applications and Software
- 162.A network administrator needs to expand the storage capacity of a server without sacrificing performance or data redundancy. The existing server uses a RAID 5 configuration. The administrator plans to add several new drives to the array. What is the MINIMUM number of additional drives required to expand the RAID 5 array while maintaining its fault tolerance?Infrastructure
- 163.A user is attempting to install a new application on their macOS computer. After downloading the installer, they double-click it, but macOS displays a warning message stating that the application 'cannot be opened because it is from an unidentified developer.' The user confirms the application is legitimate and wishes to proceed. Which macOS security feature is preventing the installation, and how can the user bypass it for this specific application?Applications and Software
- 164.A forensic investigator needs to calculate the total storage capacity of a set of hard drives. They have 4 drives, each with a raw capacity of 2 TB. What is the total raw capacity in gigabytes (GB)?IT Concepts and Terminology
- 165.A user reports receiving numerous unsolicited emails advertising questionable products and services, often containing suspicious links. These emails are cluttering their inbox and posing a potential security risk. What type of threat is the user experiencing?Security
- 166.A technician is configuring a new Windows 10 Pro workstation for a user who frequently travels. The user needs to encrypt their entire hard drive to protect sensitive data in case the laptop is lost or stolen. Which built-in Windows feature should the technician use to accomplish this?Applications and Software
- 167.A hiker uses a smartphone app that shows their exact real-time location on a trail map without any cellular signal available. Which built-in technology allows the phone to determine its location?Infrastructure
- 168.A small business currently stores customer orders in a single flat CSV file, where every order repeats the full customer name, address, and phone number in each row. As the business grows, staff notice widespread duplicate data and update errors. Which type of solution would best resolve this issue?Data and Database Fundamentals
- 169.A junior developer is writing a script to store a user's age. Which of the following data types would be most appropriate for this variable?Software Development Concepts
- 170.A technician needs to write a SQL query that returns all customers whose last name begins with the letter 'S'. Which clause and operator should be used?Data and Database Fundamentals
- 171.A company is implementing a new policy for employee passwords. The policy states that passwords must be at least 14 characters long, include a mix of uppercase and lowercase letters, numbers, and special characters, and cannot be reused for at least 10 previous cycles. Which of the following password policy components is addressed by the 'cannot be reused for at least 10 previous cycles' requirement?Security
- 172.A user is trying to connect to a new wireless network and is prompted for a passphrase. They are given a series of 64 hexadecimal characters. What is the MOST likely type of encryption key being requested?IT Concepts and Terminology
- 173.A developer is debugging a program and observes that a variable named 'total_sum' occasionally holds a value like '10.5' even though it's supposed to only contain whole numbers. Which action should the developer take to prevent this issue?Software Development Concepts
- 174.A technician is setting up a new virtual machine for a client. The client specifies that the VM needs 4096 MB of RAM. How many Gigabytes (GB) of RAM should the technician allocate?IT Concepts and Terminology
- 175.A user is experiencing issues with their web browser, where some websites load correctly but others display 'Secure Connection Failed' errors or do not load at all, especially banking and shopping sites. The system clock on the computer is significantly out of sync with the actual time. What is the MOST likely cause of these browser issues?Applications and Software
- 176.A user wants to run a virtual machine on their personal Windows laptop for testing purposes, without dedicating separate physical server hardware to the virtualization software. Which type of hypervisor best fits this need?Infrastructure
- 177.A user wants faster Wi-Fi throughput for streaming video and is less concerned about range, since the device is close to the router. Which frequency band should the user select?Infrastructure
- 178.A technician is comparing storage drives for a laptop upgrade. Which characteristic is a primary advantage of an SSD over a traditional HDD?Infrastructure
- 179.A network technician is configuring a new Wi-Fi access point in an industrial facility. Due to the presence of heavy machinery and large metal structures, the technician is concerned about signal degradation and interference. Which Wi-Fi frequency band is generally more susceptible to attenuation and interference from physical obstructions and therefore less suitable for this environment?Infrastructure
- 180.A user reports that their new 4K monitor displays only a black screen when connected to their laptop, which previously worked with a 1080p monitor. The laptop's specifications indicate it supports HDMI 1.4. What is the MOST likely reason for the black screen?IT Concepts and Terminology
- 181.An Orders table has a CustomerID foreign key that references the CustomerID primary key in the Customers table. A technician attempts to insert a new order with a CustomerID value that does not exist in the Customers table, and the database rejects the insert. Which concept caused this rejection?Data and Database Fundamentals
- 182.A user is complaining that their computer is running very slowly. The technician observes that the hard drive activity light is constantly on, even when no applications are actively being used. The system has 4GB of RAM and a traditional HDD. Which of the following is the MOST likely cause of the performance issue?IT Concepts and Terminology
- 183.A system administrator is tasked with securely decommissioning an old server that contains highly sensitive customer data. Simply deleting the files and reformatting the hard drive is deemed insufficient. Which method should the administrator use to ensure the data is irrecoverable?Security
- 184.A network administrator assigns a subnet mask of 255.255.255.240 to a small department LAN. How many usable host addresses are available on this subnet?Infrastructure
- 185.A technician is designing a new Employees table and must choose a column that will always contain a unique, non-repeating value to identify each row. Which column is the best choice for this purpose?Data and Database Fundamentals
- 186.A company is concerned about employees installing unauthorized software or accessing malicious websites. They want a solution that can inspect network traffic at the application layer, identify specific applications, and enforce granular policies based on content. Which type of firewall would best meet these requirements?Security
- 187.A retail company experiences a huge, unpredictable spike in website traffic during a holiday sale and needs its cloud-hosted application to automatically add server capacity during the spike and reduce it afterward. Which cloud characteristic makes this possible?Infrastructure
- 188.A developer is writing a new application that will require persistent data storage and rapid retrieval for various user profiles and settings. The application needs to run on multiple operating systems (Windows, macOS, Linux) without significant code changes to the data access layer. Which type of application architecture is MOST suitable for this requirement?Applications and Software
- 189.A user reports that their Windows 10 computer is displaying frequent pop-up advertisements, even when no browser is open. They also notice new, unfamiliar toolbars in their web browsers. Which of the following types of malware is MOST likely causing these issues?Applications and Software
- 190.A technician is troubleshooting a web browser that is experiencing slow loading times and frequent pop-up ads, even on reputable websites. The user reports that these issues started recently. Which of the following is the MOST likely cause?Applications and Software
- 191.A technician is designing a Products table and wants a column, separate from the primary key, that also guarantees no two rows share the same value. Which type of key should be applied to this column?Data and Database Fundamentals
- 192.A user reports that their smartphone is experiencing intermittent connectivity issues, specifically with the cellular network. The user has confirmed that other devices on the same network provider are working correctly in the same location. Which physical component of the smartphone is MOST likely causing this issue?Infrastructure
- 193.A developer is writing a program to manage a list of tasks. Each task has a name (e.g., 'Buy groceries'), a due date (e.g., '2024-12-31'), and a completion status (e.g., 'false' for incomplete). To organize this data efficiently, the developer wants to create a single custom data type that can hold all these related pieces of information for each task. Which programming construct is best suited for this purpose?Software Development Concepts
- 194.A technician is setting up a new virtual machine (VM) on a Windows 10 host using VirtualBox. The VM will run a different operating system (e.g., Linux) for testing purposes. Which type of hypervisor is VirtualBox, and how does it interact with the host OS?Applications and Software
- 195.A developer is creating a program to simulate a simple traffic light. The program needs to continuously cycle through the states: Red, Yellow, Green, and then back to Red indefinitely. Which type of loop is most appropriate for a process that should run forever or until an external stop signal is received?Software Development Concepts
- 196.A technician is installing a new enterprise resource planning (ERP) application for a client. During the installation, the application requires specific inbound and outbound network ports to be open on the Windows firewall to communicate with the central server. Which component of the operating system is responsible for managing these network communication rules?Applications and Software
- 197.A technician is troubleshooting a Windows 10 workstation that is experiencing intermittent application crashes. The Event Viewer shows numerous errors related to a specific application's DLL files. Which command-line utility can the technician use to register or unregister DLLs and ActiveX controls?Applications and Software
- 198.A company is deploying new point-of-sale (POS) terminals that will run a single, dedicated application for processing transactions. These terminals need to be highly secure, lightweight, and have minimal overhead. Which type of operating system would be MOST suitable for this scenario?Applications and Software
- 199.A network administrator is configuring firewall rules on a Windows server to allow a new database application to communicate with client workstations on a specific port, 1433, for SQL Server traffic. The existing firewall is blocking this communication. Which action should the administrator take to allow only the necessary traffic for the database application?Applications and Software
- 200.A developer is designing a program that needs to represent a 'Car' with properties like 'make', 'model', 'year', and 'color', and behaviors such as 'startEngine()' and 'drive()'. Which programming construct is specifically designed to group these related data (properties) and functions (behaviors) into a single blueprint?Software Development Concepts