AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 263

A developer is creating a proof of concept for a new software as a service (SaaS) application. The application is in a shared development AWS account that is part of an organization in AWS Organizations.

The developer needs to create service-linked IAM roles for the AWS services that are being considered for the proof of concept. The solution needs to give the developer the ability to create and configure the service-linked roles only.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows the developer to create the necessary service-linked IAM roles while also applying a permissions boundary to control what actions can be performed. Option A is incorrect as it involves cross-account roles which do not fulfill the requirement of allowing the developer to create roles directly. Option B is not suitable because it grants broader permissions than needed, and option C restricts access entirely, preventing the developer from creating roles.