Course menuAIP-C01

Exams / AIP-C01 / Building GenAI front ends and business integrations (Amplify, OpenAPI, Bedrock Data Automation) / Question 1

AIP-C01 practice question: Building GenAI front ends and business integrations (Amplify, OpenAPI, Bedrock Data Automation)

Implementation and Integration A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A regional credit union wants a chat assistant for its branch staff. The assistant answers questions from the union's policy handbook, and staff sign in with their work accounts. Replies should appear as they are written, and each employee should see only their own past conversations.

The union's IT team has two developers who know React well but have no designer and have never built a streaming chat backend. They need a working version within about two weeks, and the backend should call models on Amazon Bedrock.

Which approach meets these requirements with the LEAST development effort?

Choose one answer.

  1. A. Build the chat interface from scratch in React, with a custom WebSocket server on Amazon EC2 for streaming, and store each employee's history in a self-managed database.
  2. B. Build a Streamlit application that runs on an EC2 instance behind an Application Load Balancer, with a login page the team writes itself and a local file for each user's history.
  3. C. Publish a static HTML page that calls one Lambda function, which returns each answer from Amazon Bedrock, with no conversation history so that the page stays simple.
  4. D. Create an Amplify Gen 2 app with the Amplify AI kit, using its prebuilt React chat component, per-user conversation history and sign-in in one project.
Show the answer and explanation

Answer: D

  • A. Wrong: A custom interface, server and database would take far longer than two weeks for two developers. Each part is also one more component to secure and maintain.
  • B. Wrong: Streamlit gives a quick interface, but the team must write its own sign-in and manage the instance and history files. Local files are also awkward to keep safe for each employee.
  • C. Wrong: A static page with one call is quick to publish, but the union needs history and streaming, which this design leaves out. Staff would also lose their earlier questions when the page reloads.
  • D. Right: The AI kit supplies a React chat component, streaming responses from Amazon Bedrock and conversation history stored for each signed-in user, so the developers write little UI or backend code. Sign-in is part of the same Amplify project, which keeps the work within two weeks. Learn more: Amplify AI kit (opens in a new tab)

Explanation

The Amplify AI kit provides a React chat component, streaming responses from Amazon Bedrock and per-user conversation history, and Amplify Gen 2 adds sign-in in the same project. That gives the two developers a working assistant in about two weeks. Custom front ends, a self-written sign-in and a stateless page each take longer or miss a stated requirement.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Building GenAI front ends and business integrations (Amplify, OpenAPI, Bedrock Data Automation)? The 5 full-length practice sets have 5 more Building GenAI front ends and business integrations (Amplify, OpenAPI, Bedrock Data Automation) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets