
Ultimate access to all questions.
Your company is implementing a new microservices architecture on AWS, and you are responsible for setting up the necessary authentication mechanisms. You need to ensure that each microservice can access the required AWS resources securely. Which of the following steps should you take to achieve this?
A
Create a single IAM role with all necessary permissions and assign it to all microservices.
B
Create separate IAM roles for each microservice with the minimum required permissions, and assign them accordingly.
C
Use a single IAM user with all necessary permissions and share the credentials among all microservices.
D
Create a single IAM group with all necessary permissions and add all microservices to the group.