[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fasynchronous-communication-vs-synchronous-communication-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":218,"steps":257,"dateModified":369,"course":370,"nextLesson":371},"asynchronous-communication-vs-synchronous-communication-dva-c03","Asynchronous Communication vs. Synchronous Communication","How to choose between returning the outcome in the same request and deferring it based on when the caller needs the result or must act on a failure.",[192,198,202,206,210,214],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-api-gateway","service","Amazon API Gateway","\u002Fimages\u002Fprovider-services\u002Famazon-api-gateway\u002Fcovers\u002FArch_Amazon-API-Gateway_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"amazon-eventbridge","Amazon EventBridge","\u002Fimages\u002Fprovider-services\u002Famazon-eventbridge\u002Fcovers\u002FArch_Amazon-EventBridge_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"amazon-simple-notification-service-(amazon-sns)","Amazon Simple Notification Service (Amazon SNS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-notification-service-(amazon-sns)\u002Fcovers\u002FArch_Amazon-Simple-Notification-Service_64.png",{"key":207,"kind":194,"name":208,"icon":209,"provider":197},"amazon-simple-queue-service-(amazon-sqs)","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png",{"key":211,"kind":194,"name":212,"icon":213,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":215,"kind":216,"name":217,"icon":20,"provider":20},"users","generic","Users",[219],{"key":220,"cards":221,"groups":243,"lines":244},"quote-and-report",[222,225,228,231,234,237,240],{"key":223,"component":215,"label":224},"caller","Application user",{"key":226,"component":193,"label":227},"api","Quote and report API",{"key":229,"component":211,"label":230},"quote","Calculate quote",{"key":232,"component":207,"label":233},"queue","Report request queue",{"key":235,"component":211,"label":236},"worker","Generate report",{"key":238,"component":199,"label":239},"bus","Report outcome bus",{"key":241,"component":203,"label":242},"email","Report outcome topic",[],[245,247,249,251,253,255],{"from":223,"to":226,"label":246},"API request",{"from":226,"to":229,"label":248},"synchronous invocation",{"from":226,"to":232,"label":250},"report command",{"from":232,"to":235,"label":252},"queued command",{"from":235,"to":238,"label":254},"report outcome",{"from":238,"to":241,"label":256},"matched event",[258,299,312,315,333,336,348,351,356],{"kind":259,"title":260,"body":261,"diagram":220,"walkthrough":262},"explanation","One API, two promises","\u003Cp>Imagine an application that shows a shipping quote before the user can choose a delivery option. The quote request is \u003Cstrong>synchronous\u003C\u002Fstrong>: the application needs the price, or an error it can act on, in the response to that request.\u003C\u002Fp>\u003Cp>The same application lets the user request a report and leave the page. Report generation is \u003Cstrong>asynchronous\u003C\u002Fstrong>: the API answers whether it accepted the request, while a separate path reports the outcome later. The arrows show where requests, work, and outcome events go; HTTP replies and final email delivery are not drawn.\u003C\u002Fp>",[263,266,271,276,281,286,291,296],{"text":264,"cards":265},"The user can ask for a shipping quote or request a report.",[223],{"text":267,"cards":268,"lines":269},"Amazon API Gateway receives both requests and selects the integration for the requested route.",[226],[270],{"from":223,"to":226},{"text":272,"cards":273,"lines":274},"The quote route invokes Lambda synchronously. API Gateway waits for the invocation so it can return the quote or report an error on the original request.",[229],[275],{"from":226,"to":229},{"text":277,"cards":278,"lines":279},"The report route sends a command to Amazon SQS. Once SQS accepts it, the route can return HTTP 202 Accepted without waiting for the report.",[232],[280],{"from":226,"to":232},{"text":282,"cards":283,"lines":284},"A Lambda event source mapping polls the queue and invokes the report worker with the queued command.",[235],[285],{"from":232,"to":235},{"text":287,"cards":288,"lines":289},"The report worker publishes an outcome event to Amazon EventBridge when the report is ready or when it detects a failure that ends the job.",[238],[290],{"from":235,"to":238},{"text":292,"cards":293,"lines":294},"An EventBridge rule forwards matching report outcomes to an Amazon SNS topic configured with an email subscription.",[241],[295],{"from":238,"to":241},{"text":297,"cards":298},"The quote path returns the outcome in the original request; the report path acknowledges submission and communicates the outcome separately.",[],{"kind":300,"title":301,"exercise":302},"exercise","Follow the quote request",{"type":303,"diagram":220,"scenario":304,"path":305},"trace","Trace a shipping quote request to the code that calculates the price the user needs before choosing a delivery option.",[306,308,310],{"card":223,"note":307},"The application asks for a quote before offering the next choice.",{"card":226,"note":309},"The quote route invokes its Lambda function and waits for the invocation result.",{"card":229,"note":311},"The function calculates the price that API Gateway can return in the original response.",{"kind":259,"title":313,"body":314},"Choose by what the caller needs next","\u003Cp>Start with the caller's \u003Cstrong>next decision\u003C\u002Fstrong>. If it needs the result to take that step, or must respond to a reported failure before proceeding, return the outcome in the same request. In the quote flow, the user needs the price to choose a delivery option and needs to know right away if no quote is available.\u003C\u002Fp>\u003Cp>Choose \u003Cstrong>deferred completion\u003C\u002Fstrong> when the caller can continue or leave after acceptance, and can act on success or failure later. Moving work off the request path shortens the wait for a reply, not necessarily the wait for the result: time spent in a queue can make completion take longer. If a required result cannot reliably fit within the request deadline, redesign the interaction to support a pending state rather than treating acceptance as the result.\u003C\u002Fp>",{"kind":300,"title":316,"exercise":317},"Decide when the outcome is needed",{"type":318,"question":319,"groups":320,"statements":323},"versus","Sort each requirement by whether the original response must contain the outcome or whether the caller can act on it later.",[321,322],"Outcome in the original response","Outcome can arrive later",[324,327,329,331],{"text":325,"group":326},"Return the shipping price in the reply to the quote request; a pending status is not enough.",0,{"text":328,"group":326},"If the address is invalid, include the fields to correct in the reply to the address check.",{"text":330,"group":12},"Let the user close the page after the report request is accepted and come back for the finished report.",{"text":332,"group":12},"Let the user fix the report inputs after receiving a later processing failure notice.",{"kind":259,"title":334,"body":335},"Acknowledge only what has happened","\u003Cp>In the report flow, \u003Cstrong>HTTP 202 Accepted\u003C\u002Fstrong> means the API handed the command to the queue. It does not mean the worker started or the report succeeded. If the submission is rejected, report that rejection in the original response rather than returning 202.\u003C\u002Fp>\u003Cp>The API's call to send the command to \u003Cstrong>Amazon SQS\u003C\u002Fstrong> can itself be synchronous: the API waits to learn whether the queue accepted it. The business operation is still asynchronous because the API does not wait for the worker. SQS holds the command for polling; the API handles the HTTP exchange, and the outcome bus routes events after processing.\u003C\u002Fp>",{"kind":300,"title":337,"exercise":338},"Place the handoff before the work",{"type":339,"diagram":220,"question":340,"hidden":341,"tray":342},"palette","Fill the empty slot with the component that accepts the report command and holds it until it is polled.",[232],[343,344,346],{"component":207},{"component":199,"reason":345},"The outcome bus routes matching events after processing; it is not the command queue polled by the worker.",{"component":193,"reason":347},"The API receives the HTTP request but does not hold the command for the worker to poll.",{"kind":259,"title":349,"body":350},"Give deferred failures a return path","\u003Cp>Once the API returns \u003Cstrong>202 Accepted\u003C\u002Fstrong>, it cannot use that response to report a later processing failure. Give the caller a separate \u003Cstrong>outcome path\u003C\u002Fstrong>. In the report flow, the worker publishes an event when the report is ready or when it detects a failure that ends the job. A report identifier links the notice to the original request.\u003C\u002Fp>\u003Cp>\u003Cstrong>Amazon EventBridge\u003C\u002Fstrong> matches the outcome event and routes it to an \u003Cstrong>Amazon SNS\u003C\u002Fstrong> topic for email delivery. If an input file is missing, the notice can ask the user to supply it again. The interface could also keep the user on the same screen with a \u003Cstrong>pending\u003C\u002Fstrong> status while it waits for a deferred check. Keep a check in the original request only if its outcome must be in that reply; staying on the same screen does not by itself require that.\u003C\u002Fp>",{"kind":300,"title":352,"exercise":353},"Build both paths",{"type":354,"diagram":220,"question":355},"build","Draw the API design that returns the quote outcome in the original response, acknowledges report requests without waiting for processing, and emails the report outcome later.",{"kind":259,"title":357,"body":358,"takeaways":359},"What to remember","\u003Cp>Choose the communication pattern by when the caller needs the outcome or must act on a failure.\u003C\u002Fp>",[360,363,366],{"title":361,"text":362},"Return what blocks the next step","Use a synchronous response when the caller needs the result or a reported error before it can proceed.",{"title":364,"text":365},"Acceptance is not completion","An API can wait for SQS to accept a command without waiting for the work itself. A 202 response confirms acceptance, not business success.",{"title":367,"text":368},"Make later outcomes visible","If work finishes after the request ends, give the caller a separate way to learn the result or act on a failure.","2026-12-02T21:40:01.528Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":372,"title":373},"graceful-degradation-vs-retry-policies-dva-c03","Graceful Degradation vs. Retry Policies",1796288613771]