EMR Runtime Roles for Scoped Access and IMDSv2
Short answer
B Create EMR runtime roles and configure the cluster to use them to submit workloads.
Question
Key Takeaways
The exam traps candidates into choosing instance profiles or VPC endpoints, but only EMR runtime roles allow granular per-job permissions and explicitly bypass EC2 metadata service access.
This question tests the use of Amazon EMR runtime roles to enforce least-privilege access for big data workloads while disabling Instance Metadata Service (IMDS) access on underlying EC2 instances.
Common mistake: Candidates often select option C (EC2 IAM instance profile) because it is the standard way to grant permissions to EC2 instances, failing to realize that instance profiles rely on IMDS and cannot be scoped per job.
Expert Analysis
Why the Answer Is Correct
Option B is correct because EMR runtime roles are specifically designed to provide fine-grained, step-level IAM permissions. According to AWS documentation, when a runtime role is specified for an EMR step, the jobs run with that role's permissions and "can't access the Instance Metadata Service on the EC2 instances of the cluster." This perfectly satisfies both requirements: scoped access per team/job and no IMDSv2 access.
Why the Other Options Are Wrong
Option A (Interface VPC Endpoints) restricts network traffic but does not control IAM permissions; workloads would still have broad IAM access via the instance profile. Option C (EC2 IAM instance profile) grants permissions to the entire node, not individual teams, and inherently requires access to the Instance Metadata Service to retrieve credentials, violating the security requirement. Option D (Security Configuration with EnableApplicationScopedIAMRole false) disables the feature that allows application-scoped roles, reverting to node-level permissions which is the opposite of the desired outcome.
Community Comment Notes
The community consensus strongly supports Option B. One user noted that runtime roles resolve the issue where all jobs share union permissions by allowing specific IAM roles per step. Another comment highlighted that while EC2 mandates IMDSv2, EMR runtime roles allow access to resources without using the instance metadata service at all.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When questions mention 'multiple teams' sharing a cluster and needing distinct permissions, look for 'runtime roles' or 'step-level roles'. If the question also prohibits IMDS access, runtime roles are the definitive solution as they decouple credentials from the EC2 instance metadata.
Frequently Asked Questions
Why can't I use EC2 Instance Profiles for this scenario?
Does enabling IMDSv2 solve the metadata access issue?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
[Removed] 👍 3 Answered BExplanation: EMR Runtime Roles: By creating EMR runtime roles, you can assign specific IAM roles to individual EMR jobs or steps. Each role can have fine-grained permissions, allowing you to restrict access to only the AWS services each team needs. This provides a highly controlled environment where each team's workload operates under the principle of least privilege. IMDSv2 Access: When using runtime roles, you do not rely on the EC2 instance profile for service access, thereby minimizing the need for the workloads to access the Instance Metadata Service. This can help in reducing the risk of unauthorized access to IMDSv2.
-
FlyingHawk 👍 2 Answered BWhen you specify a runtime role for an Amazon EMR step, the jobs or queries that you submit can only access AWS resources that the policies attached to the runtime role allow. These jobs and queries can't access the Instance Metadata Service on the EC2 instances of the cluster or use the EC2 instance profile of the cluster to access any AWS resources. https://aws.amazon.com/blogs/big-data/introducing-runtime-roles-for-amazon-emr-steps-use-iam-roles-and-aws-lake-formation-for-access-control-with-amazon-emr/ https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-steps-runtime-roles.html
-
martinadurcakova1 👍 2 Answered BB. Creating EMR runtime roles and configuring the cluster to use them is the correct solution. EMR runtime roles allow you to grant specific permissions to the big data workloads, ensuring that each team's workloads can only access the required AWS services. Additionally, the runtime roles can be configured to disable access to IMDSv2, meeting the requirement.
-
dhewa 👍 2 Answered BThis approach avoids the need for workloads to access the Instance Metadata Service (IMDSv2) on the underlying EC2 instances, as the permissions are managed through the runtime roles.
-
EllenLiu 👍 1 Answered Bruntime role is used to resolve the issue that there is only union permissions for all jobs and queries we can use. just like it mentions, for ec2, IMDSv2 is mandatory, however we can use runtime role to access instance metadata on ec2 avoid using IMDSv2
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →