SY0-701 practice question · Security Architecture
A retailer has split its monolithic web application into microservices. Each service runs under its own workload…
A retailer has split its monolithic web application into microservices. Each service runs under its own workload identity and stores its data in a private data store that only that service can reach. An attacker exploits a flaw in the product-review service and gains code execution in it. Which design characteristic most limits the attacker's ability to reach payment data?
- AThe review service's identity is scoped only to its own data store
- BServices interact only through published APIs that hide implementation
- CEach service can be redeployed independently without rebuilding the app
- DAn API gateway authenticates all client requests entering the application
Show the answer and explanation
Correct answer: A) The review service's identity is scoped only to its own data store
Microservices contain a compromise when each service runs with least-privilege permissions and owns its own data, so a breached service can't reach other services' data. API design, independent deployment, and gateway authentication don't provide that isolation.
Why each option is right or wrong
- A) Correct. Because each service has least-privilege access and private ownership of its data, the compromised review service has no rights to the payment service's data. That limits the blast radius.
- B) Incorrect. Well-defined APIs reduce coupling, but they are still callable. Hiding the implementation doesn't stop a compromised service from sending requests to other services.
- C) Incorrect. Independent deployment speeds up patching and releases. It doesn't limit what an attacker can access while the service is compromised.
- D) Incorrect. The gateway protects inbound client (north-south) traffic. The attacker is already running inside a service, so the attack moves service to service (east-west) and the gateway doesn't stop it.
- Exam domain
- Security Architecture · 18% of SY0-701
- Question type
- Multiple choice (one answer)
Related SY0-701 questions
- Public-facing web and mail servers must be reachable from the internet but must not sit on the same network as internal…Security Architecture
- A payment system must store a reference to a card number so it can issue refunds, but the stored value must be useless…Security Architecture
- An organization wants to retire both its MPLS backhaul from branch offices and its remote-access VPN.Security Architecture
- Two data centers run the same application; both actively serve user traffic simultaneously and share load.Security Architecture
All 65 free SY0-701 questions by domain · 15 sample questions on one page
Practise the full SY0-701 exam
This question is one of a small free sample from the CertRidge SY0-701 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.
Worth reading: Security+ passing score (750/900), 750 on a 100–900 scale for SY0-701, SY0-801 and the retired SY0-601, and why it isn't 83%.