Study for the CompTIA ITF+ Exam. Enhance your tech literacy with multiple-choice questions and detailed explanations. Prepare thoroughly and succeed!

Practice this question and more.


Which of the following would work BEST stored as a flat file rather than stored in a database?

  1. Customer order history

  2. Inventory system

  3. Contact list

  4. Employee payroll records

The correct answer is: Contact list

Flat files are stored as a single table with no relationship to other tables, making it easier to read and manipulate. In this case, a contact list would be best stored as a flat file rather than in a database because it does not require complex relationships between other data. A database would work best for options A, B, and D as they contain more complex data that would benefit from being stored in a structured and organized manner. For example, customer order history may require relationships with product data, inventory system may need to track changes in stock levels, and employee payroll records need to be easily accessible and secure. Therefore, option C is the best choice for a flat file storage.