CompTIA Tech+ (FC0-U71) practice questions
256 free questions with answers and explanations.
- 1.A system administrator is tasked with connecting a legacy server to a modern network switch. The server has an older network interface card (NIC) that only supports a maximum speed of 100 Mbps, while the new switch ports operate at 1000 Mbps. To ensure reliable communication, what is the MOST important configuration setting that MUST be correctly set on both the server's NIC and the switch port?Infrastructure
- 2.A technician is evaluating different storage technologies for a database server that requires extremely high input/output operations per second (IOPS) and low latency for small data blocks. Which of the following storage types would BEST meet these requirements?IT Concepts and Terminology
- 3.A database administrator notices that queries searching the LastName column of a large Customers table are running very slowly. Which database feature should be created on that column to speed up search performance?Data and Database Fundamentals
- 4.A developer is writing a program that needs to check if a user is at least 18 years old to access certain content. The program should only proceed if this condition is met. Which type of programming control structure is essential for implementing this conditional execution?Software Development Concepts
- 5.A company is concerned about employees downloading unauthorized software or accessing malicious websites. To prevent these actions, the IT department decides to implement a solution that filters web content and blocks access to specific categories of websites. Which security measure is being deployed?Security
- 6.A network technician configures a workstation with the IP address 192.168.1.50 and a subnet mask of 255.255.255.0. The workstation cannot reach devices outside its local subnet even though it can communicate with other local devices. Which setting is most likely missing or misconfigured?Infrastructure
- 7.A server performs a full backup every Sunday and a differential backup every other day. On Thursday, the server fails and all data is lost. Which backup sets are needed to fully restore the data?Data and Database Fundamentals
- 8.A user is attempting to browse a website and notices that the URL begins with 'http://' instead of 'https://'. The user is concerned about the security of any information they might submit to the site. Which aspect of the CIA Triad is primarily at risk in this scenario?Security
- 9.After implementing a new nightly backup routine, an IT administrator wants to be fully confident the backups can actually be used to recover data in an emergency. Which action should the administrator take to validate this?Data and Database Fundamentals
- 10.An IT manager is evaluating storage solutions for a new project that requires very high sustained read/write speeds for large files, such as video editing, and low latency for application responsiveness. Which type of storage device would BEST meet these requirements?IT Concepts and Terminology
- 11.A company policy dictates that all sensitive data stored on laptops must be encrypted. A technician is configuring a new laptop for an executive and needs to ensure that the entire hard drive is encrypted, including the operating system files, so that if the laptop is lost or stolen, the data remains unreadable. Which type of encryption should the technician implement?Security
- 12.A user's web browser is consistently redirecting to a specific, unwanted search engine whenever they open a new tab or attempt a search. The user has already reset the browser's homepage and default search engine settings multiple times, but the issue persists. Which type of malware is MOST likely causing this behavior?Applications and Software
- 13.A developer needs to create a program that will process a list of customer names one by one, performing the same set of operations on each name until the entire list has been processed. Which programming construct is best suited for this task?Software Development Concepts
- 14.A company requires its employees to use a specific web browser for accessing internal company applications due to compatibility and security policies. However, employees frequently use other browsers for personal use. The IT department wants to ensure that the designated company browser is always used for specific internal URLs. Which browser setting or feature can be configured to enforce this policy?Applications and Software
- 15.A technician is wiring a new office and wants Ethernet cabling that supports higher speeds and less crosstalk than the older cable type currently installed. Which cable category should the technician choose for the upgrade?Infrastructure
- 16.A technician is evaluating different types of non-volatile storage. They need a solution that offers the fastest possible random read/write access for small files, directly connected to the motherboard's high-speed bus. Which storage technology would be the BEST choice?IT Concepts and Terminology
- 17.A developer is creating a web application that needs to securely transmit sensitive user data, such as login credentials and financial information, between the client's browser and the server. Which protocol is essential for ensuring this secure communication?Applications and Software
- 18.A user is attempting to install a new application on their macOS computer. During the installation process, a message appears stating, 'This application cannot be opened because it is from an unidentified developer.' What is the MOST appropriate action for the user to take to proceed with the installation?Applications and Software
- 19.A database administrator needs to permanently remove all records from a Customers table where the Status field equals 'Inactive', without dropping the table itself. Which SQL statement should be used?Data and Database Fundamentals
- 20.A technician needs to add a brand-new customer record, including name, email, and phone number, into an existing Customers table using SQL. Which statement should be used?Data and Database Fundamentals
- 21.Which type of computer memory loses all of its stored data when the power is turned off?Infrastructure
- 22.A small business owner wants a storage configuration for a file server that mirrors data across two identical drives so that if one drive fails, the data remains fully accessible from the other with no data loss. Which RAID level should be implemented?Infrastructure
- 23.A network administrator is configuring a new firewall to restrict outbound internet access for employees. The administrator wants to ensure that if a specific rule is not explicitly defined to allow traffic, that traffic is automatically blocked. Which security principle is the administrator implementing?Security
- 24.A company is migrating its employees from desktop applications to web-based alternatives to reduce local storage requirements and simplify updates. Employees will access these applications through their web browsers. Which type of application is the company primarily adopting?Applications and Software
- 25.A technician is setting up a new Windows 10 workstation and needs to ensure that the operating system is properly activated. Which of the following methods is MOST commonly used for licensing and activating individual consumer versions of Windows?Applications and Software
- 26.A user receives an email with an urgent warning about their bank account being compromised and instructing them to click a link to verify their details immediately. The email appears to be from their bank but contains a generic greeting and a suspicious-looking URL when hovered over. What type of social engineering attack is this?Security
- 27.A network technician is troubleshooting a connectivity issue and needs to identify the unique hardware identifier that is permanently assigned to a computer's network interface card by the manufacturer. Which identifier should the technician check?Infrastructure
- 28.A technician is troubleshooting a Windows 10 workstation where a recently installed application is not launching correctly. The error message indicates that a specific DLL file is missing. The technician suspects the application's installation was corrupted. Which command-line utility can the technician use to attempt to repair system files, including potentially corrupted DLLs?Applications and Software
- 29.A network administrator is configuring a new firewall to restrict outbound internet access for employees to only necessary business applications. The administrator configures rules to allow traffic on specific ports for HTTP, HTTPS, and DNS, while blocking all other ports by default. This approach is an example of which security principle?Security
- 30.A user is attempting to install a new application on their Windows computer but receives an error message stating, 'You do not have sufficient privileges to install this application.' What is the MOST appropriate action the technician should take to resolve this issue?Applications and Software
- 31.A user reports receiving numerous unsolicited emails advertising questionable products and services. The user also mentions that many of these emails contain suspicious links. Which of the following best describes this type of unwanted communication?Security
- 32.A systems administrator is about to install an untested software update on a virtual machine. Before doing so, the administrator saves the current state of the VM so that the system can be instantly reverted if the update causes problems. Which virtualization feature is being used?Infrastructure
- 33.A technician is troubleshooting a network connectivity issue. After verifying the physical connections, they ping a known good IP address on the local network and receive no response. Which of the following is the MOST appropriate next step in a standard troubleshooting methodology?IT Concepts and Terminology
- 34.A technician is designing a Products table and needs a column to store the price of each item, which may include decimal values such as 19.99. Which data type is most appropriate for this field?Data and Database Fundamentals
- 35.A developer is creating a program to simulate a simple traffic light. The program needs to cycle through 'Red', 'Yellow', and 'Green' states repeatedly. Which control structure is most appropriate for ensuring this continuous cycle?Software Development Concepts
- 36.A developer is designing a program where several variables, such as 'username', 'password', and 'email', need to be declared. Which of the following is an example of good practice for naming these variables to improve code readability?Software Development Concepts
- 37.A developer is writing a program that needs to store a user's chosen difficulty level for a game, which can be 'Easy', 'Medium', or 'Hard'. Which of the following data types would be most appropriate for this variable?Software Development Concepts
- 38.An employee working remotely needs to securely access internal company resources over the public internet as if directly connected to the corporate LAN, with all traffic encrypted in transit. Which technology should the employee use?Infrastructure
- 39.A security analyst is investigating a suspected data breach where sensitive customer information may have been compromised through a web application. The analyst needs to review records of who accessed the application, what actions they performed, and when those actions took place. Which security control would provide this crucial information?Security
- 40.A security analyst is investigating a suspected data breach where sensitive customer information may have been compromised. The analyst needs to review records of who accessed the application, what actions they performed, and when those actions took place. Which security control would provide this crucial information?Security
- 41.A technician is troubleshooting a network connectivity issue on a user's workstation. The user can access local network resources but cannot reach any external websites. The workstation has a valid IP address, subnet mask, and DNS server configured. What is the MOST likely cause of this issue?Infrastructure
- 42.A network engineer assigns a subnet using the CIDR notation /26. How many usable host addresses does this subnet provide?Infrastructure
- 43.A company is implementing a new policy for employee passwords. The policy states that passwords must be at least 12 characters long, contain a mix of uppercase and lowercase letters, numbers, and special characters. Additionally, employees cannot reuse any of their last 10 passwords. Which security control is being enforced by the 'cannot reuse any of their last 10 passwords' requirement?Security
- 44.A technician is setting up a new virtual machine (VM) on a Windows 10 host using VirtualBox. The VM needs to run a separate operating system, such as Linux. Which type of hypervisor is VirtualBox, and how does it generally operate?Applications and Software
- 45.A technician is configuring a new virtual machine (VM) for a critical application. The application requires dedicated and consistent performance, particularly for CPU and memory resources, and should not be affected by the resource demands of other VMs on the same physical host. Which virtualization resource allocation setting should the technician prioritize?Infrastructure
- 46.A user reports that their Windows 10 computer is running extremely slow and frequently displays pop-up ads, even when a web browser is not open. The user also notices new, unfamiliar icons on their desktop. Which type of malware is MOST likely causing these symptoms?Applications and Software
- 47.An algorithm is represented by the following pseudocode: FUNCTION CalculateResult(num1, num2): IF num1 > num2 THEN RETURN num1 * 2 ELSE IF num1 < num2 THEN RETURN num2 + 5 ELSE RETURN num1 + num2 END FUNCTION What is the output of CalculateResult(10, 10)?Software Development Concepts
- 48.A user is complaining that their web browser's homepage consistently reverts to an unwanted search engine despite them changing it in the browser settings. They also notice new toolbars appearing. Which of the following browser settings or components is MOST likely being manipulated?Applications and Software
- 49.A technician is configuring a new Windows Server 2019 installation. The server needs to host multiple virtual machines, each running a different operating system, to isolate services and improve resource utilization. Which role or feature should the technician install to provide native virtualization capabilities on this server?Applications and Software
- 50.A small business is setting up a new office network and wants to simplify device configuration by automatically assigning IP addresses, subnet masks, and default gateways to all connected devices. Which network service should the administrator implement to achieve this?Infrastructure