Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Diagnosing and Correcting Unstable Bedrock Behavior

In this challenge lab, you will investigate an Amazon Bedrock-powered prototype that is operating outside its expected value boundaries. You will review previously collected operational results, identify the source of excessive token usage, and examine the prototype's predefined inference configurations to determine which operational control is responsible for the observed behavior. You will then apply a focused configuration correction and execute the same predefined workload using the corrected configuration. Finally, you will review the resulting validation data and verify that the prototype now operates within its defined token usage boundary. Successful validation produces a deterministic artifact in Amazon S3, providing measurable evidence that the correction restored expected operational behavior without relying on the quality of AI-generated responses.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Advanced
Last updated
Sep 02, 2026
Duration
45m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Correct the prototype configuration

    In CloudShell apply a focused configuration correction that restores the prototype to its expected operational boundary.

    • Download the lab files linked-to in the Additional Resources section.
    • Create an S3 bucket whose name begins with bedrock-validation- to store the validation.
    • Note the issue indicated in the operational_results.json file, and fix this in prototype_config.json: Change its active_profile value to the correct profile.
  2. Challenge

    Validate the corrected prototype

    Execute the corrected prototype by running the downloaded .py file, and verify that its operational behavior satisfies the defined validation requirements, with the new token_usage_status value now showing PASS.

    Successful execution uploads validation.json to your S3 bucket, and that artifact contains the deterministic evidence.

  3. Challenge

    Produce a validation artifact

    Manually verify that successful validation creates the expected validation.json artifact in your S3 bucket.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight