Certopolis

AWS Certified Generative AI Developer – Professional: study guide and free practice questions

The ideas the Generative AI Developer – Professional (AIP-C01) exam tests, one page each: what the Amazon Bedrock docs say, the traps the questions set, and real practice questions to try. Every page links to the AWS pages it was written from.

Topics

10 free practice questions

Drawn from every domain. Pick an answer to see why each option is right or wrong.

  1. A company hosts a fine-tuned LLM on an Amazon SageMaker AI real-time endpoint that extracts fields from contracts. The inference container reads each request body as JSON. By default, the container returns the extracted fields as JSON. Its output serializer can also return the fields as CSV rows when a request asks for text/csv output. A new reporting service sends one contract at a time and must receive each result as CSV within a few seconds, so that it can load the rows straight into spreadsheets. The company does not want to change the container or deploy another endpoint. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Foundation Model Integration, Data Management, and Compliance building.

    Not that one: A is right. In the game your Foundation Model Integration, Data Management, and Compliance building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The InvokeEndpoint reference defines ContentType as "The MIME type of the input data in the request body." and Accept as "The desired MIME type of the inference response from the model container." The request body is JSON and the reporting service wants CSV back, so ContentType is application/json and Accept is text/csv. The container already supports that output, so nothing is redeployed.

    Written from docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html

  2. A law firm reviews supplier contracts with a Claude model in Amazon Bedrock. An AWS Lambda function reads each contract PDF from Amazon S3 and sends it to the Converse API in a document content block, with a prompt that asks for a list of risky clauses. Most contracts are 40 to 80 pages long and are reviewed correctly. Requests for the longest contracts, which run from 150 to 300 pages, fail with a ValidationException. The firm must review every clause of each long contract and wants to keep the current model and prompt. Which solution will meet these requirements with the LEAST operational overhead?

    Right. In the game that’s Renown for your Implementation and Integration building.

    Not that one: B is right. In the game your Implementation and Integration building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Splitting each long contract into parts under 100 pages keeps the same model and prompt, and each part is reviewed in full. The Lambda function then joins the clause lists.

    Written from docs.aws.amazon.com/bedrock/latest/userguide/inference-api-restrictions.html

  3. A company is creating an Amazon Bedrock knowledge base that uses a Pinecone index as its vector store. Amazon Bedrock needs the Pinecone API key to write to and query the index. The security team requires that the API key never appear in plain text in code, templates, or resource configurations. The API key must also be replaced with a new Pinecone API key every 30 days without manual steps. Which combination of steps will meet these requirements? (Select TWO)

    Right. In the game that’s Renown for your AI Safety, Security, and Governance building.

    Not that one: B,D is right. In the game your AI Safety, Security, and Governance building would lose a little Renown, and this question would come back later.

  4. A company exposes an FAQ assistant through an Amazon API Gateway REST API. Its mobile app offers 300 suggested questions, and each question has a stable question ID. The app sends the chosen question in the JSON body of a POST request, and a Lambda function calls an Amazon Bedrock model to answer it. Most traffic repeats the same suggested questions. The company wants to stop invoking the model for a suggested question that was already answered in the last hour. The company can change the requests that the app sends. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Operational Efficiency and Optimization for GenAI Applications building.

    Not that one: B is right. In the game your Operational Efficiency and Optimization for GenAI Applications building would lose a little Renown, and this question would come back later.

  5. A financial services company is testing a refund agent that runs on Amazon Bedrock AgentCore Runtime and emits OpenTelemetry traces. In every refund session, the agent must call the verify_identity tool before it calls the issue_refund tool. The agent is also allowed to call lookup tools, such as get_order, at any point in the session. The company needs an automated evaluation that fails a session when the required tool order is broken. The evaluation must not fail a session because the agent made extra lookup calls. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Testing, Validation, and Troubleshooting building.

    Not that one: D is right. In the game your Testing, Validation, and Troubleshooting building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Supplying verify_identity then issue_refund as expectedTrajectory fails any session that refunds before verifying, and ignores get_order calls in between.

    Written from docs.aws.amazon.com/bedrock-agentcore/latest/devguide/ground-truth-evaluations.html

  6. A company's GenAI support assistant stores each conversation turn as an item in an Amazon DynamoDB table. The partition key is session_id, and the sort key is the time that the turn was written. Before each call to the FM, an AWS Lambda function queries the turns of the session and adds them to the prompt. A new privacy policy says that a turn must never be added to a prompt more than 24 hours after it was written. Old turns must be deleted from the table automatically without consuming write capacity, and the company does not want to run a scheduled deletion job. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Foundation Model Integration, Data Management, and Compliance building.

    Not that one: C is right. In the game your Foundation Model Integration, Data Management, and Compliance building would lose a little Renown, and this question would come back later.

  7. A company has 40 teams that build agents and MCP servers on Amazon Bedrock AgentCore Runtime. Teams often rebuild tools that already exist because they cannot find what other teams have published. The company wants one catalog of its agents, MCP servers, and tools. A platform team must approve each entry before other teams can discover it. Developers must be able to search the catalog by exact name or by a description of a task, and agents must be able to query the catalog through MCP. Which solution will meet these requirements with the LEAST operational overhead?

    Right. In the game that’s Renown for your Implementation and Integration building.

    Not that one: D is right. In the game your Implementation and Integration building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    It lets teams publish MCP servers, tools and agents, "control access through an approval workflow, and enable both human users and AI agents to discover the right tools and agents through hybrid search, catalog browsing, and a native MCP endpoint."

    Written from docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry.html

  8. A bank customizes an Amazon Nova model by running an Amazon Bedrock model customization job. The training data is in an Amazon S3 bucket in the same AWS Region. The security team requires the job's traffic to the data to flow through the bank's VPC so that the team can monitor it with VPC Flow Logs. The VPC's private subnets have no route to the internet, and the team will not add one. The job must read the training data from Amazon S3 and write the model artifacts to Amazon S3. Which combination of steps will meet these requirements? (Select TWO)

    Right. In the game that’s Renown for your AI Safety, Security, and Governance building.

    Not that one: B,E is right. In the game your AI Safety, Security, and Governance building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The customization security page (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-model-job-access-security.html) says "When you submit a CreateModelCustomizationJob request, you can include a VpcConfig as a request parameter to specify the VPC subnets and security groups to use". The Amazon S3 page (https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-s3.html) adds: "If you configure your VPC with no internet access, you need to create an Amazon S3 VPC endpoint to allow your model customization jobs to access the S3 buckets that store your training and validation data and that will store the model artifacts."

    Written from docs.aws.amazon.com/bedrock/latest/userguide/vpc-s3.html

  9. A company runs a GenAI support assistant that writes application logs to an Amazon CloudWatch Logs log group. The logs contain INFO and ERROR lines for model calls, tool calls, and response parsing. After earlier prompt changes, new kinds of error messages appeared and some existing messages suddenly became much more frequent. The team noticed each problem days later. The log group must be monitored continuously so that new or unusually frequent log patterns are flagged automatically. An alarm must notify the on-call engineer. The team does not want to define each error message in advance. Which solution will meet these requirements with the LEAST operational overhead?

    Right. In the game that’s Renown for your Operational Efficiency and Optimization for GenAI Applications building.

    Not that one: C is right. In the game your Operational Efficiency and Optimization for GenAI Applications building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The same chapter covers how to "create alarms for log anomaly detectors", which gives the on-call notification.

    Written from docs.aws.amazon.com/AmazonCloudWatch/latest/logs/LogsAnomalyDetection.html

  10. A company runs GenAI applications in five workload accounts in AWS Organizations. All the applications call Amazon Bedrock in the us-east-1 Region. The operations team works in a separate central account. The team needs one view of the Invocations, InvocationLatency, and InvocationThrottles metrics of all five accounts, with graphs that compare the accounts. The team must also create alarms on these metrics from the central account. The team does not want to copy metric data between accounts. Which solution will meet these requirements with the LEAST operational overhead?

    Right. In the game that’s Renown for your Testing, Validation, and Troubleshooting building.

    Not that one: D is right. In the game your Testing, Validation, and Troubleshooting building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The dashboards page (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html) says that with it you can "Search, view, and create graphs of metrics that reside in source accounts. A single graph can include metrics from multiple accounts." and "Create alarms in the monitoring account that watch metrics in source accounts." Linking the five workload accounts as source accounts gives one dashboard that compares them, with alarms in the central account and no copied data.

    Written from docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html