hardmulti selectObjective-mapped

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.

Question 1hardmulti select
Full question →

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.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

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

Distractor review

Give each container a public IP and restrict access by source IP allowlist.

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

Best answer

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

Distractor review

Bake database passwords into the container image so deployment is simpler.

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

Distractor review

Assume the cloud provider's tenant isolation alone is enough to protect secrets from misuse.

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 trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SY0-701 question test?

CIDR notation defines the prefix length.

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. — The best design keeps the API private and uses a dedicated secret-management service. Private networking ensures the service is reachable only from approved internal systems, while the vault-based secret pattern keeps credentials out of images and prevents plaintext exposure during deployment. Combined, these controls address both access scope and secret protection without relying on weak compensating measures. Why others are wrong: Public IPs with allowlists still leave the service directly exposed and increase the attack surface. Baking passwords into images is insecure because images are copied and cached. Tenant isolation is important, but it does not replace application-level controls for secrets or internal-only access. The scenario needs intentional design, not assumptions about the cloud environment.

What should I do if I get this SY0-701 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.