Amazon AWS

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.

498 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 381–390 of 498

Q381

What happens when an IAM policy allows all actions on a resource but is denied at the organization level?

  • A The action is permitted.
  • B Access is fully denied.
  • C Access is granted temporarily.
  • D Access 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?

  • A Amazon SageMaker
  • B Amazon EC2
  • C AWS Lambda
  • D Amazon 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?

  • A sts:AssumeRole
  • B iam:PassRole
  • C iam:AttachRolePolicy
  • D cloudwatch: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?

  • A It expires immediately
  • B It lasts indefinitely
  • C It defaults to 1 hour
  • D It 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?

  • A Amazon SageMaker
  • B AWS Glue
  • C Amazon RDS
  • D AWS 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?

  • A AWS Step Functions
  • B Amazon Kinesis
  • C AWS EC2
  • D Amazon 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?

  • A Policies become inactive
  • B Policies remain active
  • C All users lose access
  • D Policies 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?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D Amazon 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?

  • A Amazon S3
  • B AWS Transfer Family
  • C AWS Secrets Manager
  • D Amazon 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?

  • A Increased execution duration
  • B Higher concurrency limit
  • C Improved performance and cost
  • D Reduced timeout limits
Explanation Higher memory allocation also increases CPU power, leading to better performance, although it may raise costs.