AWS Certified Generative AI Developer – Professional
AIP-C01
The AWS Certified Generative AI Developer – Professional (AIP-C01) exam tests your ability to build and deploy generative AI applications on AWS. It is designed for developers specializing in AI technologies.
What happens when an IAM policy allows all actions on a resource but is denied at the organization level?
AThe action is permitted.
BAccess is fully denied.
CAccess is granted temporarily.
DAccess is logged and reviewed.
Explanation
IAM policies are subject to explicit deny from organizational level policies, overriding any allow permissions.
Q382
Which service is best for hosting a machine learning model in production?
AAmazon SageMaker
BAmazon EC2
CAWS Lambda
DAmazon EKS
Explanation
Amazon SageMaker provides optimized tools for deploying ML models, while EC2, Lambda, and EKS focus on different workloads.
Q383
You are configuring AWS IAM roles for an application. Which permission allows users to assume a role?
Asts:AssumeRole
Biam:PassRole
Ciam:AttachRolePolicy
Dcloudwatch:PutMetric
Explanation
The sts:AssumeRole permission specifically enables role assumption, while the others relate to role management and permissions.
Q384
What happens when you don't set an expiration for an S3 pre-signed URL?
AIt expires immediately
BIt lasts indefinitely
CIt defaults to 1 hour
DIt expires in 24 hours
Explanation
A pre-signed URL without an expiration never expires unless explicitly revoked, while the others suggest arbitrary limits.
Q385
A company needs to quickly deploy machine learning models. Which AWS service is best suited for this task?
AAmazon SageMaker
BAWS Glue
CAmazon RDS
DAWS CloudFormation
Explanation
Amazon SageMaker is designed for quickly building and deploying machine learning models, while the others serve different purposes.
Q386
You are configuring a serverless architecture for a real-time data processing application. What is the best way to handle the incoming stream of events?
AAWS Step Functions
BAmazon Kinesis
CAWS EC2
DAmazon S3
Explanation
Amazon Kinesis is specifically designed for real-time data streaming, unlike the other options.
Q387
What happens when an IAM user is deleted, but attached policies are still in use by other users?
APolicies become inactive
BPolicies remain active
CAll users lose access
DPolicies are deleted automatically
Explanation
Attached policies remain active and in use by other users even after their owner IAM user is deleted.
Q388
Which service enables serverless event-driven architecture?
AAWS Lambda
BAmazon EC2
CAmazon S3
DAmazon RDS
Explanation
AWS Lambda allows executing code in response to events, while EC2, S3, and RDS require more management.
Q389
A company needs to securely share documents externally using AWS. Which service should they use?
AAmazon S3
BAWS Transfer Family
CAWS Secrets Manager
DAmazon CloudFront
Explanation
Amazon S3 allows sharing documents securely with pre-signed URLs, while the others are not primarily for document sharing.
Q390
What happens when you set a higher memory allocation for an AWS Lambda function?
AIncreased execution duration
BHigher concurrency limit
CImproved performance and cost
DReduced timeout limits
Explanation
Higher memory allocation also increases CPU power, leading to better performance, although it may raise costs.