Courseiva

CompTIA Tech+ (FC0-U71) (FC0-U71) — Questions 376450

988 questions total · 14pages · All types, answers revealed

Page 5

Page 6 of 14

Page 7
376
MCQeasy

A database designer wants to ensure that no two employees have the same email address. Which constraint should be applied to the Email column?

A.UNIQUE
B.PRIMARY KEY
C.CHECK
D.FOREIGN KEY
AnswerA

UNIQUE constraint ensures no duplicate email addresses.

Why this answer

The UNIQUE constraint ensures that all values in the Email column are distinct, preventing any two employees from having the same email address. Unlike PRIMARY KEY, UNIQUE allows NULL values (though typically email columns are set to NOT NULL), and it can be applied to non-key columns. This directly enforces the business rule of unique email addresses without requiring the column to be the table's primary identifier.

Exam trap

The trap here is that candidates often confuse UNIQUE with PRIMARY KEY, assuming uniqueness can only be enforced by a primary key, but PRIMARY KEY imposes additional non-null and single-per-table restrictions that are not required for simply ensuring unique email addresses.

How to eliminate wrong answers

Option B (PRIMARY KEY) is wrong because while it also enforces uniqueness, it additionally requires the column to be non-null and uniquely identify each row, which is not necessary for just ensuring unique emails; the Email column may not be the natural primary key. Option C (CHECK) is wrong because CHECK constraints validate data against a Boolean expression (e.g., ensuring email format contains '@'), but they cannot enforce uniqueness across rows. Option D (FOREIGN KEY) is wrong because it enforces referential integrity between tables by requiring values in the Email column to match values in another table's primary key or unique column, which does not prevent duplicate emails within the same table.

377
Multi-Selectmedium

A technician is setting up a small office network with five workstations and a file server. Which TWO of the following are essential hardware components for this network to function? (Select TWO).

Select 2 answers
A.Switch
B.Router
C.Hub
D.Firewall
E.Modem
AnswersA, B

Connects devices within the LAN, allowing them to communicate.

Why this answer

A router connects the local network to the internet and manages traffic between devices; a switch allows the workstations and server to communicate within the LAN. A hub is outdated and less efficient, a modem is needed for internet but not strictly for local communication, and a firewall can be software or integrated into the router.

378
MCQeasy

Which principle ensures that data is not modified by unauthorized users?

A.Authentication
B.Confidentiality
C.Availability
D.Integrity
AnswerD

Integrity ensures data is not altered by unauthorized means.

Why this answer

Integrity ensures that data has not been altered or tampered with by unauthorized users. This is typically enforced through mechanisms like hashing (e.g., SHA-256) or digital signatures, which detect any modification to the original data. Without integrity controls, an attacker could change financial records or system files without detection.

Exam trap

CompTIA often tests the distinction between confidentiality and integrity, where candidates mistakenly choose confidentiality because they associate 'protection' with encryption, but encryption only prevents reading, not modification.

How to eliminate wrong answers

Option A is wrong because authentication verifies the identity of a user or system (e.g., via passwords or certificates), but does not prevent data modification after access is granted. Option B is wrong because confidentiality protects data from unauthorized disclosure (e.g., via encryption), not from unauthorized modification. Option C is wrong because availability ensures that data and systems are accessible when needed (e.g., through redundancy or load balancing), but does not address data tampering.

379
MCQmedium

In a relational database, which type of relationship is typically implemented by creating a third table (junction table) that contains foreign keys from both related tables?

A.Many-to-many
B.Self-referencing
C.One-to-one
D.One-to-many
AnswerA

Many-to-many requires an associative table with foreign keys to both tables.

Why this answer

Many-to-many relationships require a junction table to associate records from both sides.

380
MCQeasy

A company wants to ensure that data is not lost if a hard drive fails. Which of the following best practices should be implemented?

A.Using strong passwords
B.Regularly updating antivirus software
C.Using a surge protector
D.Performing regular backups
AnswerD

Backups enable data recovery after drive failure.

Why this answer

Regular backups create copies of data that can be restored if the original is lost due to hard drive failure. This directly addresses data loss by providing a recovery point, unlike other options that focus on security or power protection.

Exam trap

The trap here is that candidates confuse fault tolerance (like RAID) with backups, but RAID only protects against drive failure, not data loss from corruption or deletion, whereas backups ensure data can be restored regardless of the cause.

How to eliminate wrong answers

Option A is wrong because strong passwords prevent unauthorized access but do not protect against hardware failure or data loss. Option B is wrong because antivirus software protects against malware, not physical drive failure or data recovery. Option C is wrong because a surge protector guards against power spikes damaging hardware, but does not preserve data if the drive fails.

381
MCQmedium

A user downloads a free application from the internet that offers full functionality for a 30-day period. After 30 days, the user must pay to continue using it. Which license type does this describe?

A.Trial
B.Open source
C.Freeware
D.Shareware
AnswerA

Trial software is fully functional for a limited time, after which payment is required.

Why this answer

Trial software (often called trialware) provides full functionality for a limited time, then requires payment. Shareware may have limited functionality or be fully functional for a trial period. Freeware is free forever, and open source is free and modifiable.

382
MCQhard

A small real estate office with 12 employees has been using the same network setup for five years. Employees use both company-issued laptops and personal smartphones to access email and client listings. Last week, an employee clicked a link in a phishing email, which led to a ransomware infection on the company file server. The server was encrypted, and the attackers demanded a ransom. The office had no backups; all client data and contracts were lost. The office manager wants to prevent such incidents in the future. Which of the following should be the FIRST security measure implemented, considering the root cause of the breach?

A.Install antivirus software on all company laptops and personal devices
B.Deploy a next-generation firewall with intrusion prevention
C.Enable full-disk encryption on all company laptops
D.Mandate security awareness training for all employees, focusing on phishing identification
AnswerD

Training addresses the root cause by empowering users to avoid phishing attacks.

Why this answer

The root cause was a phishing email that tricked an employee. While technical controls like antivirus (A), next-generation firewall (B), and full-disk encryption (C) are valuable, they do not address the human factor. Security awareness training (D) educates users to recognize phishing attempts, reducing the likelihood of similar incidents.

Without training, other controls can be bypassed. Option D is the most direct and effective first step.

383
Multi-Selectmedium

A user is experiencing slow performance and wants to upgrade their computer's RAM. Which TWO factors should they consider when purchasing new RAM? (Choose two.)

Select 2 answers
A.The brand of the CPU
B.The color of the RAM
C.The size of the power supply
D.The RAM type (e.g., DDR4 vs DDR5)
E.The number of available RAM slots on the motherboard
AnswersD, E

Must match motherboard support.

Why this answer

RAM must be compatible with the motherboard's form factor (e.g., DDR4 vs DDR5) and the motherboard must have available slots. Capacity is also a factor, but the question asks for factors to consider, compatibility and slots are key.

384
Multi-Selecthard

Which THREE are common steps in troubleshooting software issues?

Select 3 answers
A.Test the solution
B.Identify the problem
C.Reinstall the operating system
D.Replace hardware
E.Document findings
AnswersA, B, E

After implementing a fix, testing ensures it works.

Why this answer

Testing the solution (Option A) is a common step in troubleshooting software issues because it verifies that the implemented fix resolves the original problem without introducing new errors. This step follows the implementation of a solution and ensures the software operates as expected, often involving user acceptance testing or automated test scripts.

Exam trap

The trap here is that candidates may confuse 'reinstall the operating system' (a common but extreme step) with a standard troubleshooting step, or they may overlook 'document findings' as a non-technical but required step in the formal troubleshooting process.

385
MCQmedium

A company wants to use a cloud service where they can deploy their own applications on virtual machines without managing the underlying hardware. Which cloud service model best fits this requirement?

A.Infrastructure as a Service (IaaS)
B.Software as a Service (SaaS)
C.Function as a Service (FaaS)
D.Platform as a Service (PaaS)
AnswerA

IaaS offers virtual machines and storage for custom deployments.

Why this answer

IaaS (Infrastructure as a Service) provides virtualized computing resources. The customer manages OS and apps, while the provider manages the hardware.

386
Multi-Selecteasy

Which TWO of the following are advantages of using a relational database over a NoSQL database? (Choose two.)

Select 2 answers
A.Schema flexibility
B.Low latency for large volumes
C.ACID compliance
D.Standard query language (SQL)
E.Horizontal scalability
AnswersC, D

Relational databases enforce ACID properties, ensuring transaction reliability.

Why this answer

Relational databases offer ACID compliance and a standard query language (SQL), which are key advantages.

387
MCQhard

A small business uses a legacy desktop application for inventory management. The application was designed for Windows 7 and has not been updated. The company recently upgraded its workstations to Windows 10. Now, when employees try to run the inventory application, it either crashes immediately or displays errors about missing components. The company relies on this application daily and cannot afford downtime. The IT administrator has tried running the application in compatibility mode for Windows 7, but the crashes persist. There is no alternative application available, and the vendor is out of business. Which of the following is the BEST course of action to allow the business to continue using this application?

A.Contact the vendor for an updated version of the software.
B.Hire a developer to rewrite the application for Windows 10.
C.Set up a virtual machine running Windows 7 and install the application there.
D.Uninstall the application and reinstall it using the original installation media.
AnswerC

A VM provides a compatible OS environment for legacy software.

Why this answer

Using a virtual machine with Windows 7 provides a full compatible environment, allowing the legacy application to run as before. Option A is wrong because the vendor is out of business, so contacting them is futile. Option B is wrong because hiring a developer to rewrite the application is costly, time-consuming, and not a quick fix.

Option D is wrong because reinstalling the application on Windows 10 will likely result in the same crashes and errors due to incompatibility.

388
MCQeasy

A technician needs to verify that a twisted-pair Ethernet cable is wired correctly and has no breaks. Which tool should be used?

A.Multimeter
B.Loopback plug
C.Cable tester
D.Toner probe
AnswerC

Cable testers verify pinouts, continuity, and proper wiring of Ethernet cables.

Why this answer

A cable tester sends signals through each conductor in the twisted-pair cable and checks for continuity, correct pin-to-pin wiring (e.g., T568A or T568B), and shorts or opens. This makes it the correct tool to verify proper wiring and detect breaks in an Ethernet cable.

Exam trap

The trap here is that candidates confuse a multimeter's ability to check continuity with the cable tester's ability to verify correct pairing and wiring standards, leading them to choose the multimeter when only a cable tester can confirm proper Ethernet wiring.

How to eliminate wrong answers

Option A is wrong because a multimeter can only test basic continuity or resistance on individual wires, but it cannot verify correct pairing, split pairs, or the full wiring scheme of an Ethernet cable. Option B is wrong because a loopback plug is used to test the transmit/receive capability of a network interface port, not to check the wiring or integrity of a cable itself. Option D is wrong because a toner probe is used to trace and identify a specific cable within a bundle or patch panel, not to verify wiring correctness or detect breaks.

389
Matchingmedium

Match each network type to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Small geographic area

Large geographic area

Personal devices around a person

City-sized network

Why these pairings

Network types are classified by geographic scope: LAN (local), WAN (wide), MAN (metropolitan), PAN (personal). Common confusions involve swapping LAN and WAN definitions.

390
MCQmedium

A user reports that the company's customer relationship management (CRM) application is slow after a recent network upgrade. What could be the cause?

A.The network firewall is blocking certain CRM traffic.
B.The application has too many users.
C.The user's password has expired.
D.The user is entering data too quickly.
AnswerA

Firewall rules may inadvertently throttle or block necessary ports, causing slowdown.

Why this answer

A network firewall can introduce latency or block traffic if its rules are misconfigured after an upgrade. If the CRM application relies on specific ports or protocols (e.g., HTTPS on TCP 443, or a proprietary port like TCP 8080), the firewall might be inspecting, throttling, or dropping packets, causing perceived slowness. This is a common post-upgrade issue when ACLs or stateful inspection rules change.

Exam trap

CompTIA often tests the misconception that slowness after a network change must be caused by bandwidth or user load, rather than a firewall or ACL misconfiguration that introduces latency or packet loss.

How to eliminate wrong answers

Option B is wrong because too many users would cause slow performance due to resource contention on the server, not specifically after a network upgrade; the issue is network-related, not capacity-related. Option C is wrong because an expired password prevents login entirely (HTTP 401 or access denied), not causing slowness after authentication. Option D is wrong because data entry speed is a client-side input rate that does not affect network throughput or application response time; the application processes keystrokes asynchronously.

391
MCQmedium

A user reports that a SELECT query on a large table with millions of records is very slow. The table has no indexes. Which index type would most likely improve the performance of equality searches (e.g., WHERE id = 100)?

A.Full-text index on the column
B.Nonclustered index on the column
C.Clustered index on the column
D.Unique index on the column
AnswerC

A clustered index sorts and stores the data rows in order, making equality lookups very fast via binary search.

Why this answer

A clustered index on the column used in equality searches (e.g., WHERE id = 100) is the most effective because it physically reorders the table data in the same order as the index key. This allows the database engine to perform a single seek operation directly to the exact row, rather than scanning millions of records. For a large table with no indexes, a clustered index provides the fastest possible access for equality lookups on the indexed column.

Exam trap

The trap here is that candidates often confuse 'nonclustered index' as the default or best choice for all searches, but for equality searches on a large table, a clustered index eliminates the extra lookup step and is the most performant option.

How to eliminate wrong answers

Option A is wrong because a full-text index is designed for linguistic searches on large text fields (e.g., searching for words or phrases within documents), not for exact equality matches on a single value like an ID. Option B is wrong because a nonclustered index on the column would improve performance but requires an additional lookup step (key lookup or bookmark lookup) to retrieve the actual data row, making it slower than a clustered index for direct equality searches. Option D is wrong because a unique index enforces uniqueness of values but does not inherently improve performance more than a non-unique index; its primary purpose is constraint enforcement, not query speed optimization.

392
MCQmedium

A user wants to upgrade their desktop computer's RAM for better performance. The motherboard supports dual-channel memory. Which configuration will provide the best performance?

A.Two 8 GB DDR4 modules in paired slots
B.Three 4 GB DDR4 modules
C.One 16 GB DDR4 module
D.Two 8 GB DDR4 modules in the same channel
AnswerA

This enables dual-channel mode.

Why this answer

Dual-channel architecture requires matching RAM modules in paired slots for increased bandwidth.

393
MCQmedium

Refer to the exhibit. A computer displays this error during startup. Which component is most likely the cause of the issue?

A.RAM
B.Power supply
C.Hard drive
D.CPU
AnswerC

The error message directly indicates the hard disk is not detected, pointing to a failed drive, loose cable, or incorrect BIOS settings.

Why this answer

(Hard drive) is correct because the error explicitly states that the hard disk is not found, indicating a problem with the storage device or its connection. Option A (RAM) would typically cause beep codes or a blank screen, not a boot device error. Option B (CPU) failure usually results in no power or beeps.

Option D (Power supply) issues often lead to no power or intermittent shutdowns, not a specific hard disk error.

394
MCQmedium

A user needs to run a Windows application on a Mac. Which approach uses a hypervisor to create a separate environment?

A.Virtual machine
B.Boot Camp
C.Driver update
D.Compatibility mode
AnswerA

A virtual machine uses a hypervisor.

Why this answer

A virtual machine uses a hypervisor to run one OS inside another.

395
MCQhard

A software developer writes code that stores sensitive user data. To comply with data protection regulations, which application-level security measure should be implemented?

A.Install a firewall on the server.
B.Run regular antivirus scans.
C.Use encryption for data storage and transmission.
D.Require multi-factor authentication for login.
AnswerC

Encryption renders data unreadable without a key, ensuring confidentiality.

Why this answer

Encryption (e.g., AES-256 for data at rest and TLS 1.3 for data in transit) renders sensitive user data unreadable to unauthorized parties, directly addressing data protection regulations such as GDPR or HIPAA that mandate confidentiality. This is an application-level security measure implemented within the software code or database layer, not a network or perimeter control.

Exam trap

The trap here is that candidates often confuse access control measures (like MFA) with data protection measures (like encryption), assuming that restricting who can log in is sufficient to protect stored data, but regulations require data to be encrypted regardless of access controls.

How to eliminate wrong answers

Option A is wrong because a firewall is a network-level security measure that controls traffic based on IP addresses and ports; it does not protect data stored or transmitted by the application itself. Option B is wrong because antivirus scans detect and remove malware on the host system but do not protect the confidentiality or integrity of application data at rest or in transit. Option D is wrong because multi-factor authentication (MFA) controls access to the application but does not secure the stored data itself; once authenticated, the data remains exposed without encryption.

396
Multi-Selectmedium

A company wants to implement the principle of least privilege for its employees. Which TWO of the following actions align with this principle? (Choose TWO.)

Select 2 answers
A.Providing access only to the applications needed for each employee's role
B.Allowing employees to share passwords for convenience
C.Granting all employees administrative rights by default
D.Revoking access to systems when an employee changes roles
E.Giving all employees full access to the company's financial data
AnswersA, D

This aligns with least privilege.

Why this answer

Least privilege means giving users only the permissions necessary to perform their jobs. Granting access only to required applications and revoking old permissions enforce this.

397
MCQhard

A university database includes a table named 'Students' and a table named 'Enrollments'. The 'Enrollments' table has a foreign key column 'StudentID' that references the 'StudentID' primary key in the 'Students' table. The university policy requires that when a student withdraws (i.e., their record is deleted from the 'Students' table), all of their associated enrollment records must be automatically removed to maintain data consistency. The database administrator wants to enforce this rule at the database level. Which referential action should be applied when creating the foreign key constraint on the 'Enrollments' table?

A.ON DELETE CASCADE
B.ON DELETE SET NULL
C.ON DELETE NO ACTION
D.ON DELETE RESTRICT
AnswerA

CASCADE automatically deletes child records when parent is deleted.

Why this answer

(ON DELETE CASCADE) is correct because it automatically deletes all child rows in the 'Enrollments' table when the corresponding parent row in the 'Students' table is deleted. This enforces the university policy of removing associated enrollment records upon student withdrawal, maintaining referential integrity at the database level without manual intervention.

Exam trap

The trap here is that candidates often confuse ON DELETE CASCADE with ON DELETE SET NULL or ON DELETE RESTRICT, mistakenly thinking that preventing deletion or setting NULL satisfies the automatic removal requirement, when only CASCADE actually deletes the child records automatically.

How to eliminate wrong answers

Option B (ON DELETE SET NULL) is wrong because it would set the 'StudentID' foreign key column in 'Enrollments' to NULL when the parent student record is deleted, which does not remove the enrollment records and may violate NOT NULL constraints. Option C (ON DELETE NO ACTION) is wrong because it prevents the deletion of a student record if any referencing enrollment rows exist, requiring manual deletion of enrollments first, which contradicts the automatic removal policy. Option D (ON DELETE RESTRICT) is wrong because it also blocks the deletion of a student record if referencing enrollments exist, similar to NO ACTION, and does not automatically remove associated records.

398
MCQeasy

What is the decimal equivalent of the binary number 1101?

A.15
B.13
C.10
D.12
AnswerB

Correct conversion.

Why this answer

Binary 1101 = 1*8 + 1*4 + 0*2 + 1*1 = 13.

399
MCQmedium

A user is troubleshooting an issue with a web application that is only accessible through a browser. The user notes that the application runs slowly. Which component is most likely responsible for processing the application's server-side logic?

A.Web browser
B.Local firewall
C.Web server
D.Operating system
AnswerC

Correct. The web server runs server-side code that processes requests and sends responses.

Why this answer

Web applications rely on server-side processing for tasks like database access and business logic. The server (or server-side code) handles this, while the client (browser) handles presentation.

400
Multi-Selecthard

A small business is expanding and needs to ensure their network infrastructure supports growth. Which THREE practices should they implement?

Select 3 answers
A.Deploy redundant power supplies for critical devices
B.Implement network segmentation using VLANs
C.Use a single subnet for simplicity
D.Regularly update firmware on networking equipment
E.Use static IP addressing for all devices
AnswersA, B, D

Redundant power supplies increase uptime and reliability.

Why this answer

Redundant power supplies ensure that critical network devices like switches and routers remain operational even if one power supply fails, minimizing downtime during business expansion. This practice directly supports network availability and growth by providing fault tolerance for essential infrastructure components.

Exam trap

The trap here is that candidates may choose 'Use a single subnet for simplicity' thinking it reduces complexity, but it actually hinders scalability and introduces broadcast domain issues that degrade performance in a growing network.

401
Multi-Selectmedium

Which TWO of the following are common characteristics of object-oriented programming languages?

Select 2 answers
A.Procedural programming
B.Polymorphism
C.Functional programming
D.Inheritance
E.Encapsulation
AnswersD, E

Inheritance allows a class to derive properties from another class.

Why this answer

Inheritance is a core characteristic of object-oriented programming (OOP) that allows a class to derive properties and behaviors from a parent class, promoting code reuse and hierarchical relationships. This is a defining feature of OOP languages like Java, C++, and Python, distinguishing them from procedural or functional paradigms.

Exam trap

The trap here is that candidates may confuse 'characteristics of OOP' with 'programming paradigms' and incorrectly select procedural or functional programming, which are separate paradigms, not OOP features.

402
MCQhard

A technician is troubleshooting a computer that does not start. They suspect the BIOS may be corrupted. Which type of software is the BIOS?

A.Operating system
B.Application software
C.Firmware
D.Device driver
AnswerC

BIOS is firmware.

Why this answer

BIOS (Basic Input/Output System) is firmware that is embedded in the motherboard's ROM chip.

403
Multi-Selectmedium

A technician is setting up a small office network with 10 computers and one printer. The network should allow devices to communicate with each other and share the printer. Which TWO of the following components are essential?

Select 2 answers
A.Router
B.Switch
C.Firewall
D.Access point
E.Modem
AnswersA, B

Provides DHCP and internet connectivity if desired.

Why this answer

A switch connects devices within the LAN; a router connects the LAN to the internet (if needed) and provides DHCP.

404
MCQhard

A software application is experiencing performance degradation. The team suspects a memory leak. Which development practice should be used to identify the source of the leak?

A.Unit testing
B.Debugging
C.Profiling
D.Code review
AnswerC

Profiling tools track resource usage, including memory allocation, to identify leaks.

Why this answer

Profiling is the correct practice because it involves monitoring the application's runtime behavior, including memory allocation and garbage collection. A memory profiler can track object creation and retention, pinpointing which objects are not being released and causing the leak. This is the standard approach for diagnosing memory leaks in languages like Java or C#.

Exam trap

The trap here is that candidates confuse debugging (step-by-step logic inspection) with profiling (runtime performance and memory analysis), assuming any performance issue can be solved by stepping through code, but memory leaks require heap analysis tools.

How to eliminate wrong answers

Option A is wrong because unit testing validates individual code units for correctness, not runtime memory usage patterns; it cannot detect a memory leak that manifests over time. Option B is wrong because debugging is used to step through code logic and inspect variables at a specific point, but it does not provide continuous memory allocation statistics or identify unreleased objects. Option D is wrong because code review involves manually examining source code for logical errors or style issues, but it cannot reveal runtime memory behavior such as objects that are inadvertently held in memory.

405
MCQhard

A database analyst is designing a schema for a library system. Each book can have multiple authors, and each author can write multiple books. Which relationship type should be used?

A.Many-to-one
B.One-to-many
C.Many-to-many
D.One-to-one
AnswerC

Many-to-many is correct because a book can have multiple authors and an author can write multiple books, requiring a junction table.

Why this answer

The correct relationship is many-to-many because a book can have multiple authors and an author can write multiple books. In database schema design, this requires a junction table (also known as a linking or associative table) to resolve the many-to-many relationship into two one-to-many relationships, ensuring referential integrity and avoiding data redundancy.

Exam trap

The trap here is that candidates often confuse one-to-many with many-to-many when the problem statement mentions 'multiple' on one side only, but the key is that both entities can have multiple related records, which requires a junction table.

How to eliminate wrong answers

Option A is wrong because many-to-one is the inverse of one-to-many and implies that many books could be associated with a single author, but it fails to capture the scenario where a book has multiple authors. Option B is wrong because one-to-many would mean one book can have many authors, but it does not allow an author to write many books, which violates the bidirectional requirement. Option D is wrong because one-to-one would mean each book has exactly one author and each author writes exactly one book, which directly contradicts the given requirement that both sides can have multiple instances.

406
MCQmedium

A developer is troubleshooting a program that produces unexpected results. The code includes a loop that repeats 10 times but the output shows only 9 values. Which debugging step should be taken first?

A.Add a print statement inside the loop
B.Check the loop condition and initial value
C.Reinstall the programming environment
D.Comment out all lines except the loop
AnswerB

A wrong condition or initialization can cause off-by-one errors.

Why this answer

The loop produces 9 outputs instead of 10, indicating the loop body executes one fewer time than intended. The first debugging step should be to examine the loop condition and initial value, as this directly controls how many iterations occur. For example, if the loop initializes at 1 and runs while `i < 10`, it will iterate 9 times (1 through 9), not 10.

Checking these values immediately identifies off-by-one errors without adding unnecessary complexity.

Exam trap

The trap here is that candidates often jump to adding print statements (Option A) as a reflexive debugging action, but the CompTIA FC0-U61 exam emphasizes systematic troubleshooting—starting with code review of the loop's control logic before adding output or making invasive changes.

How to eliminate wrong answers

Option A is wrong because adding a print statement inside the loop would confirm how many times the loop executes, but it does not address the root cause—it only observes the symptom; the first step should be to analyze the loop's control logic, not add instrumentation. Option C is wrong because reinstalling the programming environment is a drastic, time-consuming action that assumes a corrupted installation, which is highly unlikely to cause a simple iteration count mismatch; this wastes time and does not solve the logical error. Option D is wrong because commenting out all lines except the loop removes the context needed to understand the loop's behavior and may alter the program state, making debugging harder; it is a brute-force approach that skips logical analysis.

407
MCQmedium

Which of the following is an example of lossy compression?

A.JPEG
B.GIF
C.PNG
D.ZIP
AnswerA

JPEG uses lossy compression.

Why this answer

Lossy compression reduces file size by permanently removing some data, as in JPEG and MP3.

408
MCQhard

A company wants to deploy a custom application to 500 employees. The IT team needs to ensure each workstation has the same version and configuration. Which deployment method should be used?

A.Use Group Policy to publish the application to all workstations.
B.Place the installer on a network share and instruct users to run it.
C.Distribute USB drives with the installer to each employee.
D.Email the installer to all employees.
AnswerA

Group Policy allows centralized deployment and configuration management.

Why this answer

Group Policy (GPO) allows centralized deployment of software via Active Directory, ensuring all workstations receive the same version and configuration automatically during startup or user logon. This method uses the Windows Installer service (MSI) and can assign or publish applications, enforcing consistency without user intervention. It is the only option that guarantees uniform deployment across 500 machines with minimal administrative overhead.

Exam trap

The trap here is that candidates may think a network share (Option B) is centralized enough, but they overlook that without Group Policy enforcement, users must manually run the installer, breaking the requirement for consistent version and configuration across all workstations.

How to eliminate wrong answers

Option B is wrong because placing the installer on a network share and instructing users to run it relies on manual user action, which risks inconsistent versions, configuration drift, and non-compliance if users skip or delay installation. Option C is wrong because distributing USB drives to each employee is impractical for 500 workstations, introduces version control issues (e.g., outdated media), and lacks centralized management or enforcement. Option D is wrong because emailing the installer is insecure (potential for attachment blocking, malware risks), unreliable (large files may be rejected), and again depends on users manually executing the installer, leading to version and configuration inconsistencies.

409
MCQeasy

Which of the following is an example of application software?

A.Windows 10
B.BIOS
C.Linux kernel
D.Microsoft Word
AnswerD

Correct: Word is application software.

Why this answer

Microsoft Word is an end-user application for word processing.

410
MCQhard

Two developers have edited the same file and created different versions. To integrate their changes, which Git operation should they perform?

A.git pull
B.git merge
C.git rebase
D.git commit
AnswerB

git merge combines branches, integrating changes.

Why this answer

Git merge. Merging combines changes from different branches into a single branch, integrating the work of both developers. git pull (A) fetches changes from a remote repository and merges them into the current branch, but the question specifically asks for the operation to integrate changes from two different versions (branches) locally, which is merge. git rebase (C) rewrites commit history by reapplying commits on top of another base tip, which is not a direct integration of two versions. git commit (D) saves local changes to the repository but does not integrate changes from another source.

411
MCQhard

A company is implementing a backup strategy. Which of the following best adheres to the 3-2-1 backup rule?

A.Two backups on tape drives, both stored in the server room
B.Original data on a server, a backup on a NAS in the same building, and a backup in the cloud
C.Original data on a laptop, a backup on a USB drive, and a backup on a second USB drive stored in a safe
D.One backup on an external drive stored in the same room as the server
AnswerB

Three copies, two media types (NAS and cloud), one offsite (cloud).

Why this answer

The 3-2-1 rule means 3 copies of data, on 2 different media types, with 1 offsite. Option B meets this: 3 copies (original + 2 backups), 2 media (NAS + cloud), 1 offsite (cloud).

412
MCQhard

A team of developers is working on a large project with multiple features. They use a version control system. One developer creates a new branch to develop a feature, while other developers continue working on the main branch. After completing the feature, the developer wants to combine the changes from the feature branch back into the main branch. What version control operation should be performed?

A.Pull request
B.Fork
C.Commit
D.Merge
AnswerD

Merge integrates changes from one branch into another.

Why this answer

The correct operation is 'Merge' (D), which combines the changes from the feature branch into the main branch. In Git, merging integrates the commit history of two branches, preserving the feature's work while incorporating it into the target branch. This is the standard workflow for bringing a completed feature back into the main line of development.

Exam trap

The CompTIA ITF+ exam often tests the distinction between a 'pull request' (a request to merge) and the actual 'merge' operation, leading candidates to confuse the collaborative workflow step with the underlying version control command.

How to eliminate wrong answers

Option A is wrong because a 'Pull request' is a code review and collaboration mechanism, not the actual operation that combines branches; it typically triggers a merge but is not the merge itself. Option B is wrong because a 'Fork' creates a personal copy of a repository on a server (e.g., GitHub), used for independent development or contributions, not for combining branches within the same repository. Option C is wrong because a 'Commit' saves changes to the local repository but does not combine branches; it is a prerequisite step before merging, not the operation that integrates branches.

413
MCQmedium

A company's IT department is developing a new internal tool to track employee leave requests. The development team is using a waterfall model. After the requirements phase, they create a detailed design document. During implementation, a key stakeholder requests a new feature that requires a change to the database schema. The team is reluctant to accommodate the change because they have already started coding. Which approach should the team take to best handle this situation while adhering to the waterfall model?

A.Switch to an agile methodology to handle the change.
B.Immediately stop coding and incorporate the change into the design document.
C.Complete the current phase, then formally review and update the design document before moving to testing.
D.Ignore the request because it wasn't in the original requirements.
AnswerC

This follows waterfall's phase-gate approach, allowing changes between phases.

Why this answer

In waterfall, changes are typically handled at phase boundaries. Completing the current implementation phase, then formally updating the design before testing allows structured change control. Ignoring the request or stopping immediately disrupts the process.

Switching to agile mid-project is not practical.

414
MCQeasy

Based on the exhibit, what will be the last value output?

A.6
B.5
C.10
D.1
AnswerB

5 is output when count=5, then count becomes 6 and loop terminates.

Why this answer

The loop runs while count <= 5. It outputs 1,2,3,4,5. The last output is 5.

Then count becomes 6 and loop exits. 1 is first, 6 is not output because loop ends.

415
MCQhard

Which cloud service model provides the customer with the ability to run and manage applications on a cloud infrastructure but does NOT give control over the underlying operating system?

A.SaaS
B.PaaS
C.DaaS
D.IaaS
AnswerB

PaaS abstracts the OS.

Why this answer

PaaS provides a platform to develop and run applications without managing the OS or infrastructure.

416
Multi-Selecthard

Which THREE of the following are common methods for securing a wireless network?

Select 3 answers
A.Implementing MAC address filtering
B.Disabling SSID broadcast
C.Enabling WEP encryption
D.Using WPA2 encryption
E.Changing the default IP address range
AnswersA, B, D

Restricts access to allowed devices.

Why this answer

MAC address filtering is a common method for securing a wireless network because it allows the administrator to create an allowlist of specific MAC addresses that are permitted to connect to the access point. This prevents unauthorized devices from associating with the network, even if they know the SSID and password. However, it is not foolproof, as MAC addresses can be spoofed using tools like `macchanger`.

Exam trap

The trap here is that candidates often think WEP is still acceptable for security because it was once a standard, but the exam expects you to know it is deprecated and easily broken, while changing the IP range is a common misconception that offers no real security benefit.

417
MCQmedium

Given the following pseudocode that calculates the average of a list of numbers, which error will occur? SET total = 0 SET count = 0 FOR EACH number IN list total = total + number count = count + 1 ENDFOR SET average = total / count OUTPUT average

A.Compile-time error
B.Logic error
C.Syntax error
D.Runtime error
AnswerD

If the list is empty, division by zero causes a runtime error.

Why this answer

The pseudocode computes an average by dividing `total` by `count`. If the list is empty, `count` remains 0, and division by zero is a runtime error. This error occurs during execution, not during compilation or syntax checking, and is not a logic error because the code is logically correct for non-empty lists.

Exam trap

The key distinction is that this code runs correctly for non-empty lists but fails at runtime when the list is empty. This tests the difference between syntax/logic errors and runtime errors that occur under specific conditions.

How to eliminate wrong answers

Option A is wrong because compile-time errors are detected before execution by a compiler, but pseudocode is not compiled; the division by zero only manifests at runtime. Option B is wrong because a logic error would produce an incorrect result without crashing, but division by zero causes a crash or exception, not a wrong output. Option C is wrong because syntax errors involve violations of language grammar (e.g., missing keywords), and the pseudocode has no syntax issues.

418
MCQmedium

A user reports that a previously working word-processing application now crashes immediately after launch. The user has not installed any new software recently. Which of the following should the user try first?

A.Run a system file checker (SFC) scan.
B.Disable the antivirus software.
C.Run the application as an administrator.
D.Reinstall the operating system.
AnswerA

SFC can repair corrupted system files that may be causing the crash.

Why this answer

A system file checker (SFC) scan is the correct first step because it verifies and repairs protected system files, including those that the word-processing application may depend on. Since the application previously worked and no new software was installed, the most likely cause is a corrupted or missing system file, which SFC can detect and restore from the Windows Component Store.

Exam trap

The trap here is that candidates often jump to disabling antivirus or reinstalling the OS, but the CompTIA FC0-U61 exam emphasizes starting with the least invasive and most targeted troubleshooting step, which is checking system file integrity via SFC.

How to eliminate wrong answers

Option B is wrong because disabling antivirus software is a troubleshooting step for false positives or blocked execution, but it does not address the underlying cause of a crash immediately after launch, which is more likely a corrupted system file. Option C is wrong because running the application as an administrator only elevates permissions and would not fix a crash caused by a damaged system file or missing dependency. Option D is wrong because reinstalling the operating system is an extreme and unnecessary measure that should only be considered after all other less invasive troubleshooting steps have failed.

419
MCQmedium

A programmer needs to store a collection of key-value pairs where each key is unique and maps to a value. Which data structure is best suited for this purpose?

A.Dictionary
B.Array
C.Stack
D.List
AnswerA

Dictionaries (hash maps) store key-value pairs with unique keys.

Why this answer

A dictionary (hash map) stores key-value pairs with unique keys for efficient lookup.

420
MCQeasy

Which of the following is an example of an input device?

A.Printer
B.Monitor
C.Keyboard
D.Speaker
AnswerC

A keyboard allows user input.

Why this answer

A keyboard is an input device because it allows users to send data and commands to a computer by pressing keys, which are converted into electrical signals that the system processes. Input devices are defined as hardware components that provide data and control signals to a computer, and the keyboard is a classic example of this category.

Exam trap

The trap here is that candidates often confuse input and output devices by focusing on the device's function in a general sense (e.g., a printer 'inputs' paper) rather than the direction of data flow relative to the computer, leading them to select output devices like monitors or printers as input devices.

How to eliminate wrong answers

Option A is wrong because a printer is an output device that receives data from a computer to produce a physical copy, not an input device that sends data to the computer. Option B is wrong because a monitor is an output device that displays visual information from the computer, not an input device that provides data to the system. Option D is wrong because a speaker is an output device that converts electrical audio signals into sound waves, not an input device that captures or sends data to the computer.

421
MCQmedium

A technician needs to install a new graphics card in a desktop computer. Through which type of slot is the graphics card typically connected to the motherboard?

A.DIMM slot
B.SATA port
C.M.2 slot
D.PCIe slot
AnswerD

Correct: PCIe slots are used for expansion cards like GPUs.

Why this answer

Graphics cards connect via PCI Express (PCIe) slots.

422
Multi-Selectmedium

A developer is debugging a program that crashes with an error. Which THREE of the following are common debugging techniques?

Select 3 answers
A.Stepping through code line by line
B.Ignoring the error and continuing
C.Recompiling the entire program without changes
D.Setting breakpoints to pause execution
E.Inspecting variable values during execution
AnswersA, D, E

Step-through execution helps trace the program flow.

Why this answer

Setting breakpoints, stepping through code, and inspecting variable values are standard debugging techniques. Rewriting the entire program is inefficient, and ignoring errors does not help.

423
MCQmedium

A SELECT statement combines rows from two tables based on a related column. Which SQL clause is used to accomplish this?

A.GROUP BY
B.ORDER BY
C.JOIN
D.WHERE
AnswerC

Correct. JOIN combines rows from tables based on a condition.

Why this answer

JOIN clauses, such as INNER JOIN, combine rows from two tables based on a related column.

424
MCQeasy

A user wants to install a software package on a Linux system using a package that ends in .deb. Which Linux distribution family is most likely being used?

A.openSUSE
B.Arch Linux
C.Debian-based (e.g., Ubuntu)
D.Red Hat Enterprise Linux
AnswerC

Correct. .deb is the package format for Debian-based systems.

Why this answer

The .deb package format is used by Debian-based distributions such as Ubuntu, Debian, and Linux Mint.

425
MCQeasy

A user wants to connect a modern monitor to their laptop using a single cable that can carry both video and audio signals. Which port on the laptop should they use?

A.HDMI
B.USB-A
C.VGA
D.DVI
AnswerA

HDMI carries both video and audio.

Why this answer

HDMI (High-Definition Multimedia Interface) carries both video and audio signals over a single cable, making it ideal for connecting monitors.

426
MCQeasy

Which security principle is being applied?

A.Least privilege
B.Need to know
C.Separation of duties
D.Defense in depth
AnswerA

Least privilege grants only the minimal necessary access; this rule restricts SSH to only the required subnet.

Why this answer

The principle of least privilege ensures that users or systems are granted only the minimum permissions necessary to perform their tasks. By granting only what is required, the attack surface is reduced, limiting potential damage from compromised accounts or accidental misuse.

Exam trap

CompTIA often tests least privilege by presenting a scenario where a user has more access than needed, and candidates confuse it with 'need to know'—the trap is that need to know applies to data access based on job necessity, while least privilege applies to all permissions (including system functions and files).

How to eliminate wrong answers

Option B (Need to know) is wrong because it focuses on restricting access to information based on whether it is necessary for a specific job function, rather than limiting overall permissions; it is a subset of least privilege but not the primary principle here. Option C (Separation of duties) is wrong because it divides critical tasks among multiple individuals to prevent fraud or error, not to minimize individual permissions. Option D (Defense in depth) is wrong because it involves layering multiple security controls (e.g., firewalls, antivirus, encryption) to protect assets, not specifically limiting user rights.

427
MCQmedium

A database administrator needs to modify the 'Phone' column in the 'Employees' table to allow up to 15 characters. Which SQL statement should the administrator use?

A.CREATE TABLE Employees (Phone VARCHAR(15));
B.ALTER TABLE Employees ALTER COLUMN Phone VARCHAR(15);
C.UPDATE Employees SET Phone = VARCHAR(15);
D.INSERT INTO Employees (Phone) VALUES ('123456789012345');
AnswerB

This changes the column's data type to allow up to 15 characters.

Why this answer

The ALTER TABLE statement is used to modify an existing table's structure, and the ALTER COLUMN clause specifically changes a column's data type or size. Option B correctly uses ALTER TABLE Employees ALTER COLUMN Phone VARCHAR(15) to change the Phone column to allow up to 15 characters, which is the standard SQL syntax for this operation.

Exam trap

CompTIA often tests the distinction between DDL (ALTER TABLE) and DML (UPDATE, INSERT) commands, trapping candidates who confuse modifying table structure with modifying data.

How to eliminate wrong answers

Option A is wrong because CREATE TABLE is used to create a new table, not to modify an existing one, and it would attempt to create a duplicate table or fail if the table already exists. Option C is wrong because UPDATE is a Data Manipulation Language (DML) statement used to modify existing row data, not to change the column's schema or data type; VARCHAR(15) is not a valid value for an UPDATE statement. Option D is wrong because INSERT INTO adds a new row of data to the table, not to alter the column definition, and it would simply insert a specific phone number without changing the column's maximum length.

428
MCQmedium

A company implements a policy where employees must lock their computer screen when leaving their desk. Which security principle does this practice support?

A.Confidentiality
B.Availability
C.Authentication
D.Integrity
AnswerA

Correct: locking the screen prevents others from viewing or accessing data, maintaining confidentiality.

Why this answer

Locking the screen prevents unauthorized access when the user is away, supporting confidentiality by ensuring only authorized users can access the system.

429
MCQeasy

Which SQL statement is used to retrieve all columns from a table named 'Customers' where the city is 'London'?

A.SELECT * FROM Customers WHERE city = 'London';
B.RETRIEVE * FROM Customers WHERE city = 'London';
C.SELECT * FROM Customers HAVING city = 'London';
D.GET * FROM Customers WHERE city = 'London';
AnswerA

This correctly uses SELECT with WHERE clause.

Why this answer

The SELECT statement retrieves data. The correct syntax is: SELECT * FROM Customers WHERE city = 'London';

430
MCQeasy

A small business wants to set up a wireless network. Which of the following is the BEST security method to use?

A.WEP
B.WPA2
C.MAC address filtering
D.Disable SSID broadcast
AnswerB

WPA2 provides strong encryption.

Why this answer

WPA2 (Wi-Fi Protected Access 2) is the best security method among the options because it uses AES (Advanced Encryption Standard) with CCMP (Counter Mode CBC-MAC Protocol), providing strong encryption and integrity protection. WEP is outdated and easily cracked, while MAC filtering and disabling SSID broadcast are not encryption methods and offer minimal security against determined attackers.

Exam trap

The trap here is that candidates often confuse security features like MAC filtering or hiding the SSID with actual encryption, thinking they provide strong protection, when in fact they are easily bypassed and do not secure the data in transit.

How to eliminate wrong answers

Option A is wrong because WEP (Wired Equivalent Privacy) uses the flawed RC4 cipher with a static 40- or 104-bit key, making it vulnerable to cracking in minutes with tools like aircrack-ng. Option C is wrong because MAC address filtering only checks the hardware address of the network interface, which can be easily spoofed by an attacker using tools like macchanger, and it does not encrypt traffic. Option D is wrong because disabling SSID broadcast only hides the network name from beacon frames, but the SSID is still transmitted in probe requests and responses, and can be discovered with passive sniffing tools like Kismet.

431
Drag & Dropmedium

Drag and drop the steps to connect a laptop to a Wi-Fi network in Windows 10 into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Connecting to Wi-Fi involves selecting the network, entering the password, and optionally saving it.

432
MCQmedium

In a Scrum team, who is responsible for prioritizing the product backlog and ensuring that the team works on the most valuable features first?

A.Product Owner
B.Scrum Master
C.Development Team
D.Stakeholder
AnswerA

The product owner owns the backlog and prioritizes it.

Why this answer

The Product Owner is responsible for maximizing the value of the product resulting from the work of the Scrum Team. This includes owning the Product Backlog, ordering its items to best achieve goals and missions, and ensuring that the Development Team works on the most valuable features first. The Product Owner is the single point of contact for prioritization decisions, balancing stakeholder needs with business value.

Exam trap

CompTIA ITF+ often tests the misconception that the Scrum Master or Development Team shares responsibility for backlog prioritization, but the trap here is that only the Product Owner has the authority to order the Product Backlog, as defined in the Scrum Guide.

How to eliminate wrong answers

Option B is wrong because the Scrum Master is a servant-leader who facilitates Scrum events, removes impediments, and coaches the team, but does not have authority over backlog prioritization. Option C is wrong because the Development Team is self-organizing and decides how to deliver the work, but they do not own the Product Backlog or its ordering. Option D is wrong because Stakeholders provide input and feedback, but they do not have the final authority to prioritize the Product Backlog; that responsibility lies solely with the Product Owner.

433
MCQmedium

A company needs to ensure that all employees can collaborate on documents in real time. Which type of software should the company choose?

A.Word processor with local file saving.
B.Cloud-based document editing suite.
C.Version control system like Git.
D.Email attachment sharing.
AnswerB

Cloud suites are designed for real-time collaboration, allowing multiple users to edit simultaneously.

Why this answer

Cloud-based document editing suites (e.g., Google Workspace, Microsoft 365) enable simultaneous real-time collaboration, unlike local-only applications, email attachments, or version control systems.

434
MCQhard

A developer is writing a script in Python that processes user input. The script needs to execute a block of code repeatedly while a condition is true. Which programming construct should the developer use?

A.for loop
B.while loop
C.function
D.if/else
AnswerB

A while loop repeats while a condition is true.

Why this answer

A while loop repeats a block of code as long as a condition is true.

435
MCQmedium

A team of developers is collaborating on a mobile app using Git. One developer, Alice, is working on a new feature in a branch called "new-feature". Bob, another developer, has pushed several bug fixes to the main branch. Alice now wants to incorporate Bob's bug fixes into her feature branch. Which sequence of Git commands should Alice use to achieve this with minimal disruption?

A.git fetch, git rebase new-feature onto origin/main, then force push.
B.git checkout new-feature, git merge main, then resolve conflicts if any.
C.git checkout -b new-feature, git push.
D.git checkout main, git pull, git merge new-feature, then push.
AnswerB

This merges the latest main (with bug fixes) into the feature branch, keeping the work isolated.

Why this answer

Merging the main branch into the feature branch (git checkout new-feature, git merge main) brings the fixes into Alice's branch. The opposite (merging feature into main) would add unfinished work to main. Rebasing with force push is dangerous.

Creating a new branch doesn't bring in fixes.

436
MCQmedium

A developer writes a query: SELECT * FROM Employees WHERE Department = 'Sales'. Which statement about this query is true?

A.It sorts results by Department
B.It returns all columns for employees in Sales
C.It returns only the Department column
D.It returns all rows from the Employees table
AnswerB

SELECT * returns all columns, and the WHERE clause filters for Sales department.

Why this answer

The SELECT * clause retrieves all columns from the specified table, and the WHERE Department = 'Sales' filter restricts the result set to only those rows where the Department column has the value 'Sales'. Therefore, the query returns every column for employees in the Sales department, making option B correct.

Exam trap

The trap here is that candidates confuse the SELECT clause with the WHERE clause, mistakenly thinking SELECT * returns all rows (option D) or only a specific column (option C), when in fact SELECT * returns all columns and WHERE filters rows.

How to eliminate wrong answers

Option A is wrong because the query contains no ORDER BY clause, so results are not sorted by Department or any other column; sorting requires an explicit ORDER BY. Option C is wrong because SELECT * returns all columns, not just the Department column; to return only the Department column, the query would need to specify SELECT Department. Option D is wrong because the WHERE clause filters rows to only those where Department = 'Sales', so it does not return all rows from the Employees table.

437
MCQeasy

Which of the following is the best practice for backing up data according to the 3-2-1 rule?

A.Three copies on two different media types, with one copy stored offsite
B.Three copies on three different external hard drives stored in the same building
C.Two copies on the same server, one on a different server
D.One copy on the same drive, one on an external drive, one in the cloud
AnswerA

This follows the 3-2-1 backup rule.

Why this answer

The 3-2-1 rule means at least three copies of data, on two different types of storage media, with one copy stored offsite.

438
MCQhard

Based on the exhibit, which type of attack is most likely occurring?

A.Denial-of-service attack
B.Phishing attack
C.Brute force attack
D.Man-in-the-middle attack
AnswerC

Repeated failed logon attempts from a remote IP suggest a brute force attack.

Why this answer

The exhibit shows repeated login attempts with different passwords (e.g., 'password1', 'password2', 'password3') against a single user account. This pattern of systematically trying many passwords to guess credentials is the hallmark of a brute force attack. Unlike a denial-of-service or phishing attack, the goal here is to gain unauthorized access by exhausting possible password combinations.

Exam trap

CompTIA often tests the distinction between a brute force attack and a dictionary attack; the trap here is that candidates may confuse the systematic password guessing shown in the exhibit with a phishing or man-in-the-middle attack because they see repeated login attempts but fail to recognize the direct, automated guessing pattern.

How to eliminate wrong answers

Option A is wrong because a denial-of-service attack aims to overwhelm a system with traffic to disrupt service, not to guess passwords through repeated login attempts. Option B is wrong because phishing involves tricking users into revealing credentials via deceptive messages or websites, not by directly submitting password guesses to a login form. Option D is wrong because a man-in-the-middle attack intercepts and potentially alters communications between two parties, whereas the exhibit shows direct, repeated authentication attempts against a single endpoint.

439
MCQeasy

A software development team follows a methodology where work is divided into fixed sequential phases: requirements, design, implementation, testing, deployment, and maintenance. Changes to requirements are difficult once a phase is completed. Which development methodology is being used?

A.Spiral
B.Waterfall
C.Scrum
D.Agile
AnswerB

Waterfall follows sequential phases and is suited for predictable projects.

Why this answer

The Waterfall model is a linear sequential software development methodology where each phase (requirements, design, implementation, testing, deployment, maintenance) must be completed before the next begins. This rigidity makes it difficult to accommodate changes to requirements once a phase is finished, exactly as described in the question.

Exam trap

CompTIA often tests the distinction between sequential (Waterfall) and iterative (Agile/Spiral) methodologies by emphasizing the inability to change requirements after a phase is completed, which directly points to Waterfall and not to the risk-driven cycles of Spiral or the adaptive nature of Agile frameworks.

How to eliminate wrong answers

Option A is wrong because the Spiral model is an iterative risk-driven methodology that combines prototyping with the waterfall phases, allowing for repeated cycles and requirement changes based on risk analysis. Option C is wrong because Scrum is an Agile framework that uses time-boxed sprints and welcomes changing requirements even late in development. Option D is wrong because Agile methodologies (including Scrum, Kanban, XP) are built on iterative development and continuous feedback, explicitly designed to handle evolving requirements.

440
MCQmedium

A company is developing a mobile app and wants to ensure it works on both iOS and Android without writing separate codebases. Which approach should be used?

A.Cross-platform development
B.Native development
C.Web-based development
D.Cloud-based development
AnswerA

Cross-platform frameworks like React Native allow one codebase for multiple platforms.

Why this answer

Cross-platform development allows a single codebase (e.g., using frameworks like React Native, Flutter, or Xamarin) to compile into native apps for both iOS and Android, eliminating the need to write separate codebases for each platform. This approach leverages shared logic and UI components while still producing platform-specific binaries that can access native device features.

Exam trap

The trap here is that candidates confuse 'cross-platform development' with 'web-based development,' thinking a responsive web app can replace a native mobile app, but the question specifically requires app store distribution and device hardware access, which only cross-platform or native development can provide.

How to eliminate wrong answers

Option B (Native development) is wrong because it requires writing separate codebases in platform-specific languages (Swift/Objective-C for iOS, Kotlin/Java for Android), which contradicts the requirement of a single codebase. Option C (Web-based development) is wrong because it produces a web app that runs in a browser, not a native mobile app that can be distributed through app stores and access device hardware directly. Option D (Cloud-based development) is wrong because it refers to developing applications that run on cloud infrastructure (e.g., SaaS), not to the method of building mobile apps for multiple platforms from one codebase.

441
MCQmedium

A technician needs to install a wireless network in a large warehouse. The goal is to minimize interference and support many devices. Which frequency band is best for this scenario?

A.5 GHz
B.60 GHz
C.900 MHz
D.2.4 GHz
AnswerA

5 GHz provides faster speeds and less interference, better for high-density deployments.

Why this answer

5 GHz offers less interference and more channels, ideal for crowded environments with many devices. 2.4 GHz has more interference and slower speeds.

442
Multi-Selectmedium

Which TWO of the following are examples of volatile memory?

Select 2 answers
A.RAM
B.Cache
C.Hard Drive
D.SSD
E.ROM
AnswersA, B

RAM is volatile memory.

Why this answer

RAM (Random Access Memory) is volatile because it requires constant electrical power to retain data; once the system is powered off, all stored information is lost. This characteristic makes RAM ideal for temporary storage of actively used data and program instructions during operation.

Exam trap

The FC0-U61 exam often tests the distinction between volatile and non-volatile memory by including storage devices like SSDs and hard drives as distractors, exploiting the common misconception that 'memory' and 'storage' are interchangeable terms.

443
MCQeasy

A developer needs to store a collection of student names and their corresponding grades. The data should be accessed quickly by student name. Which data structure is most appropriate?

A.Array
B.Queue
C.Stack
D.Dictionary
AnswerD

Dictionary stores key-value pairs for fast access by key.

Why this answer

A dictionary (also known as a hash map or associative array) stores key-value pairs, allowing O(1) average-time lookups by key. Since the developer needs to access grades quickly by student name, the dictionary's hashing mechanism directly maps each name to its corresponding grade, making it the most appropriate choice.

Exam trap

CompTIA ITF+ often tests the distinction between sequential data structures (arrays, queues, stacks) and associative data structures (dictionaries), trapping candidates who confuse 'ordered collection' with 'keyed access'.

How to eliminate wrong answers

Option A is wrong because an array stores elements by numeric index, not by a string key like a student name, requiring a linear search or manual mapping to find a grade. Option B is wrong because a queue is a FIFO (First-In, First-Out) data structure designed for ordered processing, not for key-based lookups. Option C is wrong because a stack is a LIFO (Last-In, First-Out) data structure used for undo operations or expression evaluation, not for associating names with grades.

444
MCQmedium

Which of the following character encodings can represent characters from virtually all written languages?

A.Unicode/UTF-8
B.EBCDIC
C.Extended ASCII
D.ASCII
AnswerA

Correct: UTF-8 supports all languages.

Why this answer

Unicode (UTF-8) is variable-width and supports all languages.

445
Multi-Selecthard

A developer is learning version control. Which THREE of the following are core Git concepts? (Select 3)

Select 3 answers
A.Debugger
B.Branch
C.Compiler
D.Repository
E.Commit
AnswersB, D, E

A branch allows parallel development.

Why this answer

Repository, commit, and branch are fundamental Git concepts.

446
MCQhard

An e-commerce application experiences a data anomaly where an order is partially recorded: the order header is saved but some order line items are missing due to a system crash. Which property of database transactions is violated?

A.Consistency
B.Isolation
C.Atomicity
D.Durability
AnswerC

Atomicity requires all operations in a transaction to complete or none; a partial commit breaks this.

Why this answer

Atomicity ensures that a transaction is treated as a single, indivisible unit of work: either all operations (e.g., saving the order header and all line items) complete successfully, or none are applied. In this scenario, the system crash caused a partial write, leaving the order header committed while line items were lost, which directly violates atomicity. The database should have rolled back the entire transaction upon crash recovery, preventing the partial state.

Exam trap

The trap here is that candidates confuse 'consistency' (which relates to data integrity rules) with the all-or-nothing requirement of atomicity, especially when the partial data appears to violate business logic rather than the transaction boundary.

How to eliminate wrong answers

Option A is wrong because consistency ensures that a transaction transforms the database from one valid state to another, respecting all defined rules (e.g., constraints, triggers); a partially recorded order could still be consistent if the missing line items are allowed by schema, but the core issue is the incomplete unit of work. Option B is wrong because isolation deals with concurrent transaction visibility (e.g., preventing dirty reads or lost updates via locking or MVCC), not with the all-or-nothing completion of a single transaction. Option D is wrong because durability guarantees that once a transaction is committed, its changes survive system failures (e.g., via write-ahead logging); here the header was saved but the line items were not, so the transaction was never fully committed, and durability is not violated.

447
MCQmedium

A student is converting the hexadecimal number 2F to decimal. What is the correct decimal value?

A.59
B.32
C.63
D.47
AnswerD

2F hex = 2*16 + 15 = 47 decimal.

Why this answer

Hexadecimal 2F: 2*16 + 15 = 32 + 15 = 47.

448
MCQhard

A company has a server that hosts a critical database. The server uses RAID 5 with three disks. One disk fails. What is the immediate impact on data availability?

A.Data is available only after replacing the disk
B.The server will shut down
C.All data on the array is lost
D.Data is still available, but performance may degrade
AnswerD

RAID 5 uses parity; with one disk missing, reads are slower.

Why this answer

RAID 5 uses block-level striping with distributed parity. With three disks, the array can tolerate a single disk failure without data loss because the parity information on the remaining two disks can reconstruct the missing data on the fly. Therefore, data remains fully available immediately after one disk fails, though read and write performance may degrade due to the overhead of parity calculation and reconstruction.

Exam trap

The trap here is that candidates often confuse RAID 5 with RAID 0, assuming any disk failure causes total data loss, or they mistakenly think the array becomes completely unavailable until the disk is replaced.

How to eliminate wrong answers

Option A is wrong because RAID 5 does not require a replacement disk to maintain data availability; the array continues to operate in a degraded state using parity. Option B is wrong because RAID 5 is designed to survive a single disk failure without shutting down; the server remains operational. Option C is wrong because RAID 5 with three disks provides fault tolerance for one disk failure; data is not lost unless a second disk fails before the first is replaced.

449
MCQhard

A system administrator is configuring a server to provide email services for a small business. The business wants to avoid managing the underlying infrastructure. Which cloud service model best fits this need?

A.IaaS
B.SaaS
C.DaaS
D.PaaS
AnswerB

Correct.

Why this answer

Software as a Service (SaaS) provides ready-to-use software over the internet, such as Office 365 for email.

450
MCQmedium

Which backup strategy involves keeping three copies of data on two different media types with one copy offsite?

A.3-2-1 backup rule
B.Full backup
C.Differential backup
D.Incremental backup
AnswerA

Correct. This is the 3-2-1 rule.

Why this answer

The 3-2-1 rule: three copies of data, on two different media types, with one copy stored offsite to ensure redundancy and disaster recovery.

Page 5

Page 6 of 14

Page 7