AWS Certified AI Practitioner AIF-C01 Practice Question
A data science team wants its Amazon SageMaker notebook instance to read training data from an Amazon S3 bucket without storing long-term access keys on the instance. Which IAM feature should they configure to grant the notebook the required permissions?
Generate access keys for an IAM user and store them on the notebook instance.
Attach a resource-based policy directly to the S3 bucket granting public read access.
Create an IAM role and attach a policy that allows the notebook to assume the role for S3 access.
Add the notebook instance to an IAM group that has read access to the S3 bucket.
An IAM role provides temporary security credentials that a trusted AWS service such as an Amazon SageMaker notebook instance can assume. When the notebook assumes the role, it obtains short-lived permissions to access the specified S3 bucket, eliminating the need to embed or manage permanent access keys on the instance. An IAM group does not supply credentials to a service, an IAM user's access keys would reintroduce long-term credentials, and an S3 bucket policy alone cannot supply temporary credentials to the notebook.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an IAM role and how does it work in AWS?
Open an interactive chat with Bash
Why are temporary security credentials better than long-term access keys?
Open an interactive chat with Bash
How does an Amazon SageMaker notebook instance assume an IAM role?
Open an interactive chat with Bash
What is an IAM role and how does it differ from IAM groups or users?
Open an interactive chat with Bash
How does Amazon SageMaker use an IAM role to access an S3 bucket?
Open an interactive chat with Bash
What are the advantages of using temporary security credentials provided by IAM roles?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Security, Compliance, and Governance for AI Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .