Question 289 of 499
Operations and SupporthardMultiple ChoiceObjective-mapped

Quick Answer

The correct action is to implement a connection pooling mechanism in the application tier. This resolves the performance issue because the application’s current pattern—opening a new database connection for each HTTP request and failing to close them—directly causes database connection pool exhaustion, maxing out RDS connections and driving CPU above 80%. Connection pooling reuses a fixed set of persistent connections, drastically reducing the overhead of repeated handshakes and preventing the connection limit from being hit, which in turn lowers database CPU load. On the CompTIA Cloud+ CV0-004 exam, this scenario tests your ability to distinguish root-cause fixes from symptom treatments: a common trap is to scale up the RDS instance or increase the max_connections parameter, but those only delay the problem. The exam emphasizes that efficient resource management in cloud architectures means fixing the application logic, not just adding capacity. Memory tip: think “pool, don’t puddle”—a connection pool reuses water (connections), while a puddle (new connection per request) evaporates resources.

CV0-004 Operations and Support Practice Question

This CV0-004 practice question tests your understanding of operations and support. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company operates a multi-tier web application on AWS. The web tier runs on EC2 instances behind an Application Load Balancer. The application tier runs on EC2 instances that connect to an RDS MySQL database. Recently, users have reported slow page load times. The cloud administrator investigates and finds the following: CPU utilization on web and app tier instances is below 50%, memory usage is normal, but the RDS instance's CPU utilization is consistently above 80% and the number of database connections is at the maximum. The administrator also notices that the application code opens a new database connection for each HTTP request and does not close them properly. Which action should the administrator take to resolve the performance issue?

Question 1hardmultiple choice
Full question →

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

Implement a connection pooling mechanism in the application tier.

The performance issue is caused by the application opening a new database connection for each HTTP request and not closing them properly, which exhausts the maximum connections on RDS. Implementing a connection pooling mechanism in the application tier reuses existing connections, reduces connection overhead, and prevents connection exhaustion without requiring a larger instance or increasing the connection limit. This directly addresses the root cause—inefficient connection management—rather than treating symptoms like high CPU or connection limits.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Scale the RDS instance vertically to a larger instance class.

    Why it's wrong here

    Masks the problem; connection leak still exists and will eventually exhaust resources.

  • Implement a connection pooling mechanism in the application tier.

    Why this is correct

    Reduces the number of concurrent connections and reuses them, lowering CPU load.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Increase the timeout for idle database connections.

    Why it's wrong here

    Does not prevent connection leaks; connections may still be left open.

  • Increase the maximum number of database connections on RDS.

    Why it's wrong here

    Would allow more connections but not fix the leak; could overload the database further.

Common exam traps

Common exam trap: answer the scenario, not the keyword

CompTIA often tests the misconception that scaling resources (vertical scaling or increasing limits) is the primary fix for performance issues, when the real problem is inefficient resource usage like connection leaks that require architectural changes such as connection pooling.

Detailed technical explanation

How to think about this question

Connection pooling, as implemented by tools like HikariCP or AWS RDS Proxy, maintains a cache of database connections that are reused across requests, drastically reducing the overhead of establishing TCP connections and authentication handshakes. In a multi-tier web application, each HTTP request that opens a new connection without closing it can leave connections in a 'CLOSE_WAIT' state, consuming server resources until the TCP timeout expires. RDS Proxy also provides connection multiplexing and can handle failover transparently, which is critical for production environments where connection churn impacts performance.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CV0-004 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CV0-004 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CV0-004 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CV0-004 question test?

Operations and Support — This question tests Operations and Support — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Implement a connection pooling mechanism in the application tier. — The performance issue is caused by the application opening a new database connection for each HTTP request and not closing them properly, which exhausts the maximum connections on RDS. Implementing a connection pooling mechanism in the application tier reuses existing connections, reduces connection overhead, and prevents connection exhaustion without requiring a larger instance or increasing the connection limit. This directly addresses the root cause—inefficient connection management—rather than treating symptoms like high CPU or connection limits.

What should I do if I get this CV0-004 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CV0-004 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 CV0-004 exam.