[{"data":1,"prerenderedAt":362},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Faws-sdks-service-client-calls-dva-c03":187},[4,22,37,51,63,75,87,98,111,123,134,144,155,168,177],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},23,"aws-certified-developer-associate-dva-c03","Prepare for the AWS Certified Developer - Associate (DVA-C03) exam with realistic practice questions on developing, securing, testing, deploying and troubleshooting applications on AWS, AI-assisted development included, with detailed explanations.",655,true,"2026-12-03T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png","associate",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"DVA-C03",null,"2026-12-01",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":24,"code":35,"dateBetaStart":20,"dateReleased":36,"pageSlug":31},"SAP-C03","2026-11-17",{"id":38,"slug":39,"description":40,"questionCount":41,"isActive":9,"datePublicModified":42,"difficulty":43,"examVersion":49},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":44,"subtitle":45,"slug":46,"coverImageUrl":47,"level":48},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":39,"code":45,"dateBetaStart":20,"dateReleased":50,"pageSlug":46},"2023-09-19",{"id":52,"slug":53,"description":54,"questionCount":55,"isActive":9,"datePublicModified":42,"difficulty":56,"examVersion":61},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":57,"subtitle":58,"slug":59,"coverImageUrl":60,"level":33},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":53,"code":58,"dateBetaStart":20,"dateReleased":62,"pageSlug":59},"2023-03-07",{"id":64,"slug":65,"description":66,"questionCount":67,"isActive":9,"datePublicModified":42,"difficulty":68,"examVersion":72},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":69,"subtitle":70,"slug":71,"coverImageUrl":60,"level":48},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":65,"code":70,"dateBetaStart":73,"dateReleased":74,"pageSlug":71},"2024-08-13","2024-10-22",{"id":76,"slug":77,"description":78,"questionCount":79,"isActive":9,"datePublicModified":42,"difficulty":80,"examVersion":84},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":81,"subtitle":82,"slug":83,"coverImageUrl":60,"level":17},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":77,"code":82,"dateBetaStart":85,"dateReleased":86,"pageSlug":83},"2023-11-27","2024-03-12",{"id":12,"slug":88,"description":89,"questionCount":90,"isActive":9,"datePublicModified":42,"difficulty":91,"examVersion":96},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":92,"subtitle":93,"slug":94,"coverImageUrl":95,"level":17},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png",{"slug":88,"code":93,"dateBetaStart":20,"dateReleased":97,"pageSlug":94},"2022-08-30",{"id":99,"slug":100,"description":101,"questionCount":102,"isActive":9,"datePublicModified":103,"difficulty":104,"examVersion":108},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":105,"subtitle":106,"slug":107,"coverImageUrl":60,"level":33},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":100,"code":106,"dateBetaStart":109,"dateReleased":110,"pageSlug":107},"2025-11-28","2026-03-17",{"id":112,"slug":113,"description":114,"questionCount":115,"isActive":9,"datePublicModified":103,"difficulty":116,"examVersion":121},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":113,"code":118,"dateBetaStart":20,"dateReleased":122,"pageSlug":119},"2025-12-01",{"id":124,"slug":125,"description":126,"questionCount":127,"isActive":9,"datePublicModified":103,"difficulty":128,"examVersion":132},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":129,"subtitle":130,"slug":131,"coverImageUrl":60,"level":17},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":125,"code":130,"dateBetaStart":133,"dateReleased":20,"pageSlug":131},"2026-09-29",{"id":135,"slug":136,"description":137,"questionCount":138,"isActive":9,"datePublicModified":103,"difficulty":139,"examVersion":143},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":140,"subtitle":141,"slug":142,"coverImageUrl":60,"level":48},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":136,"code":141,"dateBetaStart":133,"dateReleased":20,"pageSlug":142},{"id":145,"slug":146,"description":147,"questionCount":148,"isActive":9,"datePublicModified":103,"difficulty":149,"examVersion":153},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":150,"subtitle":151,"slug":152,"coverImageUrl":60,"level":17},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":146,"code":151,"dateBetaStart":20,"dateReleased":154,"pageSlug":152},"2025-09-30",{"id":156,"slug":157,"description":158,"questionCount":159,"isActive":9,"datePublicModified":160,"difficulty":161,"examVersion":165},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":162,"subtitle":163,"slug":164,"coverImageUrl":60,"level":33},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":157,"code":163,"dateBetaStart":166,"dateReleased":167,"pageSlug":164},"2022-01-01","2022-07-12",{"id":169,"slug":170,"description":171,"questionCount":172,"isActive":9,"datePublicModified":173,"difficulty":174,"examVersion":175},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},{"slug":170,"code":30,"dateBetaStart":20,"dateReleased":176,"pageSlug":20},"2022-11-15",{"id":178,"slug":179,"description":180,"questionCount":181,"isActive":9,"datePublicModified":173,"difficulty":182,"examVersion":183},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},{"slug":179,"code":184,"dateBetaStart":20,"dateReleased":185,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":188,"title":189,"focus":190,"level":17,"components":191,"diagrams":215,"steps":254,"dateModified":357,"course":358,"nextLesson":359},"aws-sdks-service-client-calls-dva-c03","AWS SDKs: Service client calls","How an application configures a service client, uses provider-supplied credentials to call an AWS operation, and handles the returned result or error.",[192,198,202,206,211],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-simple-queue-service-(amazon-sqs)","service","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"aws-tools-and-sdks","AWS Tools and SDKs","\u002Fimages\u002Fprovider-services\u002Faws-tools-and-sdks\u002Fcovers\u002FArch_AWS-Tools-and-SDKs_64.png",{"key":207,"kind":208,"name":209,"icon":210,"provider":197},"amazon-dynamodb-table","part","Amazon DynamoDB table","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FRes_Amazon-DynamoDB_Table_48.png",{"key":212,"kind":208,"name":213,"icon":214,"provider":197},"amazon-s3-bucket","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",[216],{"key":217,"cards":218,"groups":238,"lines":241},"boto3-get-item",[219,223,226,229,232,235],{"key":220,"component":199,"label":221,"group":222},"app-call","Application: configure client and call GetItem","lambda-environment",{"key":224,"component":199,"label":225,"group":222},"runtime","Lambda runtime: supply execution role credentials",{"key":227,"component":203,"label":228,"group":222},"send","Boto3 client: prepare and send request",{"key":230,"component":207,"label":231},"orders","Orders table",{"key":233,"component":203,"label":234,"group":222},"receive","Same Boto3 client: interpret service response",{"key":236,"component":199,"label":237,"group":222},"app-outcome","Application: handle the result or exception",[239],{"key":222,"label":240},"Lambda execution environment",[242,244,246,248,250,252],{"from":220,"to":227,"label":243},"Region and inputs",{"from":224,"to":227,"label":245},"Temporary role credentials",{"from":227,"to":230,"label":247},"Signed GetItem request",{"from":230,"to":233,"label":249},"Service response",{"from":233,"to":236,"label":251},"Result or ClientError",{"from":227,"to":236,"label":253},"Client-side exception",[255,288,301,304,317,320,336,339,344],{"kind":256,"title":257,"body":258,"diagram":217,"walkthrough":259},"explanation","Follow one service client call","\u003Cp>A Python AWS Lambda function uses \u003Cstrong>Boto3\u003C\u002Fstrong>, the AWS SDK for Python, to look up an order in DynamoDB. The application creates a \u003Cstrong>service client\u003C\u002Fstrong> and calls \u003Ccode>get_item\u003C\u002Fcode>. The SDK signs and sends the request; the application decides what to do with the outcome.\u003C\u002Fp>\u003Cp>The diagram splits one client into a request stage and a response stage. If the client cannot prepare or send the request, it can raise an \u003Cstrong>exception without a service response\u003C\u002Fstrong>. That path goes straight from the request stage back to the application.\u003C\u002Fp>",[260,263,269,274,279,285],{"text":261,"cards":262},"The application chooses a Region and prepares the table name and primary key. The Lambda runtime makes temporary credentials for the function’s execution role available in the environment.",[220,224],{"text":264,"cards":265,"lines":266},"The Boto3 client uses the Region to select the default endpoint and the operation inputs to prepare the request. Its environment credential provider reads the temporary role credentials for signing.",[227],[267,268],{"from":220,"to":227},{"from":224,"to":227},{"text":270,"cards":271,"lines":272},"The signed GetItem request goes to DynamoDB. If authorized and valid, it looks up the primary key in the Orders table.",[230],[273],{"from":227,"to":230},{"text":275,"cards":276,"lines":277},"The same Boto3 client receives the DynamoDB response and interprets it as a success or a service error.",[233],[278],{"from":230,"to":233},{"text":280,"cards":281,"lines":282},"The application gets a parsed result or catches a ClientError for a service error that is not recovered. It can also catch a client-side exception directly from request preparation or sending, with no service response.",[236],[283,284],{"from":233,"to":236},{"from":227,"to":236},{"text":286,"cards":287},"The client makes the authenticated lookup, and the application handles the outcome whether or not DynamoDB responded.",[],{"kind":289,"title":290,"exercise":291},"exercise","Place the lookup target",{"type":292,"diagram":217,"question":293,"hidden":294,"tray":295},"palette","Fill the empty slot with the resource that GetItem reads by primary key.",[230],[296,297,299],{"component":207},{"component":212,"reason":298},"An S3 bucket stores objects addressed by object key, not DynamoDB items addressed by primary key.",{"component":193,"reason":300},"An SQS queue delivers messages; it does not look up an item by primary key.",{"kind":256,"title":302,"body":303},"Configure the destination and the caller","\u003Cp>For an Orders table in \u003Ccode>us-west-2\u003C\u002Fcode>, create the \u003Cstrong>DynamoDB client\u003C\u002Fstrong> with \u003Ccode>boto3.client('dynamodb', region_name='us-west-2')\u003C\u002Fcode>. The \u003Cstrong>Region\u003C\u002Fstrong> selects the default regional endpoint. Pass the table name and full primary key to the operation, not the constructor. For a table with a string partition key named \u003Ccode>OrderId\u003C\u002Fcode> and no sort key, call \u003Ccode>client.get_item(TableName='Orders', Key={'OrderId': {'S': 'A123'}})\u003C\u002Fcode>.\u003C\u002Fp>\u003Cp>Omit credential arguments so Boto3 uses its \u003Cstrong>credential provider chain\u003C\u002Fstrong>. In Lambda, the environment provider can read the temporary execution role credentials, including their session token. Locally, a supported alternative is a configured IAM Identity Center profile. Credentials identify the caller when the SDK signs the request; they do not replace the permission to perform \u003Ccode>dynamodb:GetItem\u003C\u002Fcode> on the table.\u003C\u002Fp>",{"kind":289,"title":305,"exercise":306},"Separate the destination from the caller",{"type":307,"question":308,"text":309,"answers":310,"distractors":313},"placeholder","Fill in what selects the endpoint and what the SDK uses to sign the request.","The client’s {} selects the default regional endpoint. In Lambda, the SDK signs with {} supplied by the runtime.",[311,312],"Region","temporary execution role credentials",[314,315,316],"table name","primary key","dynamodb:GetItem permission",{"kind":256,"title":318,"body":319},"Read a successful result","\u003Cp>On success, the Boto3 DynamoDB client returns a \u003Cstrong>response dictionary\u003C\u002Fstrong>. If DynamoDB finds the order, the dictionary contains an \u003Ccode>Item\u003C\u002Fcode> entry. The low-level client returns typed attributes, so a string value looks like \u003Ccode>{'S': 'pending'}\u003C\u002Fcode>.\u003C\u002Fp>\u003Cp>If the lookup succeeds but finds no matching order, the response \u003Cstrong>omits \u003Ccode>Item\u003C\u002Fcode>\u003C\u002Fstrong>. Use \u003Ccode>response.get('Item')\u003C\u002Fcode> after the call returns to distinguish a match from a clean miss. If the call raises an exception instead, there is no successful result to check.\u003C\u002Fp>",{"kind":289,"title":321,"exercise":322},"Trace a lookup with no match",{"type":323,"diagram":217,"scenario":324,"path":325},"trace","Follow an authorized GetItem call for an order key that is not in the table.",[326,328,330,332,334],{"card":220,"note":327},"The application configures the Region and passes the table name and key.",{"card":227,"note":329},"Boto3 signs the request with runtime-supplied credentials and sends it.",{"card":230,"note":331},"DynamoDB finds no matching order and returns success without Item.",{"card":233,"note":333},"Boto3 parses the successful response into a dictionary.",{"card":236,"note":335},"The application handles a clean miss, not an exception.",{"kind":256,"title":337,"body":338},"Handle failures on both paths","\u003Cp>When DynamoDB returns a service error and the SDK does not recover, Boto3 raises \u003Cstrong>\u003Ccode>ClientError\u003C\u002Fcode>\u003C\u002Fstrong>. Inspect \u003Ccode>error.response['Error']['Code']\u003C\u002Fcode> to distinguish causes. For example, check permissions for an access-denied error rather than retrying the unchanged request or reporting that the order is missing.\u003C\u002Fp>\u003Cp>A \u003Cstrong>client-side exception\u003C\u002Fstrong> can reach the application without DynamoDB responding. If Boto3 cannot find credentials when it tries to sign, it raises \u003Ccode>NoCredentialsError\u003C\u002Fcode> before sending anything. Failure to connect to the endpoint can also raise an exception without a service response. The SDK retries selected transient failures according to its settings; choose timeouts and retry settings that fit how long the application can wait, and keep exhausted failures separate from clean misses.\u003C\u002Fp>",{"kind":289,"title":340,"exercise":341},"Build the complete SDK call",{"type":342,"diagram":217,"question":343},"build","Draw the Lambda order lookup with its client configuration, runtime credentials, and application handling of outcomes both with and without a DynamoDB response.",{"kind":256,"title":345,"body":346,"takeaways":347},"What to remember","\u003Cp>Configure the destination, let a \u003Cstrong>credential provider\u003C\u002Fstrong> supply credentials, and handle the call’s result or exception.\u003C\u002Fp>",[348,351,354],{"title":349,"text":350},"Configure the client, then call","Set the Region on the client to select the default regional endpoint. Pass the table name and full primary key to GetItem.",{"title":352,"text":353},"Use provider-supplied credentials","Let Boto3 resolve temporary role credentials in Lambda instead of hard-coding keys. Signing identifies the caller; permissions determine what it can do.",{"title":355,"text":356},"Keep misses and failures separate","A successful GetItem response can omit Item. Handle service errors and client-side exceptions as failures, including when no service response arrives.","2026-12-02T21:40:01.535Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":360,"title":361},"event-streaming-vs-stream-processing-dva-c03","Event Streaming vs. Stream Processing",1796288615764]