Amazon

AIP-C01 practice question 8

AWS Certified Generative AI Developer - Professional (AIP-C01) · free question 8 of 20

Question

A company runs a generative AI (GenAI)-powered summarization application in an application AWS account that uses Amazon Bedrock. The application architecture includes an Amazon API Gateway REST API that forwards requests to AWS Lambda functions that are attached to private VPC subnets. The application summarizes sensitive customer records that the company stores in a governed data lake in a centralized data storage account. The company has enabled Amazon S3, Amazon Athena, and AWS Glue in the data storage account. The company must ensure that calls that the application makes to Amazon Bedrock use only private connectivity between the company's application VPC and Amazon Bedrock. The company's data lake must provide fine-grained column-level access across the company's AWS accounts. Which solution will meet these requirements?
  • A. In the application account, create interface VPC endpoints for Amazon Bedrock runtimes. Run Lambda functions in private subnets. Use IAM conditions on inference and data-plane policies to allow calls only to approved endpoints and roles. In the data storage account, use AWS Lake Formation LF-tag-based access control to create table and column-level cross-account grants. Correct
  • B. Run Lambda functions in private subnets. Configure a NAT gateway to provide access to Amazon Bedrock and the data lake. Use S3 bucket policies and ACLs to manage permissions. Export AWS CloudTrail logs to Amazon S3 to perform weekly reviews.
  • C. Create a gateway endpoint only for Amazon S3 in the application account. Invoke Amazon Bedrock through public endpoints. Use database-level grants in AWS Lake Formation to manage data access. Stream AWS CloudTrail logs to Amazon CloudWatch Logs. Do not set up metric filters or alarms.
  • D. Use VPC endpoints to provide access to Amazon Bedrock and Amazon S3 in the application account. Use only IAM path-based policies to manage data lake access. Send AWS CloudTrail logs to Amazon CloudWatch Logs. Periodically create dashboards and allow public fallback for cross-Region reads to reduce setup time.

Explanation

Option A is correct because it specifies the creation of interface VPC endpoints for Amazon Bedrock runtimes, ensuring private connectivity between the application's VPC and Amazon Bedrock. It also mentions using IAM conditions on inference and data-plane policies to restrict calls only to approved endpoints and roles, which enforces security. Additionally, AWS Lake Formation LF-tag-based access control is used in the data storage account for fine-grained column-level access across accounts.

Need the theory? Learn it free in the AIP-C01 course on Godlike Academy

Practice the whole free set

Answer all 20 free AIP-C01 questions with instant feedback, or unlock all 97 questions with Learn and Exam modes.