CV0-002 · Question #596
A company is deploying a new public cloud, multi-tier application and needs to set ACL policies to grant permissions to the cloud provider's services on which the application depends. Each tier in…
The correct answer is A. Create four users and use their credentials in the application. For a multi-tier application requiring ACL policies for cloud services, creating distinct service identities for each tier offers the most efficient and secure way to manage permissions.
Question
A company is deploying a new public cloud, multi-tier application and needs to set ACL policies to grant permissions to the cloud provider's services on which the application depends. Each tier in the application depends on a number of services:
Which of the following is the MOST efficient, while providing a secure and functioning application?
Exhibit
Options
- ACreate four users and use their credentials in the application.
- BCreate a unique policy for each application tier.
- CCreate a policy for the application and grant access to A, B, and C.
- DCreate three policies, one for each unique dependency scenario.
How the community answered
(48 responses)- A75% (36)
- B15% (7)
- C4% (2)
- D6% (3)
Why each option
For a multi-tier application requiring ACL policies for cloud services, creating distinct service identities for each tier offers the most efficient and secure way to manage permissions.
Creating distinct "users" (interpreted as service accounts or IAM roles) for different application tiers or components enables the principle of least privilege, where each part of the application receives only the specific permissions required for its function. This approach enhances security and maintainability, as permissions can be scoped precisely to each component's dependencies without over-provisioning access.
Simply creating policies is insufficient; these policies must be attached to an identity (user, role, or group) that the application tier can assume to gain permissions, making this an incomplete solution.
Creating a single, broad policy for the entire application violates the principle of least privilege, granting unnecessary permissions to components that don't require them and thus increasing the security risk.
Similar to option B, creating policies alone is incomplete; they must be associated with specific identities that the application uses to interact with services to be effective.
Concept tested: Cloud IAM Principle of Least Privilege with Service Identities
Source: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege
Topics
Community Discussion
No community discussion yet for this question.
