<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mina Yuan on Medium]]></title>
        <description><![CDATA[Stories by Mina Yuan on Medium]]></description>
        <link>https://medium.com/@minayuan?source=rss-0e14fea371ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BRcNxTTZHhArNk_A6I9VNw@2x.jpeg</url>
            <title>Stories by Mina Yuan on Medium</title>
            <link>https://medium.com/@minayuan?source=rss-0e14fea371ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:37:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@minayuan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build a Story App on Amazon Bedrock: Hands-On with InvokeModel API]]></title>
            <link>https://medium.com/insights-generativeai/build-a-story-app-on-amazon-bedrock-hands-on-with-invokemodel-api-849affa9273b?source=rss-0e14fea371ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/849affa9273b</guid>
            <category><![CDATA[amazon-bedrock]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Mina Yuan]]></dc:creator>
            <pubDate>Wed, 05 Mar 2025 16:35:46 GMT</pubDate>
            <atom:updated>2025-03-12T06:25:26.035Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4IDfgOqBMwM4XMIkGFZMhw.png" /></figure><blockquote>TL;DR: We’ll walk through Amazon Bedrock’s <strong>Model Serving</strong> features, focusing on <strong>InvokeModel API</strong> with a hands-on case study. You’ll learn <strong>why, when, and how</strong> to integrate model serving into your AI app. Full implementation is available in<strong> </strong><a href="https://github.com/MINAYUAN/GenerativeAI/blob/35b13e9424a7b36ea86f1280c333b301979bafc7/blog_invokemodel_bedtime_story_app.ipynb"><strong>Jupyter Notebook</strong></a><strong> on Github.</strong></blockquote><p><strong>Prerequisite:</strong> This post is part of <a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477"><strong><em>The Easiest Technical Guide for Amazon Bedrock</em></strong></a><strong><em> </em></strong>series by <a href="https://medium.com/insights-generativeai"><strong>AI Product Lab</strong></a>. Start with <a href="#"><strong>the </strong></a><a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477"><strong>first post</strong></a> for an intro to Bedrock and its four domains (Bookmark it as a table of content) We publish hands-on guides every two weeks (or so) — follow along <a href="https://medium.com/insights-generativeai"><strong>AI Product Lab</strong></a><strong> here and on </strong><a href="https://www.linkedin.com/company/aiproductlab/?lipi=urn%3Ali%3Apage%3Ad_flagship3_detail_base%3BZbwKM1A3Rl63QrxX4p5DRQ%3D%3D"><strong>LinkedIn</strong></a> with <a href="https://medium.com/u/d3334fe0037e?source=post_page---user_mention--d73cea98d477--------------------------------"><strong>Gary Lu</strong></a><strong>, </strong><a href="https://medium.com/u/c298a9db6ea?source=post_page---user_mention--d73cea98d477--------------------------------"><strong>Vipul Munot</strong></a>, and <a href="https://medium.com/u/0e14fea371ff?source=post_page---user_mention--d73cea98d477--------------------------------"><strong>Mina Yuan</strong></a><strong>!</strong> 👋</p><h3>What is Model Serving?</h3><p>Model serving makes foundation models <strong>scalable and accessible</strong> for your applications, handling inference requests like content generation. Think of it as the <strong>AI engine behind your app</strong>, ensuring models run efficiently without you managing infrastructure.</p><p>On Amazon Bedrock, foundation models come in two types:</p><ul><li><strong>Pre-built models:</strong> Ready-to-use, high-quality models from providers like <strong>Amazon Nova, Anthropic Claude, and Meta Llama</strong>.</li><li><strong>Fine-tuned models:</strong> Custom versions of pre-built models, <strong>trained on your own data</strong> for specific needs. Fine-tuning adds flexibility but requires extra time and effort.</li></ul><h4>Why do we need Model Serving?</h4><p>AI applications need <strong>scalable, efficient, and accessible</strong> access to models — <strong>without being tied to specific databases or infrastructure</strong>. Model serving lets you focus on building AI experiences instead of managing inference pipelines.</p><h4>How do we serve models on Amazon Bedrock?</h4><p>Bedrock offers two flexible options for serving foundation models:</p><ul><li><strong>On-demand Inference:</strong> Use the <strong>InvokeModel</strong> API to invoke models for <strong>immediate, real-time processing</strong> of individual queries. Ideal for tasks like instant chat or instant content generation.</li><li><strong>Batch Inference:</strong> Use the <strong>CreateModelInvocationJob</strong> API for <strong>multiple records</strong> at once, with <strong>no strict time constraints</strong>, as Bedrock process jobs First-in-First-out. Ideal for tasks like content generation or sentiment classification that are defined, recurring and many records at once.</li></ul><h4><strong>Model serving is stateless by default</strong></h4><p>By default, both on-demand and batch inference in Amazon Bedrock are <strong>stateless</strong> — meaning models do <strong>not</strong> retain memory between requests. For example, with the on-demand <strong>InvokeModel</strong> API, you’re invoking the model for a single, real-time query, and the model doesn’t remember previous queries. Similarly, batch jobs using the <strong>CreateModelInvocationJob</strong> API process multiple records but don’t keep track of history between jobs.</p><p>If you need <strong>stateful</strong> interactions — such as context, or conversation history — you can orchestrate these APIs using other Bedrock features like <strong>Bedrock Flow, Bedrock Agent, and Bedrock Prompt Caching, </strong>to add structure and maintain context across different steps. Alternatively, you can write custom workflows in <strong>Amazon Step Functions</strong>.</p><p><strong>Important:</strong> Orchestration enables stateful interactions, but <strong>it doesn’t mean your app automatically has memory or needs memory</strong>. Bedrock offers in-session and multi-session memory storage with time limits in Agents, so for long-term memory, you’ll need external solutions.</p><p>🔖 <a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477"><strong>Bookmark this series</strong></a><strong>!</strong> In future posts, we’ll dive into <strong>stateful orchestration with Bedrock Flow and Bedrock Agents</strong>.</p><h3>Building a Bedtime Story App with InvokeModel API: A Case Study</h3><p>In this case study, we will walk through how Jessie 👷‍♀️, a developer, uses Amazon Bedrock’s <strong>InvokeModel API</strong> to create a simple AI-powered bedtime story app. This app generates fresh stories each time a child asks for one, ensuring that each request is independent of previous ones. We’ll cover Bedrock’s Batch Inference in a future post in the <a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477">series</a>.</p><h4>Code Repository</h4><p>Feel free to explore the full implementation in <a href="https://github.com/MINAYUAN/GenerativeAI/blob/35b13e9424a7b36ea86f1280c333b301979bafc7/blog_invokemodel_bedtime_story_app.ipynb">Jupyter Notebook</a> available on Github:</p><p><a href="https://github.com/MINAYUAN/GenerativeAI/blob/35b13e9424a7b36ea86f1280c333b301979bafc7/blog_invokemodel_bedtime_story_app.ipynb">GenerativeAI/blog_invokemodel_bedtime_story_app.ipynb at 35b13e9424a7b36ea86f1280c333b301979bafc7 · MINAYUAN/GenerativeAI</a></p><h4>The Scenario</h4><p>Jessie is building an app that generates bedtime stories for kids. Every time a child asks for a story, the app responds with a new tale but <strong>doesn’t need to retain any memory of previous requests</strong>. This is an example of using <strong>stateless</strong> functionality, where each request is processed in isolation. This app is also perfect for <strong>on-demand model serving</strong>, where the model responds immediately without needing to store past interactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RrBv1Z9gFVYFVwaS.jpg" /><figcaption>Source: <a href="https://www.atlantamagazine.com/author/mwells/">https://www.atlantamagazine.com/author/mwells/</a></figcaption></figure><h4>The Workflow</h4><p>Here’s how the app works on a high level:</p><ol><li><strong>User Request</strong>: The user (a child) asks for a bedtime story, such as “<em>Tell me a bunny-related bedtime story.</em>”</li><li><strong>Story Generation</strong>: The request is passed to the tell_bedtime_story function, where it is processed using the <strong>InvokeModel</strong> API. The model generates a fresh bedtime story based on the request.</li><li><strong>Story Response</strong>: The generated story is returned and shared with the user: “<em>Once upon a time, in a cozy little meadow surrounded by tall grass and colorful wildflowers, there lived a small, fluffy bunny named Hopsy. Hopsy had soft white fur and long, floppy ears that wiggled when she hopped…</em>”</li></ol><h4>Steps to Get Started</h4><ol><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html"><strong>Choose a Pre-built Model</strong></a><strong>:</strong> Jessie begins by researching and selecting a pre-built text-generative model suitable for creating creative bedtime stories. She finds a model ID in Amazon Bedrock, which she can use to generate responses.</li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html#getting-started-model-access"><strong>Grant Model Access</strong></a><strong>:</strong> Jessie then grants the necessary access to the model through the <strong>AWS Bedrock Console</strong>.</li><li><strong>Set Up AWS Boto3:</strong> Jessie installs and import the <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/index.html#"><strong>Boto3</strong></a> library in her Jupyter notebook. This is an AWS SDK for Python that allows interaction with AWS services, including Bedrock.</li><li><strong>Create a Template for the Bedtime Story: (Optional)</strong> Jessie can optionally create a <strong>prompt template</strong> or/and <strong>system prompt </strong>to guide the story generation process. The template can include details like characters, settings, or themes, helping the model generate more personalized and engaging stories.</li><li><strong>Write the Story Generation Function:</strong> Jessie writes a function, tell_bedtime_story, which accepts a user&#39;s request and passes it to the <strong>InvokeModel</strong> API to get the generated story. The function communicates with Amazon Bedrock&#39;s runtime and processes the request independently each time:</li></ol><pre>def tell_bedtime_story(prompt_template=&quot;&quot;, prompt_system=&quot;&quot;, modelid=&#39;anthropic.claude-3-5-sonnet-20240620-v1:0&#39;, max_tokens=1000, temperature=0.5):<br>    &quot;&quot;&quot;<br>    Generates a bedtime story using Claude API.<br>    <br>    Args:<br>        prompt_template (str, optional): Template for the story prompt. Defaults to &quot;&quot;<br>        prompt_system (str, optional): System message. Defaults to &quot;&quot;<br>        modelid (str, optional): Claude model ID. Defaults to &#39;anthropic.claude-3-5-sonnet-20240620-v1:0&#39;<br>        max_tokens (int, optional): Maximum tokens in response. Defaults to 1000<br>        temperature (float, optional): Temperature for response randomness. Defaults to 0.5<br>    <br>    Returns:<br>        str: Generated story text<br>    &quot;&quot;&quot;<br>    try:<br>        # Get user input<br>        user_request = input()<br>        logger.info(&#39;generating text&#39;)<br>        <br>        # Initialize Bedrock client<br>        bedrock_client = boto3.client(service_name=&#39;bedrock-runtime&#39;)<br>        accept = &#39;application/json&#39;<br>        contentType = &#39;application/json&#39;<br>        <br>        # Format request body using message API format<br>        body = format_body_claude_message_api(rsystem=prompt_system, <br>                                            rprompt_template=prompt_template, <br>                                            ruser_request=user_request, <br>                                            rmax_tokens=max_tokens, <br>                                            rtemperature=temperature)<br>        <br>        # Make API call and process response<br>        response = bedrock_client.invoke_model(body=json.dumps(body), <br>                                             contentType=contentType, <br>                                             accept=accept, <br>                                             modelId=modelid)<br>        response_body = json.loads(response.get(&#39;body&#39;).read())<br>        text = response_body.get(&#39;content&#39;)[0][&#39;text&#39;]<br>        <br>        logger.info(&#39;completed text generation&#39;)<br>        print(text)<br>        return text<br>        <br>    except Exception as e:<br>        logger.error(f&quot;Meet error {e} when generatig text&quot;)<br>        logger.exception(e)</pre><pre>story = tell_bedtime_story(prompt_template = prompt_template, prompt_system = prompt_system)</pre><h4>Function Parameters</h4><p>The tell_bedtime_story function takes several parameters that control how the model generates stories. <strong>It will ask the user for their story request directly</strong>, meaning a window will pop up for them to type what kind of bedtime story they want. Because of this, you <strong>don’t need to pass the request as a parameter</strong> — the function will collect it interactively.</p><p>These parameters help customize the story output:</p><ul><li><strong>prompt_template (str)</strong>: (Optional) This is a template for the story prompt. It allows Jessie to define a structure or style for the story, such as a particular type of story (e.g., adventure, fairy tale).</li><li><strong>prompt_system (str)</strong>: (Optional) This is a system message that can be used to guide the AI model&#39;s behavior, like setting a tone or style of writing (e.g., friendly, formal).</li><li><strong>modelid (str)</strong>: This is the ID of the pre-built model used for generating the story. Jessie can choose different models based on the complexity and creativity required. For example, a model like anthropic.claude-3-5-sonnet-20240620-v1:0 might be chosen for its creativity in generating literary content.</li><li><strong>max_tokens (int)</strong>: This defines the maximum length of the response generated by the model, in terms of tokens. A token is a piece of a word or a full word, depending on the language and context. For example, setting max_tokens=1000 means the generated story will be up to 1000 tokens in length.</li><li><strong>temperature (float)</strong>: The temperature controls the creativity of the response. A value between 0 and 1 is used, with higher values (e.g., 0.7) making the response more creative and random, while lower values (e.g., 0.3) make it more deterministic and structured.</li></ul><h4>Model Formats</h4><p>When calling a foundation model with InvokeModel, you need to use the right request format based on the model and its provider. Since we&#39;re using an <strong>Anthropic Claude model</strong>, pay attention to the format!</p><ol><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-anthropic-claude-messages.html"><strong>Message Format</strong></a><strong> (For Newer Claude Models): </strong>Used in the format_body_claude_message_apifunction when calling newer models like Claude 3 Sonnet, Opus, and Haiku. Supports conversation-style responses for better storytelling</li></ol><p>2.<strong> </strong><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-anthropic-claude-text-completion.html"><strong>Text Completion Format</strong></a><strong> (Simpler, For Older Claude Models): </strong>Used in the format_body_claude_text_completion_api function when working with older models like Claude 2 and 2.1. Best for simpler, single-turn responses.</p><p>For this bedtime story app, we’re using the <strong>Message format</strong> because it works best with newer models. However, you can switch to Text Completion if needed — just make sure the model supports it!</p><h4>Final Thoughts</h4><p>By using <strong>Amazon Bedrock’s InvokeModel API</strong>, Jessie built an application where users (children) can request fresh, unique bedtime stories. The app remains <strong>stateless</strong>, meaning it doesn’t track past stories or requests. The result is a scalable, efficient AI-driven service with minimal infrastructure overhead.</p><h3>Ready to Build with Amazon Bedrock?</h3><p>🔖 <strong>Follow </strong><a href="https://medium.com/insights-generativeai"><strong>AI Product Lab</strong></a><strong> here and on </strong><a href="https://www.linkedin.com/company/aiproductlab/?lipi=urn%3Ali%3Apage%3Ad_flagship3_detail_base%3BZbwKM1A3Rl63QrxX4p5DRQ%3D%3D"><strong>LinkedIn</strong></a><strong> for more updates. and bookmark </strong><a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477"><strong><em>The Easiest Technical Guide for Amazon Bedrock</em></strong></a><strong><em> </em></strong>series to stay updated. We create new post <strong>every two weeks </strong>(or so), walking you through examples as we go. <a href="https://aws.amazon.com/bedrock/">Get Started with Amazon Bedrock here!</a></p><p><strong>Prerequisite: </strong>Before Jessie starts coding, she should</p><ol><li><a href="https://aws.amazon.com/resources/create-account/">Create a free tier AWS account</a>.</li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/gs-setup-working-env.html">Create an Amazon Sagemaker Jupyter notebook instance</a>.</li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-prepare.html">Open an Amazon Sagemaker Jupyter notebook</a> in the instance.</li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started-api.html">Grant the Jupyter notebook execution role to access</a> <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started-api.html">Bedrock runtime client</a></li></ol><p>If you found this helpful, share it and give us a clap! 👏 Let’s build something amazing with Bedrock.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=849affa9273b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/insights-generativeai/build-a-story-app-on-amazon-bedrock-hands-on-with-invokemodel-api-849affa9273b">Build a Story App on Amazon Bedrock: Hands-On with InvokeModel API</a> was originally published in <a href="https://medium.com/insights-generativeai">AI Product Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Easiest Technical Guide for Amazon Bedrock]]></title>
            <link>https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477?source=rss-0e14fea371ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/d73cea98d477</guid>
            <category><![CDATA[developer-guide]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[knowledge-base]]></category>
            <category><![CDATA[amazon-bedrock]]></category>
            <dc:creator><![CDATA[Mina Yuan]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 16:01:44 GMT</pubDate>
            <atom:updated>2025-03-29T19:20:08.333Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAfQVT1hYjk353PlGlZhPg.png" /></figure><blockquote>TL;DR: After diving into Gen AI for a year, we chose Amazon Bedrock for its developer-friendly E2E tools. This no-BS guide covers everything from the Gen AI landscape to hands-on lessons for building your app — from model development to agent workflows. Stay updated as we release new content every two weeks! Curated by builders for product managers, business leaders, and developers.</blockquote><blockquote><strong>Want to dive deeper?</strong> Bookmark this post and follow <a href="https://medium.com/insights-generativeai">our journey</a> as we break down its feature, business context, and practical code examples in <a href="https://gist.github.com/MINAYUAN/2ce312293e90527e4e950228ade1b9f4"><strong>Model Serving Guide</strong></a>, <a href="https://gist.github.com/MINAYUAN/2b93316d7ada6346c1cea95318af7518"><strong>Agent or Flow Guide</strong></a><strong>,</strong> and Model Development Guide (coming soon).</blockquote><p><strong>Our Journey with Generative AI</strong></p><p>Like many skeptics, we thought ChatGPT was just another tech buzz. But after 8 months of hands-on experience in building numerous products and functions, we went from doubter to believer in generative AI. After diving deep into various tools, <a href="https://aws.amazon.com/bedrock/">Amazon Bedrock</a> emerged as the go-to platform, winning us over with its robust capabilities and developer-first approach.</p><p>We’re launching this comprehensive guide to share our journey as we continue building with Amazon Bedrock. We’ll dive deep into Bedrock’s core features — from model development to agent workflows — with a practical twist. You’ll see real-world applications in action: customer service automation, intelligent ticketing systems, enhanced search &amp; discovery, and automated report generation. Each post combines business context with hands-on code examples, so you can understand not just the how, but the why and when of each feature.</p><p>We’re a team of AI/ML builders, sharing our hands-on learning as we go. You’ll find new practical lessons dropping every two weeks (or so) on <a href="https://medium.com/insights-generativeai"><strong>AI Product Lab</strong></a><strong> here and on </strong><a href="https://www.linkedin.com/company/aiproductlab/?lipi=urn%3Ali%3Apage%3Ad_flagship3_detail_base%3BZbwKM1A3Rl63QrxX4p5DRQ%3D%3D"><strong>LinkedIn</strong></a><strong>. </strong>Follow along with<strong> </strong><a href="https://medium.com/u/d3334fe0037e"><strong>Gary Lu</strong></a><strong>, </strong><a href="https://medium.com/u/c298a9db6ea"><strong>Vipul Munot</strong></a>, and <a href="https://medium.com/u/0e14fea371ff"><strong>Mina Yuan</strong></a> as we navigate this journey together. 👋</p><h3>The Hands-On Guide to Amazon Bedrock</h3><p>Ready to dive in? This living guide will walk you through Amazon Bedrock’s features and show you how to build into real generative AI applications. 🔖 <strong>Bookmark this post</strong> as we post updates here <strong>every two weeks (or so)</strong>.</p><h4>What You’ll Learn in This Guide</h4><p>Here’s what we’ll cover here — jump to the section that interests you most:</p><ol><li><strong>The Hands-On Guide to Amazon Bedrock</strong> — Step-by-step tutorials covering model access, fine-tuning, and agent workflows, all through real-world applications like customer service and report generation.</li><li><strong>Understanding the Generative AI Landscape</strong> — Breaking down GenAI into four key domains and where Amazon Bedrock fits in</li><li><strong>Why Amazon Bedrock is Your One-Stop Shop</strong> — The strategic advantages that made us choose Bedrock for Gen AI development</li></ol><h4>How to Use This Guide 📓</h4><p>Over the next few months, we’ll release a series of posts exploring Amazon Bedrock’s features through real-world applications. We’ll update this page with links to new posts and codes as we publish them. Each guide includes:</p><ul><li>🛠️ Step-by-Step Development — Follow the natural progression of gen AI app development, starting with model serving</li><li>💡 Business Use Cases — See how each feature solves real business cases</li><li>👩‍💻 Interactive Code Lessons — Get hands-on experience with practical examples (start with fundamentals!)</li><li>📚 AWS Resources — Direct links to official docs and API references</li></ul><h4>1. Guide to Model Serving in Amazon Bedrock</h4><p>🐙 <a href="https://gist.github.com/MINAYUAN/2ce312293e90527e4e950228ade1b9f4"><strong><em>Open Model Serving Guide on Github</em></strong></a><strong><em>. </em></strong><em>This guide is for 1-step design.</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a1f9326d94597bda2189ffd8f9839aa/href">https://medium.com/media/0a1f9326d94597bda2189ffd8f9839aa/href</a></iframe><h4>2. Guide to Agent and Flow in Amazon Bedrock</h4><p>🐙 <a href="https://gist.github.com/MINAYUAN/2b93316d7ada6346c1cea95318af7518"><strong><em>Open Agent and Flow Guide on Github</em></strong></a><strong><em>. </em></strong><em>This guide is for multi-step design.</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8de0270d698a1a298fc7b042af5e8684/href">https://medium.com/media/8de0270d698a1a298fc7b042af5e8684/href</a></iframe><h4>Other living guides to Amazon Bedrock 📕 are coming soon:</h4><ul><li><strong>Guide to Model Development on Amazon Bedrock</strong></li></ul><h3>Understanding the Generative AI Landscape</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YmF5CWd6g1MeJn6ZtWYK-A.jpeg" /><figcaption>Image: <a href="https://medium.com/@minayuan?source=post_page---byline--d73cea98d477--------------------------------">Mina Yuan</a> published in <a href="https://medium.com/insights-generativeai?source=post_page---byline--d73cea98d477--------------------------------">Insights-GenerativeAI</a></figcaption></figure><p>Before diving into Bedrock, let’s map out the generative AI ecosystem. Whether you’re a developer or a product manager, understanding the four key domains of AI products will help you navigate this landscape better:</p><p><strong>1. Model Development | Building and fine-tuning the core AI models</strong></p><p>At the heart of generative AI are foundation models developed by companies like OpenAI and Anthropic. These models drive everything from conversational AI to complex agent systems. As builders, you’ll need to select the right model for your use case, and potentially fine-tune and evaluate it for optimal performance.</p><p><strong>2. Model Serving | Making Models Production-Ready</strong></p><p>Once you’ve selected your model, you need to make it accessible and scalable. Model serving handles everything from processing requests to generating content, while managing crucial integrations with your existing systems and databases. Though it’s critical for production, the infrastructure and scaling requirements can get complex — this is where tools like Amazon Bedrock shine by abstracting away the complexity. Model serving isn’t one-size-fits-all. Depending on your use case, you might need on-demand serving, batch, or multi-step workflows.</p><p><strong>3. Agent &amp; Flow Development | Orchestrating Multi-Step AI Tasks</strong></p><p>Most real-world AI applications require more than just a single model response — they need orchestrated workflows that connect multiple steps and systems. Whether you’re building:</p><ul><li>Conversational agents that maintain context</li><li>Automated workflows that chain multiple operations</li><li>Systems that integrate with external tools and databases</li></ul><p>Amazon Bedrock’s Agent and Flow Development tools eliminate the need to build these complex integrations from scratch. This means you can focus on designing intelligent workflows for use cases like user request processing, content generation, and multi-step automation, rather than wrestling with infrastructure.</p><p><strong>4. Ready-to-use Gen AI Applications | Where It All Comes Together</strong></p><p>This is where end users experience the power of Gen AI through applications like ChatGPT and Perplexity. While these apps appear simple on the surface, they’re built on sophisticated combinations of models and orchestration layers. As a builder, you’ll be working behind the scenes, developing the infrastructure and intelligence that powers similar applications for your specific use cases.</p><h3><strong>Why Amazon Bedrock is Your One-Stop Shop</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qqUy1HTiHRRIhIwVEDreCw.jpeg" /><figcaption>Image: <a href="https://medium.com/@minayuan?source=post_page---byline--d73cea98d477--------------------------------">Mina Yuan</a> published in <a href="https://medium.com/insights-generativeai?source=post_page---byline--d73cea98d477--------------------------------">Insights-GenerativeAI</a></figcaption></figure><p>Looking at the AI landscape, Amazon Bedrock stands out by spanning three of these domains — making it a powerful one-stop shop for developers. While most tools specialize in just one area (like model serving or flow orchestration), Bedrock covers the full development spectrum from model fine-tuning to production deployment. The only piece it doesn’t handle? User interfaces — but it compensates with robust features like <em>citations </em>and <em>trace </em>for building transparent, trustworthy AI applications.</p><p>What really sets Bedrock apart is its seamless integration with the AWS ecosystem:</p><ul><li>AWS Comprehend for security guardrails</li><li>Amazon Lex for conversational interfaces</li><li>OpenSearch Serverless for vector database capabilities</li></ul><p>If you’re already in the AWS ecosystem, Bedrock fits right into your existing stack. If you’re new to AWS, don’t worry — onboarding is a breeze. Bottom line: Bedrock gives you everything needed to develop and scale AI applications — without the infrastructure headaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qh4uyxoIR-RotC8ep9IuSA.png" /><figcaption>Image: generated with AI</figcaption></figure><p><strong>Follow </strong><a href="https://medium.com/insights-generativeai"><strong>AI Product Lab</strong></a><strong> here and on </strong><a href="https://www.linkedin.com/company/aiproductlab/?lipi=urn%3Ali%3Apage%3Ad_flagship3_detail_base%3BZbwKM1A3Rl63QrxX4p5DRQ%3D%3D"><strong>LinkedIn</strong></a><strong> </strong>to stay updated. If you found this helpful, share it and give us a clap! 👏 Let’s build something amazing with Bedrock. <a href="https://aws.amazon.com/bedrock/">Get Started with Amazon Bedrock here!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d73cea98d477" width="1" height="1" alt=""><hr><p><a href="https://medium.com/insights-generativeai/the-easiest-technical-guide-for-amazon-bedrock-d73cea98d477">The Easiest Technical Guide for Amazon Bedrock</a> was originally published in <a href="https://medium.com/insights-generativeai">AI Product Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Business Use Cases using Knowledge Base for Gen AI Solutions on AWS]]></title>
            <link>https://medium.com/insights-generativeai/three-business-use-cases-using-knowledge-base-for-gen-ai-solutions-on-aws-2a13468b33a1?source=rss-0e14fea371ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a13468b33a1</guid>
            <category><![CDATA[bedrock]]></category>
            <category><![CDATA[knowledge-base]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[amazon-q]]></category>
            <dc:creator><![CDATA[Mina Yuan]]></dc:creator>
            <pubDate>Fri, 15 Nov 2024 19:58:25 GMT</pubDate>
            <atom:updated>2024-11-19T23:35:19.072Z</atom:updated>
            <content:encoded><![CDATA[<p>Vector databases have become instrumental in enhancing generative AI (GenAI) applications, particularly for enabling advanced search capabilities such as visual and semantic searches. By transforming proprietary data — both structured and unstructured — into vectors through specialized embedding techniques, organizations can create knowledge bases that significantly improve GenAI performance and relevance via retrieval-augmented generation (<a href="https://aws.amazon.com/what-is/retrieval-augmented-generation/">RAG</a>). <br> <br>AWS offers a range of services with varying levels of customization for creating vector databases, catering to diverse GenAI use cases and requirements. In this post, we’ll explore three levels of vector database customization we implemented to enhance GenAI experiences. These use cases are presented in order of increasing customization complexity, demonstrating how vector databases can be tailored to optimize GenAI usage in different scenarios.</p><p>In this post, we use the terms vector database and knowledge base interchangeably. If you miss our first post on knowledge base creation for structured and free-form data, take a look <a href="https://medium.com/insights-generativeai/build-effective-amazon-bedrock-knowledge-bases-213eaab7a881?source=collection_detail----37a52bf40e69-----1-----------------------">here</a>.</p><blockquote><em>Follow </em><a href="https://medium.com/insights-generativeai"><em>Insights Generative AI</em></a><em> to see our journey to implement generative AI solutions in real life at Amazon.</em></blockquote><blockquote><em>✏️ This post is brought to you by </em><a href="https://medium.com/u/d3334fe0037e?source=post_page---user_mention--213eaab7a881--------------------------------"><strong><em>Gary Lu</em></strong></a><em> and </em><a href="https://medium.com/u/0e14fea371ff?source=post_page---user_mention--213eaab7a881--------------------------------"><strong><em>Mina Yuan</em></strong></a><em>.</em></blockquote><h3>Use Case 1: Help desk chatbot with Amazon Q Business</h3><p>This low-effort vector database implementation is ideal for simple Q&amp;A chatbots requiring enterprise-specific knowledge from text documents. We created a help desk chatbot using Amazon Q Business, a fully managed service that handles vector embeddings, vector database creation, content retrieval, and integration with a web-based conversational interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*DQWEvdBBx2_qEQExJzqQmw.png" /><figcaption>Image: an architecture for Q&amp;A chatbot with text data vector database: process data into TXT format, create metadata files to enable citation in Q Business, store data in S3, then create ready-to-use chatbot in Q Business (Q Business handles embedding, indexing, and vector database)</figcaption></figure><p>We developed an automated pipeline to run regularly that prepares and ingests data for Amazon Q Business:</p><ul><li><strong>Data Extraction:</strong> We extract relevant help desk information from internal source databases, such as ticket resolution and product FAQs.</li><li><strong>Data Transformation:</strong> We convert the extracted data to TXT format, ensuring <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-types.html">compatibility</a> with Amazon Q Business, and create document attribute in JSON format for each TXT file. To boost query results and display source citation, we created metadata files in JSON format containing document attributes, such as title, URL, and last updated date. See <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-attributes.html">Document Attributes in Amazon Q Business</a> for more details and the code snippet below.</li></ul><pre>&quot;DocumentId&quot;: &quot;Doc12345&quot;<br>&quot;Attributes&quot;: {<br>        &quot;_source_uri&quot;: &quot;https://www.amazonqbusiness.com/InternalFAQ.html&quot;,<br>        &quot;_last_updated_at&quot;: 2024-10-16,<br>        &quot;_document_title&quot;: &quot;Travel &amp; Expense Process&quot;<br>        &quot;_category&quot;: &quot;blog&quot;,<br>        &quot;_view_count&quot;: 646,<br>        &quot;status&quot;: &quot;Verified&quot;<br>    }</pre><ul><li><strong>Data Loading</strong>: We store the prepared TXT and JSON files to a designated folder in Amazon S3, one of the <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/connectors-list.html">supported connector</a> from Amazon Q Business.</li></ul><p>After setting up this pipeline, we simply connected Amazon Q Business to the S3 folder. Amazon Q Business then handles the vector database management, including creating embeddings and managing the vector database. The resulting chatbot web interface automatically retrieves content from our S3 data source to answer user queries. The document attributes created in the JSON files also contribute to query tuning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*5lDcK0vuDRWS6QyUmLs3kQ.png" /><figcaption>Image: Amazon Q Business document attribute tuning</figcaption></figure><p>This solution demonstrates how a low-customization approach can quickly yield a functional GenAI-powered help desk chatbot. While the data engineering effort focuses on preparing and maintaining high-quality input data, Amazon Q Business handles the complexities of vector database management and content retrieval, significantly reducing the overall development and maintenance burden. By leveraging Amazon Q Business’s built-in features, we reduced development complexity, allowing our team to focus on data quality and expanding the knowledge base to improve the chatbot’s utility over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_n4p8GSVs0YHxcPTWqWZfw.png" /><figcaption>Image: Amazon Q Business chatbot responding to a question regarding internal policy on travel expense submission</figcaption></figure><h3>Use Case 2: Standardized Paraphrasing with Amazon Bedrock</h3><p>This moderate-effort vector database implementation is designed for tasks like paraphrasing or summarizing existing documents to generate standardized reports. We can use this approach to retrieve and consolidate business updates from individual teams into higher-level business unit reports during the bottoms-up review process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2uOeYTPw1WrSIJ14cLD1w.png" /><figcaption>Image: data flow from document storage to summary generation</figcaption></figure><p>The following process highlights the creation of a Knowledge Base in Amazon Bedrock:</p><ul><li><strong>Data Preparation</strong>: We ingest business documentation from individual teams, functions, or business units. Taking into account the document format, some document need preprocessing prior to storage. Like Amazon Q document attribute, Amazon Bedrock Knowledge Base also uses JSON format files to store metadata contents. Also like Amazon Q, Amazon Bedrock have its own supported <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html">document formats</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/s3-data-source-connector.html#configuration-s3-connector">metadata format</a>.</li><li><strong>Data Storage</strong>: We store the processed document to Amazon S3 folder, where Amazon Bedrock will use as the data source for Knowledge Base creation.</li></ul><p>To set up Knowledge Base in Amazon Bedrock, simply navigate to the Amazon Bedrock console and select Knowledge Base from the left panel. The following configurations are available during Knowledge Base creation.</p><ol><li><strong>Data Source</strong>: select the data source location where the content (i.e., documents) are stored. Since we have to process the document to standardize document formats, we selected Amazon S3 as our data source. The data source can be changed post Knowledge Base creation.</li><li><strong>Chunking and Parsing</strong>: Chunking is the process of breaking up large blob of text into smaller chunks so that the context within the chunk can be better retained and retrieved. Amazon Bedrock defaults chunking to ~300 tokens per chunk and provides advance <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-chunking-parsing.html">chunking and parsing options</a>. For our use case, we elected not to chunk documents due to the pre-processing of the document for better metadata control. Chunking selection cannot be edited after Knowledge Base creation.</li><li><strong>Embedding Model</strong>: Embedding models transform text into numerical vectors that capture semantic meaning, enabling Large Language Models (LLMs) to understand and compare textual data efficiently. Amazon Bedrock offers several embedding models, including <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Amazon Titan and Cohere options</a>. A crucial factor in model selection is the vector output size, which impacts retrieval quality and processing time. For instance, the Titan Embedding G1 model provides 256, 384, and 1024 dimension options. Higher dimensions generally yield better retrieval results but require more processing time. We opted for the Titan Embedding G1 model with a 1024 vector output size, prioritizing retrieval accuracy over processing speed. Embedding model cannot be changed after Knowledge Base creation.</li><li><strong>Vector Database</strong>: Amazon Bedrock offers <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup.html">five options</a> for vector database. Users can either have Amazon Bedrock create and manage a vector database or use a pre-existing one. We opted for Amazon Bedrock’s default vector database option — Amazon OpenSearch Serverless. This streamlined approach simplifies the process for users who don’t require a custom vector database setup. Vector database cannot be changed after Knowledge Base creation.</li></ol><p>With Amazon Bedrock Knowledge Base established, we leverage Amazon Bedrock APIs to retrieve and generate contents. We can extract relevant content from business documents through natural-language prompts. Our custom-designed prompts enable the LLM to extract and paraphrase information in the specific format required for higher-level business unit reviews. This streamlined approach significantly enhances our bottoms-up business review process, ensuring consistency in reporting format while preserving the essence of individual team contributions.</p><h3>Use Case 3: Feature Generation with Amazon Bedrock</h3><p>This high-effort vector database implementation is designed for tasks requiring complex or large vectors as features for machine learning (ML) models. For continuous development in this scenario, we recommend using the AWS Cloud Developer Kit (CDK).</p><p>When use this approach to evaluate customer experience through written feedback in user satisfaction surveys. We’ve implemented an ML model to classify customer experiences as positive, negative, or neutral, using vectorized customer feedback as a key input feature.</p><p>Highlights of the implementation process:</p><ul><li><strong>Text Vectorization</strong>: Using AWS Lamba, we deployed Amazon Bedrock invoke model API to vectorize incoming streams of text into numerical vectors. The following code snippet is an example of function that vectorizes a blob of text.</li></ul><pre>br = boto3.client(&quot;bedrock-runtime&quot;, region_name=&quot;us-east-1&quot;)<br><br>model_id = &quot;amazon.titan-embed-text-v2:0&quot;<br>def create_embedding(inputtext:str):<br>    native_request = {&quot;inputText&quot;: inputtext}<br>    <br>    request = json.dumps(native_request)<br>    <br>    response = br.invoke_model(modelId=model_id, body=request)<br>    <br>    model_response = json.loads(response[&quot;body&quot;].read())<br>    <br>    embedding = model_response[&quot;embedding&quot;]<br>    return embedding</pre><ul><li><strong>Vector Storage</strong>: We store the generated vectors in a vector database, which will serve dual purposes: input for ML model and RAG functions</li></ul><p>This use case demonstrates a sophisticated application of vector databases and GenAI in customer experience analysis. By transforming qualitative feedback into quantitative data through embeddings, we enable more nuanced and accurate ML-based sentiment analysis. The integration of Amazon Bedrock with the chosen vector database creates a powerful ecosystem for both ML model training and GenAI applications, allowing for deeper insights into customer satisfaction and more targeted improvements in service delivery.</p><h3>Conclusion</h3><p>In this post, we’ve explored the spectrum of vector database implementations on AWS, ranging from simple Q&amp;A chatbots to complex applications like standardized report generation and ML model feature extraction. The advent of LLMs present a strategic opportunity for data teams to create and manage vector databases that significantly enhance AI solution capabilities.</p><p>Key takeaways:</p><ol><li>Leveraging AWS services such as Amazon Q Business, Amazon OpenSearch, and Amazon Bedrock enables data teams to create and manage vector databases that boost generative AI application performance.</li><li>Each use case demonstrates how integrating proprietary data into vector databases not only enhances AI-generated insights’ relevance but also streamlines operational processes.</li><li>By curating vector databases of proprietary data, teams can equip LLMs with contextual understanding, delivering impactful and highly relevant outputs without the need for training new models.</li><li>The flexibility of AWS offerings allows for implementations ranging from low-effort solutions to highly customized, complex systems, catering to diverse organizational needs and technical capabilities.</li></ol><p>Vector databases are proving to be a cornerstone in elevating generative AI initiatives. They bridge the gap between an organization’s unique data assets and the powerful capabilities of foundation models. By embracing vector databases, businesses can unlock new levels of AI-driven insights and efficiencies.</p><blockquote><em>If you found this post valuable, please consider giving it a few claps 👏 on Medium and sharing it with your fellow AI/ML enthusiasts. Your support is greatly appreciated! 🤠</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a13468b33a1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/insights-generativeai/three-business-use-cases-using-knowledge-base-for-gen-ai-solutions-on-aws-2a13468b33a1">Three Business Use Cases using Knowledge Base for Gen AI Solutions on AWS</a> was originally published in <a href="https://medium.com/insights-generativeai">AI Product Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cracking the AWS Certified AI Practitioner Exam: Your Fast-Track from Zero to Certified in 3 Weeks]]></title>
            <link>https://medium.com/insights-generativeai/cracking-the-aws-certified-ai-practitioner-exam-your-fast-track-from-zero-to-certified-in-3-weeks-9e0a9ee7f5e9?source=rss-0e14fea371ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e0a9ee7f5e9</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[developer-guide]]></category>
            <category><![CDATA[learning-and-development]]></category>
            <dc:creator><![CDATA[Mina Yuan]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 22:30:23 GMT</pubDate>
            <atom:updated>2024-09-15T23:29:30.412Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently passed the<strong> </strong><a href="https://aws.amazon.com/certification/certified-ai-practitioner/"><strong>AWS Certified AI Practitioner Beta Exam</strong></a> — surviving 85 brain-teasing questions over 130 minutes in a conference room. If you’re considering the exam (Beta version ends on Oct 7, 2024), I’ve put together my 3-week study plan to help you ace it.</p><p>We’ll cover the timeline, exam style, and study domains. I’ll share helpful free and paid resources (with links!) and point out the areas I missed so you don’t have to! I hope to help you feel confident to start preparing or fill in blanks in any areas that you have questions on. Let’s get you confident and exam-ready. Bookmark this post (trust me, you’ll want to).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/0*SA8X3wV1tW0BplBO.jpg" /><figcaption><a href="https://www.aboutamazon.com/news/aws/aws-certifications-generative-ai-machine-learning-cloud-jobs">Image Source</a></figcaption></figure><h3><strong>Study Timeline </strong>⏰</h3><p>I set a 3-week deadline for myself to prepare. Like most of you, I had to juggle work while studying. This meant waking up at 6 AM on some mornings and squeezing in study time after dinner, leading to 2–4 hours per weekday and up to 14 hours on weekends. My study strategy? Start broad and deep-dive later. What is your usual approach?</p><h4><strong>Week 1</strong></h4><ol><li>Review the official exam domain guide to understand what domain is in consideration.</li><li>Watch all videos in the official Standard Exam Prep Course published by AWS Training and Certifications</li><li>Study AI AWS services (features &amp; pricing) thoroughly from the official site, mentioned in Study Domain 1.1 below. You will learn about them as you go through the course.</li><li>Read about 50% of links provided as additional resources at the end of course (take note of them while you take the course!) in the standard exam prep course.</li></ol><h4><strong>Week 2</strong></h4><ol><li>Begin by taking the 65-question mock exam immediately and bonus questions in the official Enhanced Exam Prep Course published by AWS Training and Certifications.</li><li>Complete labs offered in the official Enhanced Exam Prep Course. At this point, you have completed the official Enhanced Exam Prep Course.</li><li>Identify gaps based on the mock exam and dive into 40% of concepts or AWS services that I feel unsure of. From here, it’s heavy reading. I switched from guided coursework to self-learning, diving into AWS documentation and blog posts like they were my textbook.</li></ol><h4><strong>Week 3</strong></h4><ol><li>Continue the deep dive in the remaining 60% concepts or AWS services that I feel unsure of. Yes, more AWS docs and blogs!</li><li>Review the official exam guide again to reinforce key points and scan for knowledge gaps.</li><li>Review the mock exam taken previously to ensure you understand every explanation.</li></ol><p>Optional: take another mock exam. The official enhanced prep course offers one mock exam at the time of my writing. To take a new mock exam, you may need to pay and go through third-party sources. I didn’t choose to take a new mock exam and gave my head some space.</p><p><strong>Note</strong>: I had been using AWS Bedrock for 6 months at work, which helped me grasp some of the knowledge firmly at a faster pace. However, technology evolves rapidly. Every week there are new features, so the best thing I did is assume I don’t know anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s3SdWi7T6gsdSe3P.jpg" /><figcaption><a href="https://www.aboutamazon.com/news/aws/aws-certifications-generative-ai-machine-learning-cloud-jobs">Image Source</a></figcaption></figure><h3><strong>Exam Style 🗂️</strong></h3><p>Compared to the AWS Associate or Specialty exams, this one’s less technical. It’s more about identifying the right AWS services for a business scenario (65%) and includes definitions (20%), frameworks (10%), and pricing (5%). No math or hardcore modeling here! Below are a few examples from the Enhanced Course to help you understand the exam style.</p><p>Figure. Mock Exam Question Examples</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7IGS1bWhu844SsP0" /><figcaption>Source: <a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/20274/exam-prep-official-pretest-aws-certified-ai-practitioner-aif-c01-english">Official Pretest: AWS Certified AI Practitioner (AIF — C01) in Enhanced Prep Course</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9riPTUcOHnhigKnP" /><figcaption>Source: <a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/20274/exam-prep-official-pretest-aws-certified-ai-practitioner-aif-c01-english">Official Pretest: AWS Certified AI Practitioner (AIF — C01) in Enhanced Prep Course</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H6EYNyHeYZ2IE0CL" /><figcaption>Source: <a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/20274/exam-prep-official-pretest-aws-certified-ai-practitioner-aif-c01-english">Official Pretest: AWS Certified AI Practitioner (AIF — C01) in Enhanced Prep Course</a></figcaption></figure><h3><strong>Study Domains 🎲</strong></h3><p>I find mapping out exams by domain, like a tree before starting to study, reduces stress. AWS Training and Certification offers an <a href="https://d1.awsstatic.com/training-and-certification/docs-ai-practitioner/AWS-Certified-AI-Practitioner_Exam-Guide.pdf"><strong>Official Exam Guide</strong></a> including an outline. After studying and passing the exam, I fine-tuned the outline based on my own experience, with links I have read. Whether you want to use this outline or the official one, I still recommend creating your own to mark your strengths and weaknesses.</p><p>For this exam, I prepared for the exam with the free <a href="https://d1.awsstatic.com/training-and-certification/docs-ai-practitioner/AWS-Certified-AI-Practitioner_Exam-Guide.pdf"><strong>Official Exam Guide</strong></a>, free AWS Documentations, free AWS Blog posts, free official <a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/19554/exam-prep-standard-course-aws-certified-ai-practitioner-aif-c01"><strong>Standard Prep Plan</strong></a><strong> (</strong><a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/19554/exam-prep-standard-course-aws-certified-ai-practitioner-aif-c01"><strong>Course</strong></a><strong>)</strong> and subscription-required $29/Month official <a href="https://explore.skillbuilder.aws/learn/learning_plan/view/2194/plan"><strong>Enhanced Prep Course Plan</strong></a><strong> (</strong><a href="https://explore.skillbuilder.aws/learn/course/internal/view/elearning/20479/exam-prep-enhanced-course-aws-certified-ai-practitioner-aif-c01-english"><strong>Course</strong></a><strong>)</strong> from AWS Trainings and Certifications. The courses cover materials in all exam domains.</p><p>The exam has the following content domains and weightings:</p><ul><li>Domain 1: Fundamentals of AI and ML (20% of scored content)</li><li>Domain 2: Fundamentals of Generative AI (24% of scored content)</li><li>Domain 3: Applications of Foundation Models (28% of scored content)</li><li>Domain 4: Guidelines for Responsible AI (14% of scored content)</li><li>Domain 5: Security, Compliance, and Governance for AI Solutions (14% of scored content)</li></ul><p>Source: <a href="https://d1.awsstatic.com/training-and-certification/docs-ai-practitioner/AWS-Certified-AI-Practitioner_Exam-Guide.pdf">AWS Certified AI Practitioner (AIF-C01) Exam Guide</a></p><h4>Domain 1: Fundamentals of AI and ML (20% of scored content)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*gqDzt6oWegXPuxAF" /><figcaption>Image: Noah Berger / AWS via Reuters</figcaption></figure><p><strong>Task Statement 1.1: Explain basic AI concepts and terminologies.</strong></p><ul><li><a href="https://aws.amazon.com/what-is/artificial-intelligence/">What is artificial intelligence (AI) and difference between AI, machine learning (ML), and deep learning by AWS?</a></li><li><a href="https://aws.amazon.com/computer-vision/">What is computer vision?</a></li><li><a href="https://aws.amazon.com/what-is/neural-network/">What is a neural network?</a></li><li><a href="https://aws.amazon.com/what-is/nlp/">What is natural language processing (NLP)?</a></li><li>What is <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-model.html">training</a>, inference?</li><li>What are <a href="https://aws.amazon.com/compare/the-difference-between-machine-learning-supervised-and-unsupervised/">supervised, unsupervised</a>, semi-supervise, and <a href="https://aws.amazon.com/what-is/reinforcement-learning/#:~:text=Reinforcement%20learning%20(RL)%20is%20a,use%20to%20achieve%20their%20goals.">reinforcement learning</a> and their <a href="https://aws.amazon.com/compare/the-difference-between-machine-learning-supervised-and-unsupervised/">differences</a>?</li><li>What are <a href="https://docs.aws.amazon.com/machine-learning/latest/dg/types-of-ml-models.html">classification and regression problems</a>?</li><li>What are evaluation techniques for AL/ML models?</li></ul><p><strong>Task Statement 1.2: Identify practical use cases for AI.</strong></p><ul><li><a href="https://aws.amazon.com/ai/#use">What is the use case of AI in different industries?</a></li><li><a href="https://aws.amazon.com/blogs/security/securing-generative-ai-an-introduction-to-the-generative-ai-security-scoping-matrix/">AI Scoping Matrix for level of effort in security and development effect by AWS Security Blog</a></li><li><a href="https://aws.amazon.com/bedrock/">Amazon Bedrock</a>: Build any AI application with pre-built FM or import your own via simple API. See p<a href="https://aws.amazon.com/bedrock/pricing/">ricing</a>.</li><li><a href="https://aws.amazon.com/q/business/?nc2=type_a">Amazon Q Business</a>: Out-of-the box Enterprise Chatbot with Exteprise Data Sources. See <a href="https://aws.amazon.com/q/business/pricing/">pricing</a>.</li><li><a href="https://aws.amazon.com/lex/">Amazon Lex</a>: Build a chatbot or conversational interface not-from-scratch!</li><li><a href="https://aws.amazon.com/polly/">Amazon Polly</a>: Text to Speech</li><li><a href="https://aws.amazon.com/translate/">Amazon Translate</a>: Text to Text</li><li><a href="https://aws.amazon.com/transcribe/">Amazon Transcribe</a>: Speech to Text and can summarize audio Powered by Amazon Bedrock</li><li><a href="https://aws.amazon.com/comprehend/">Amazon Comprehend</a>: Named entity detection, PII data, and sentiment analysis</li><li><a href="https://aws.amazon.com/textract/">Amazon Textract</a>: Extract data from document and tables inside documents</li><li><a href="https://aws.amazon.com/rekognition/">Amazon Rekognition</a>: Image and Video object detection and content moderation</li><li><a href="https://aws.amazon.com/q/developer/?nc2=type_a">Amazon Q Developer</a>: Help us write or complete code with natural language prompt!</li><li><a href="https://aws.amazon.com/quicksight/q/?nc2=type_a">Amazon Q in Quicksight</a>: Build custom chart and tables with natural language</li><li><a href="https://aws.amazon.com/opensearch-service/">Amazon OpenSearch</a>: Vector database powering semantic search, and a default option available supporting Knowledge Bases in Amazon Bedrock (<a href="https://aws.amazon.com/blogs/big-data/amazon-opensearch-services-vector-database-capabilities-explained/">Amazon OpenSearch Service’s Vector Database Capabilities Explained</a>, <a href="https://aws.amazon.com/blogs/database/the-role-of-vector-datastores-in-generative-ai-applications/">The Role of Vector Datastores in Generative AI Applications</a>, <a href="https://aws.amazon.com/opensearch-service/serverless-vector-engine/">Vector Engine for Amazon OpenSearch Serverless</a>)</li></ul><p><strong>Task Statement 1.3: Describe the ML development lifecycle.</strong></p><ul><li>AWS <a href="https://docs.aws.amazon.com/wellarchitected/latest/machine-learning-lens/well-architected-machine-learning-lifecycle.html">Well-architected ML Lifecycle Guide</a>: ML circular lifecycle and associated tasks: Business Goal, Data Collection, Feature Selection/ Engineering, Training, Hyper-parameter Tuning, Validation, Test and Deployment, Monitoring</li><li>Inference method: <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints.html">real-time</a>, <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/async-inference.html">asynchronous</a>, <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/serverless-endpoints.html">serverless</a>, <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html">batch transform</a>, and their pros and cons in payload size, processing time, latency (<a href="https://www.philschmid.de/sagemaker-inference-comparison">third-party comparison blog</a>) that will help determine which to use for different business requirements.</li></ul><h4>Domain 2: Fundamentals of Generative AI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QQOqJhvOO8R_cfzw.jpg" /><figcaption>Image Source: <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.aboutamazon.com%2Fnews%2Faws%2Faws-summit-new-york-generative-ai&amp;psig=AOvVaw2WJG4QNdnbNoBOKw1-5Sy-&amp;ust=1726524068870000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBcQjhxqFwoTCLj7lMP5xYgDFQAAAAAdAAAAABAE">Generative AI updates from AWS Summit 2023 NYC</a></figcaption></figure><p><strong>Task Statement 2.1: Explain the basic concepts of generative AI.</strong></p><ul><li><a href="https://aws.amazon.com/what-is/foundation-models/">What Are Foundation Models (FM)?</a> FM Model Type: text to text, text to image/video, image/video to text, multi modal embedding, multi modal generation</li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/inference-parameters.html">Inference Parameters</a> of Foundation Models</li><li><a href="https://aws.amazon.com/what-is/prompt-engineering/">What Is Prompt Engineering?</a></li><li><a href="https://aws.amazon.com/what-is/generative-ai/">Generative AI (Gen AI) Models Overview</a>:</li><li><a href="https://aws.amazon.com/what-is/gan/">Generative Adversarial Networks (GAN)</a>: High quality Media, unstable less control model, zero sum game, <a href="https://www.xenonstack.com/insights/generative-adversarial-networks">applications and benefits</a></li><li>VAE (Low Quality Media, stabler and more control model, encoder decoder, latent space)</li><li>Diffusion and <a href="https://aws.amazon.com/what-is/stable-diffusion/">Stable Diffusion</a> (reverse and forward noise, stabler and high quality media)</li><li><a href="https://aws.amazon.com/what-is/transformers-in-artificial-intelligence/">Transformer</a>(LLM self-attention and position encoding to contextualize)</li><li><a href="https://www.techtarget.com/searchenterpriseai/tip/Generative-models-VAEs-GANs-diffusion-transformers-NeRFs">Pros and cons against each other and use case for each</a></li><li><a href="https://aws.amazon.com/what-is/embeddings-in-machine-learning/">Embedding</a> vs Tokenization</li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html">Sagemaker</a> Documentations: Understand the following features, including inference options, Clarify, Canvas, Data Wrangler, Jumpstart (for FM), Endpoint, Inference Type Pro And Cons Size And Speed And Management Need, Feature Store, Asset, Monitoring, Autopilot, FM Evaluation, Role Manager, Ground Truth (Plus), <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-sdk.html">Data, Training, Inference, and other pipelines</a></li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html">AWS Bedrock</a> Documentations: Understand the following features, including pricing, pre-built Models, custom models, on-demand vs provisioned-throughput, <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html">Knowledge Base</a>, Input Storage Solution For Evaluation, <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html">Agent</a>, Guardrail, evaluation methods, Human In The Loop</li></ul><p><strong>Task Statement 2.2: Understand the capabilities and limitations of generative AI for solving business problems.</strong></p><ul><li><a href="https://aws.amazon.com/what-is/generative-ai/">Generative AI (Gen AI) Models Overview</a> — “What are the limitations of generative AI?” section</li></ul><p><strong>Task Statement 2.3: Describe AWS infrastructure and technologies for building generative AI applications</strong></p><ul><li><a href="https://www.xenonstack.com/blog/generative-ai-architecture">Guide to Generative AI Architecture (third-party)</a></li><li>Amazon <a href="https://aws.amazon.com/vpn/">VPN</a></li><li>Amazon <a href="https://aws.amazon.com/s3/">S3</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html">S3 Encryption</a>, <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html">Gateway</a></li><li>Amazon <a href="https://aws.amazon.com/ec2/instance-types/">EC2 Chips by cost, speed, and environmental friendliness level</a></li></ul><h4><strong>Domain 3: Applications of Foundation Models</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nmR3l7bJ_wWBuEzb.jpg" /><figcaption>Image Source: <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Faws.amazon.com%2Fblogs%2Fmachine-learning%2Fwelcome-to-a-new-era-of-building-in-the-cloud-with-generative-ai-on-aws%2F&amp;psig=AOvVaw2tZBZaEuJWGFd6ARCNu6-F&amp;ust=1726524244356000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBcQjhxqFwoTCKCbkZX6xYgDFQAAAAAdAAAAABAQ">Welcome to a New Era of Building in the Cloud with Generative AI </a><a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Faws.amazon.com%2Fblogs%2Fsecurity%2Fsecuring-generative-ai-an-introduction-to-the-generative-ai-security-scoping-matrix%2F&amp;psig=AOvVaw1AMJhGs4ZfKH-QXEtzbxvY&amp;ust=1726524361117000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBcQjhxqFwoTCPCuu8z6xYgDFQAAAAAdAAAAABAE">| AWS Machine Learning Blog</a></figcaption></figure><p><strong>Task Statement 3.1: Describe design considerations for applications that use foundation models.</strong></p><ul><li><a href="https://docs.aws.amazon.com/whitepapers/latest/aws-caf-for-ai/aws-caf-for-ai.html">Responsible AI</a>: <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-foundation-model-evaluate.html">FM Bias</a>, <a href="https://docs.aws.amazon.com/whitepapers/latest/model-explainability-aws-ai-ml/interpretability-versus-explainability.html">interpretability vs explainability (post-hoc)</a>, security, data privacy,<a href="https://aws.amazon.com/ai/responsible-ai/resources/"> tools to build responsible AI at AWS</a></li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-measure-data-bias.html">Pre-training Bias</a></li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-detect-post-training-bias.html">Post-training Bias</a></li></ul><p><strong>Task Statement 3.2: Choose effective prompt engineering techniques.</strong></p><ul><li><a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/llm-prompt-engineering-best-practices/best-practices.html">Best practices to avoid prompt injection attacks</a></li><li><a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/llm-prompt-engineering-best-practices/comparisons.html">Salt Sequencing techniques</a></li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-engineering-guidelines.html">Prompt Engineering</a> guides: zero-shot, one-shot, few-shot, and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-prompt-engineering.html">few definitions for classification, personalization, summarization, and their level of efforts comparison</a></li></ul><p><strong>Task Statement 3.3: Describe the training and fine-tuning process for foundation Models.</strong></p><ul><li>Customizing models via <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Continued Pre-Training (unlabeled data) and Fine Tuning (</a><a href="https://aws.amazon.com/blogs/machine-learning/domain-adaptation-fine-tuning-of-foundation-models-in-amazon-sagemaker-jumpstart-on-financial-data/">Domain-Adaptation Fine-Tuning</a> (<a href="https://aws.amazon.com/blogs/machine-learning/domain-adaptation-fine-tuning-of-foundation-models-in-amazon-sagemaker-jumpstart-on-financial-data/">AWS Blog Example</a>), <a href="https://huggingface.co/papers/2404.03592">Representation Fine-Tuning</a>, <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-fine-tuning-instruction-based.html">Instruction-based Fine-Tuning</a>)</li></ul><p><strong>Task Statement 3.4: Describe methods to evaluate foundation model performance.</strong></p><ul><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-explainability.html">Using sagemaker clarify for traditional ML and large language models</a></li><li><a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-report-programmatic.html">Evaluation of FM and Metrics in Bedrock</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-foundation-model-evaluate-overview.html">in Sagemaker</a> (FM Evaluation Metrics for 4 Types of LLM Tasks (General Text Generation, Summarization, Q&amp;A, Classification): Rouge-N (<a href="https://huggingface.co/spaces/evaluate-metric/rouge">Hugging face definitions</a>), <a href="https://huggingface.co/spaces/evaluate-metric/bleu">Bleu</a>, Bert, Toxicity, Semantic Robustness, RWK, Human evaluation, and more.</li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-use-augmented-ai-a2i-human-review-loops.html">Human Evaluation of FM in Sagemaker via Amazon Augmented AI</a></li><li><a href="https://aws.amazon.com/blogs/mt/monitoring-generative-ai-applications-using-amazon-bedrock-and-amazon-cloudwatch-integration/">Monitoring Generative AI Applications Using Amazon Bedrock and Amazon CloudWatch Integration</a></li></ul><h4><strong>Domain 4: Guidelines for Responsible AI</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RePcYupv81epHajB.jpg" /><figcaption>Image Source: <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.aboutamazon.com%2Fnews%2Faws%2Famazon-aws-responsible-generative-ai&amp;psig=AOvVaw1AN6MJ-RBXsr7baaJ27V5I&amp;ust=1726524164888000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBcQjhxqFwoTCOC25e_5xYgDFQAAAAAdAAAAABAE">AWS commitment to responsible generative AI</a></figcaption></figure><p><strong>Task Statement 4.1: Explain the development of AI systems that are responsible.</strong></p><ul><li><a href="https://aws.amazon.com/ai/responsible-ai/">AWS Responsible AI General Page</a></li></ul><p><strong>Task Statement 4.2: Recognize the importance of transparent and explainable models.</strong></p><ul><li><a href="https://docs.aws.amazon.com/whitepapers/latest/model-explainability-aws-ai-ml/model-transparency.html">Model Transparency</a></li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-model-explainability.html">Model Explainability on Pagemaker</a></li><li><a href="https://docs.aws.amazon.com/whitepapers/latest/model-explainability-aws-ai-ml/interpretability-versus-explainability.html">Interpretability vs Explainability</a></li></ul><h4>Domain 5: Security, Compliance, and Governance for AI Solutions</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1Qyk6X6CMxsLOKnF.png" /><figcaption>Image Source: <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Faws.amazon.com%2Fblogs%2Fsecurity%2Fsecuring-generative-ai-an-introduction-to-the-generative-ai-security-scoping-matrix%2F&amp;psig=AOvVaw1AMJhGs4ZfKH-QXEtzbxvY&amp;ust=1726524361117000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBcQjhxqFwoTCPCuu8z6xYgDFQAAAAAdAAAAABAE">Securing generative AI: An introduction to the Generative AI Security Scoping Matrix | AWS Security Blog</a></figcaption></figure><p><strong>Task Statement 5.1: Explain methods to secure AI systems.</strong></p><ul><li>Differences and definitions of AWS Detective, AWS Guard Duty, AWS Security Hub, AWS Audit, AWS Advisor, Macie, Shield Advance (<a href="https://www.reddit.com/r/aws/comments/yzxalu/what_are_the_differences_between_security_hub/">a reddit post that help me understand</a> and compare some of them)</li><li><a href="https://docs.aws.amazon.com/wellarchitected/latest/machine-learning-lens/mlsec-03.html">Ensure Least Privilege Access</a></li><li><a href="https://aws.amazon.com/blogs/machine-learning/architect-defense-in-depth-security-for-generative-ai-applications-using-the-owasp-top-10-for-llms/">Defense-in-depth blog for Gen AI</a></li><li><a href="https://aws.amazon.com/developer/application-security-performance/articles/addressing-owasp-top-10-risks/">OWAS TOP 10 LLM Threats</a></li><li><a href="https://aws.amazon.com/bedrock/guardrails/">Bedrock Guardrail</a></li><li><a href="https://aws.amazon.com/compliance/shared-responsibility-model/">Shared Responsibility Model</a></li><li><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_architecture.html">CloudWatch</a>, and compare with <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail</a>, <a href="https://aws.amazon.com/eventbridge/">Event Bridge</a> for logging user API invocation</li><li><a href="https://docs.aws.amazon.com/sagemaker/latest/dg/edge.html">Edge devices with FM deployment</a></li><li><a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Private link</a>: How To Access Without Public Internet and <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-overview.html">connect to your VPC</a></li><li><a href="https://aws.amazon.com/transit-gateway/">Transit Gateway</a> as a Hub for VPNs</li><li><a href="https://aws.amazon.com/s3/">S3</a>: <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html">S3 Encryption Types</a>, <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html">S3 Gateway</a> to Prevent Public Internet for Data Transfer, <a href="https://docs.aws.amazon.com/guardduty/latest/ug/gdu-malware-protection-s3.html">GuardDuty malware protection for S3</a></li><li><a href="https://docs.aws.amazon.com/iam/">IAM</a>: How to assign role for Bedrock with data separated access for different teams</li></ul><p><strong>Task Statement 5.2: Recognize governance and compliance regulations for AI Systems.</strong></p><ul><li><a href="https://aws.amazon.com/blogs/security/securing-generative-ai-applying-relevant-security-controls/">Securing Generative AI: Applying Relevant Security Controls</a></li><li><a href="https://aws.amazon.com/compliance/">AWS Compliance</a></li><li><a href="https://aws.amazon.com/compliance/customer-center/">Customer Compliance Center</a></li><li><a href="https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf">NIST Artificial Intelligence Risk Management Framework</a></li><li><a href="https://aws.amazon.com/blogs/machine-learning/iso-42001-a-new-foundational-global-standard-to-advance-responsible-ai/">ISO 42001: A New Foundational Global Standard to Advance Responsible AI</a></li><li><a href="https://artificialintelligenceact.eu/">The EU Artificial Intelligence Act</a></li><li><a href="https://aws.amazon.com/blogs/machine-learning/learn-how-to-assess-risk-of-ai-systems/">Learn How to Assess the Risk of AI Systems</a></li><li><a href="https://aws.amazon.com/what-is/data-governance/">What Is Data Governance?</a></li><li><a href="https://aws.amazon.com/blogs/big-data/data-governance-in-the-age-of-generative-ai/">Data Governance in the Age of Generative AI</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bGLZABE3WhCQ3Ufk.png" /></figure><h3>Frequently Asked Questions 💬</h3><p><strong>Who is this exam for?</strong></p><p>Practitioners or anyone who want to feel confident engaging into light-technical discussion on what solutions suits which business requests. Read more in the <a href="https://d1.awsstatic.com/training-and-certification/docs-ai-practitioner/AWS-Certified-AI-Practitioner_Exam-Guide.pdf">Official Exam Guide</a>.</p><p><strong>What is the scoring system?</strong></p><p>The total score is 1000, and the minimum passing score is 700. Read more in the <a href="https://d1.awsstatic.com/training-and-certification/docs-ai-practitioner/AWS-Certified-AI-Practitioner_Exam-Guide.pdf">Official Exam Guide</a>.</p><p><strong>Why is it a good idea to take a mock exam at 50% of the timeline (e.g. week 2)?</strong></p><p>While some prefer to take a mock exam toward the end of their studying journey, I take it at 50–65% studying mark or 6 out of 10 confidence level, because mock exams help me understand where I’m short at. Then, I can deep dive targeting domains effectively. Additionally, I get to understand the exam question style and depth early on. Delaying mock exam is actually a procrastination for me to learn optimistically without checking my progress.</p><p><strong>What are the differences between the free official standard and subscription-required enhanced exam prep course?</strong></p><p>Mostly, the enhanced course offer an official mock exam, bonus questions, and lab. AWS Training and Certification offers the standard course for free, and currently charges $29 per month for the enhanced courses. <strong>Amazonians, you can enroll in the enhanced course for free if you login via single sign on on Amazon VPN! </strong>If you can complete the mock exam, bonus, and lab questions in the first month, you get the most value out of the enhanced courses. You can review most of the other courses for free in the standard plan instead of renewing the subscription.</p><p><strong>When did I start scheduling the exam?</strong></p><p>This is a personal choice, but I prefer the book exam midway through my studying to give a good estimate on what remaining time I need to learn. In this case, I booked my exam 50% into my three-week timeline or 10 days before the scheduled date.</p><p><strong>How did I manage timing during the exam?</strong></p><p>The beta exam is 130 mins long for longer-than-regular 85 questions. I took 90 mins to fill out the questions with 40 mins to reflect around 30 flagged questions.</p><p><strong>What is the difference between Beta or regular exam?</strong></p><blockquote>Beta exams are different from standard versions of a certification exam in the following ways:</blockquote><blockquote>A beta exam contains more total questions and more scored questions than the standard version of the same exam.</blockquote><blockquote>Beta exams are available for a limited period of time (generally from 1–3 months).</blockquote><blockquote>Beta exams are offered at a discount from standard exam pricing.</blockquote><p>Source: <a href="https://aws.amazon.com/certification/policies/before-testing/">https://aws.amazon.com/certification/policies/before-testing/</a></p><p>Thank you for checking this guide out! What other readings and tips would you recommend to fellow folks?</p><p>If you find this post helpful, share and give it a clap 👏 Good luck! Bookmark this and remember, study smart — not just hard!</p><pre>def a_little_bit_about_me (author = &quot;Mina&quot;):<br>  tldr = &quot;Currently a Research Scientist at AWS Professional Services \n<br>Operations Technology team, curious about generative AI and using a lot of \n<br>Bedrock to help build custom AI applications at scale to deliver cost saving.&quot;<br>  say_hello = &quot;Say hello @ https://www.linkedin.com/in/minayuan/&quot;<br>  return (tldr + &quot; &quot;+ say_hello)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e0a9ee7f5e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/insights-generativeai/cracking-the-aws-certified-ai-practitioner-exam-your-fast-track-from-zero-to-certified-in-3-weeks-9e0a9ee7f5e9">Cracking the AWS Certified AI Practitioner Exam: Your Fast-Track from Zero to Certified in 3 Weeks</a> was originally published in <a href="https://medium.com/insights-generativeai">AI Product Lab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>