Question 1
Topic: Common SOA Security Practices and Service Security Controls
Skill tested: Select layered service controls that enforce least privilege and limit exposure.
A logistics company exposes shipment-status services to several business partners. Partners use different applications, but all requests reach a shared service endpoint through an API gateway. A security review finds that the gateway authenticates callers, while the service itself trusts any request that arrives from the gateway network. The company needs partner-specific permissions and must reduce the effect of a compromised gateway. It cannot create and maintain a separate service implementation for each partner. Which design best addresses these requirements?
The service should enforce authorization using a trustworthy caller identity or security context, applying partner-specific least-privilege rules. Retaining gateway authentication and policy checks creates defense in depth, while service-side enforcement reduces reliance on the gateway network boundary. A trusts a network location rather than the caller and leaves the service exposed if the gateway is compromised. C provides neither partner-specific permissions nor good accountability. D protects confidentiality in transit but does not decide which authenticated principal may perform an operation.