Question 1 of 510
Security ArchitecturemediumMultiple SelectObjective-mapped

Quick Answer

The answer is to use AWS Direct Connect and an IPsec VPN tunnel. Direct Connect creates a dedicated private network connection that bypasses the internet entirely, minimizing exposure while supporting optional encryption via MACsec or IPsec, and the IPsec VPN tunnel provides an encrypted, site-to-site link between the AWS VPC and the on-premises network, ensuring encryption in transit. On the CompTIA SecurityX CAS-004 exam, this scenario tests your understanding of hybrid cloud connectivity options and the trade-off between private circuits and encrypted tunnels—a common trap is choosing a single solution when the question explicitly asks for two techniques. Remember the mnemonic “DIV” for Direct Connect, IPsec VPN: one eliminates the internet, the other encrypts the path.

CAS-004 Security Architecture Practice Question

This CAS-004 practice question tests your understanding of security architecture. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 security architect is designing a hybrid cloud environment where a web application hosted in AWS needs to securely access an on-premises database. The architect wants to minimize exposure to the internet and ensure encryption in transit. Which TWO techniques should the architect consider? (Choose two.)

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1mediummulti select
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

Establish an IPsec VPN tunnel between the AWS VPC and the on-premises network.

Option A is correct because an IPsec VPN tunnel creates an encrypted, site-to-site connection between the AWS VPC and the on-premises network, ensuring encryption in transit and minimizing internet exposure by using the VPN gateway as the endpoint. Option B is correct because AWS Direct Connect provides a dedicated, private network connection that bypasses the internet entirely, reducing exposure and supporting encryption via optional MACsec or IPsec, while maintaining low latency and consistent bandwidth.

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.

  • Establish an IPsec VPN tunnel between the AWS VPC and the on-premises network.

    Why this is correct

    IPsec VPN provides encrypted tunnel over the internet, securing data in transit.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use AWS Direct Connect to create a dedicated private network connection from on-premises to AWS.

    Why this is correct

    Direct Connect bypasses the internet, providing a private, low-latency connection; can be combined with encryption for extra security.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Store database credentials in AWS Secrets Manager and retrieve them at runtime.

    Why it's wrong here

    Secrets Manager manages credentials but does not provide network connectivity or encryption.

  • Configure VPC peering between the AWS VPC and the on-premises network.

    Why it's wrong here

    VPC peering is for connecting VPCs within AWS, not for hybrid connections.

  • Configure the web application to connect to the database using TLS encryption.

    Why it's wrong here

    TLS encrypts the connection but does not hide the database's public IP; still exposed to internet unless combined with VPN.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse VPC peering with hybrid connectivity, not realizing it only works between VPCs within the same AWS region, or they assume TLS alone is sufficient for network-level security without addressing the underlying internet exposure.

Detailed technical explanation

How to think about this question

IPsec VPNs operate at Layer 3 using protocols like IKEv2 for key exchange and ESP for encryption, typically with AES-256 and SHA-256, creating a tunnel that encapsulates IP packets. AWS Direct Connect uses IEEE 802.1Q VLANs to establish a private virtual interface (VLAN) to the VPC, and with MACsec (IEEE 802.1AE) can provide encryption at Layer 2, though IPsec is often layered on top for end-to-end encryption. In a hybrid scenario, combining Direct Connect with an IPsec VPN as a backup or for encryption ensures both low exposure and data confidentiality.

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 CAS-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 CAS-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 CAS-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 CAS-004 question test?

Security Architecture — This question tests Security Architecture — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Establish an IPsec VPN tunnel between the AWS VPC and the on-premises network. — Option A is correct because an IPsec VPN tunnel creates an encrypted, site-to-site connection between the AWS VPC and the on-premises network, ensuring encryption in transit and minimizing internet exposure by using the VPN gateway as the endpoint. Option B is correct because AWS Direct Connect provides a dedicated, private network connection that bypasses the internet entirely, reducing exposure and supporting encryption via optional MACsec or IPsec, while maintaining low latency and consistent bandwidth.

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

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

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

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 11, 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 CAS-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 CAS-004 exam.