- A
Place the API in a private subnet and expose it only through an internal load balancer or private endpoint.
Private subnets and internal endpoints keep the service off the public internet while still allowing controlled access from trusted corporate systems. This reduces exposure, simplifies firewall policy, and supports the requirement that only internal applications can reach the API. It is a common secure cloud architecture pattern for internal services.
- B
Give each container a public IP and restrict access by source IP allowlist.
Why wrong: Source IP filtering may reduce exposure, but public IPs still make the service broadly addressable and easier to scan or attack. The scenario explicitly says the service must be reachable only by internal applications, so keeping it private is a better architectural choice than relying on external allowlists alone.
- C
Store secrets in a managed vault and retrieve them at runtime with short-lived IAM permissions.
Using a managed secrets vault avoids hardcoding credentials in images, source code, or environment files. Short-lived permissions reduce the value of stolen credentials and limit what an attacker can do if a token is compromised. This is the right pattern for protecting secrets from both operators and runtime exposure.
- D
Bake database passwords into the container image so deployment is simpler.
Why wrong: Embedding secrets in an image is risky because the image may be copied, cached, scanned, or retained long after deployment. Anyone with access to the image can potentially extract the password. Simplicity does not outweigh the security and lifecycle problems created by hardcoded credentials.
- E
Assume the cloud provider's tenant isolation alone is enough to protect secrets from misuse.
Why wrong: Tenant isolation protects one customer from another, but it does not solve application-level secret handling or misuse by authorized insiders. The scenario requires the secrets not be readable in plaintext from the host or image, which calls for explicit secret management and permission controls, not trust in isolation alone.
Quick Answer
The answer is to store secrets in a managed vault with runtime retrieval using short-lived IAM permissions, and to deploy the API in a private subnet accessible only via an internal load balancer. This design ensures a secure containerized API deployment by keeping secrets out of images and preventing plaintext exposure to host administrators, while the private subnet restricts traffic to internal corporate applications through network segmentation. On the Security+ SY0-701 exam, this scenario tests your grasp of cloud security controls—specifically how to combine a secrets vault with IAM roles for dynamic credential access, and how private subnets enforce network isolation. A common trap is assuming a public subnet with a firewall is sufficient, but that still exposes the API to potential internet-based threats. Remember the mnemonic “Vault and VLAN”: vault for secrets, VLAN (private subnet) for isolation.
SY0-701 Security Architecture Practice Question
This SY0-701 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 team is deploying a containerized API to a public cloud. The service must be reachable only by internal corporate applications, and secrets must not be embedded in images or readable as plaintext by administrators of the underlying host. Which two actions best fit the design? Select two.
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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
Place the API in a private subnet and expose it only through an internal load balancer or private endpoint.
Option A is correct because placing the API in a private subnet and exposing it only through an internal load balancer or private endpoint ensures that the service is reachable only by internal corporate applications, as traffic never traverses the public internet. This design leverages network segmentation and private IP addressing to enforce access control at the network layer, aligning with the requirement for internal-only reachability.
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.
- ✓
Place the API in a private subnet and expose it only through an internal load balancer or private endpoint.
Why this is correct
Private subnets and internal endpoints keep the service off the public internet while still allowing controlled access from trusted corporate systems. This reduces exposure, simplifies firewall policy, and supports the requirement that only internal applications can reach the API. It is a common secure cloud architecture pattern for internal services.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Give each container a public IP and restrict access by source IP allowlist.
Why it's wrong here
Source IP filtering may reduce exposure, but public IPs still make the service broadly addressable and easier to scan or attack. The scenario explicitly says the service must be reachable only by internal applications, so keeping it private is a better architectural choice than relying on external allowlists alone.
- ✓
Store secrets in a managed vault and retrieve them at runtime with short-lived IAM permissions.
Why this is correct
Using a managed secrets vault avoids hardcoding credentials in images, source code, or environment files. Short-lived permissions reduce the value of stolen credentials and limit what an attacker can do if a token is compromised. This is the right pattern for protecting secrets from both operators and runtime exposure.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Bake database passwords into the container image so deployment is simpler.
Why it's wrong here
Embedding secrets in an image is risky because the image may be copied, cached, scanned, or retained long after deployment. Anyone with access to the image can potentially extract the password. Simplicity does not outweigh the security and lifecycle problems created by hardcoded credentials.
- ✗
Assume the cloud provider's tenant isolation alone is enough to protect secrets from misuse.
Why it's wrong here
Tenant isolation protects one customer from another, but it does not solve application-level secret handling or misuse by authorized insiders. The scenario requires the secrets not be readable in plaintext from the host or image, which calls for explicit secret management and permission controls, not trust in isolation alone.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse network-level access control (public IP with allowlist) with true private connectivity, or they underestimate the risk of host administrators reading secrets from container images or environment variables, assuming that tenant isolation or encryption at rest alone is sufficient.
Trap categories for this question
Scenario analysis trap
Source IP filtering may reduce exposure, but public IPs still make the service broadly addressable and easier to scan or attack. The scenario explicitly says the service must be reachable only by internal applications, so keeping it private is a better architectural choice than relying on external allowlists alone.
Detailed technical explanation
How to think about this question
Under the hood, a private subnet uses RFC 1918 addresses (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and is not directly routable from the internet; an internal load balancer (e.g., AWS Internal ALB or Azure Internal Load Balancer) or private endpoint (e.g., AWS PrivateLink or Azure Private Endpoint) uses a private IP within the VPC, ensuring traffic stays within the corporate network or VPN. For secrets, a managed vault like AWS Secrets Manager or Azure Key Vault integrates with IAM roles (e.g., AWS STS) to issue short-lived credentials (e.g., temporary tokens with a TTL of 15 minutes to 1 hour), which are retrieved at runtime via API calls (e.g., GetSecretValue) and never persisted in the image layers, preventing host administrators from reading them from the filesystem or container metadata.
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 SOC analyst notices unusual lateral movement in the network at 2 AM. The IR playbook dictates: identify and contain (isolate the affected machine), then eradicate (remove the malware), then recover (restore from backup), then document. Skipping containment before eradication risks the attacker regaining access. Questions like this test the sequence and rationale of incident response phases.
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.
- →
Security Architecture — study guide chapter
Learn the concepts, then practise the questions
- →
Security Architecture practice questions
Targeted practice on this topic area only
- →
All SY0-701 questions
1,152 questions across all exam domains
- →
Security+ SY0-701 study guide
Full concept coverage aligned to exam objectives
- →
SY0-701 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SY0-701 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
General Security Concepts practice questions
Practise SY0-701 questions linked to General Security Concepts.
Threats, Vulnerabilities, and Mitigations practice questions
Practise SY0-701 questions linked to Threats, Vulnerabilities, and Mitigations.
Security Architecture practice questions
Practise SY0-701 questions linked to Security Architecture.
Security Operations practice questions
Practise SY0-701 questions linked to Security Operations.
Security Program Management and Oversight practice questions
Practise SY0-701 questions linked to Security Program Management and Oversight.
Security+ social engineering questions
Practise SY0-701 questions linked to Security+ social engineering questions.
Security+ cryptography practice questions
Practise SY0-701 questions linked to Security+ cryptography.
Security+ IAM questions
Practise SY0-701 questions linked to Security+ IAM questions.
Security+ risk management questions
Practise SY0-701 questions linked to Security+ risk management questions.
Security+ incident response questions
Practise SY0-701 questions linked to Security+ incident response questions.
Security+ malware questions
Practise SY0-701 questions linked to Security+ malware questions.
Security+ vulnerability management questions
Practise SY0-701 questions linked to Security+ vulnerability management questions.
Practice this exam
Start a free SY0-701 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 SY0-701 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: Place the API in a private subnet and expose it only through an internal load balancer or private endpoint. — Option A is correct because placing the API in a private subnet and exposing it only through an internal load balancer or private endpoint ensures that the service is reachable only by internal corporate applications, as traffic never traverses the public internet. This design leverages network segmentation and private IP addressing to enforce access control at the network layer, aligning with the requirement for internal-only reachability.
What should I do if I get this SY0-701 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: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 →
Last reviewed: Jun 11, 2026
This SY0-701 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 SY0-701 exam.
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.
Sign in to join the discussion.