hardMultiple ChoiceObjective-mapped
FC0-U71 Practice Question: Refer to the exhibit
Exhibit
Refer to the exhibit. Application Configuration: <appSettings> <add key="DatabaseConnection" value="Server=prod01;Database=SalesDB;User Id=sa;Password=Passw0rd;" /> <add key="LogLevel" value="Debug" /> </appSettings>
Refer to the exhibit. A security auditor reviews this application configuration. What is the most significant security concern?
⚠ Common exam trap
The trap here is that candidates may focus on the 'Debug' log level (Option B) as a security risk due to verbosity, but the plaintext password (Option C) represents a direct, high-impact credential exposure that is far more critical.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The database password is stored in plaintext.
Storing a database password in plaintext within an application configuration file is a critical security vulnerability. If an attacker gains access to the file, they can immediately read the credentials and connect to the database, potentially compromising all stored data. This violates fundamental security principles such as least privilege and defense in depth, and it is explicitly warned against in secure coding guidelines like OWASP's Top 10 (A07:2021 – Identification and Authentication Failures).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The server name is hardcoded.
Why it's wrong here
Hardcoded server names are not a security concern; they are often necessary.
- ✗
The log level is set to Debug.
Why it's wrong here
Debug logging may reveal information but not as critical as a plaintext password.
- ✓
The database password is stored in plaintext.
Why this is correct
Plaintext passwords can be easily read by anyone with file access, leading to unauthorized database access.
- ✗
The database name is SalesDB.
Why it's wrong here
The database name is not sensitive information.
Go deeper
Related to this question
About these practice questions
Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.