[{"data":1,"prerenderedAt":382},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-solutions-architect-professional\u002Flessons\u002Famazon-dynamodb-and-amazon-elasticache-state-storage-and-caching-boundaries-sap-c03":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},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,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"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":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},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":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},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":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},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":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"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":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"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","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},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":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},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":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},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":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},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":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},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":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},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":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},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":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},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":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},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":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":17,"components":189,"diagrams":217,"steps":243,"dateModified":377,"course":378,"nextLesson":379},"amazon-dynamodb-and-amazon-elasticache-state-storage-and-caching-boundaries-sap-c03","Amazon DynamoDB and Amazon ElastiCache: state storage and caching boundaries","How DynamoDB's role as an authoritative state store and DAX's table-integrated caching differ from ElastiCache's application-managed caching role.",[190,196,200,204,208,212],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cloudfront","service","Amazon CloudFront","\u002Fimages\u002Fprovider-services\u002Famazon-cloudfront\u002Fcovers\u002FArch_Amazon-CloudFront_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-dynamodb","Amazon DynamoDB","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FArch_Amazon-DynamoDB_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-elastic-container-service-(amazon-ecs)","Amazon Elastic Container Service (Amazon ECS)","\u002Fimages\u002Fprovider-services\u002Famazon-elastic-container-service-(amazon-ecs)\u002Fcovers\u002FArch_Amazon-Elastic-Container-Service_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"amazon-elasticache","Amazon ElastiCache","\u002Fimages\u002Fprovider-services\u002Famazon-elasticache\u002Fcovers\u002FArch_Amazon-ElastiCache_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"amazon-memorydb-for-redis","Amazon MemoryDB for Redis","\u002Fimages\u002Fprovider-services\u002Famazon-memorydb-for-redis\u002Fcovers\u002FArch_Amazon-MemoryDB-for-Redis_64.png",{"key":213,"kind":214,"name":215,"icon":216,"provider":195},"amazon-dynamodb-table","part","Amazon DynamoDB table","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FRes_Amazon-DynamoDB_Table_48.png",[218],{"key":219,"cards":220,"groups":233,"lines":234},"state-and-cache-boundaries",[221,224,227,230],{"key":222,"component":201,"label":223},"application","Stateless application",{"key":225,"component":197,"label":226},"dax","DynamoDB Accelerator (DAX)",{"key":228,"component":213,"label":229},"state","Authoritative application state",{"key":231,"component":205,"label":232},"response-cache","Memcached derived-response cache",[],[235,237,239,241],{"from":222,"to":225,"label":236},"Item reads",{"from":225,"to":228,"label":238},"Cache misses",{"from":222,"to":228,"label":240},"Writes, strong reads",{"from":222,"to":231,"label":242},"Cache commands",[244,275,297,323,336,339,351,354,364],{"kind":245,"title":246,"body":247,"table":248},"explanation","Separate authority from acceleration","\u003Cp>An \u003Cstrong>authoritative state store\u003C\u002Fstrong> defines the application's durable record. When DynamoDB has that role, losing a cached copy must not erase the underlying business state. Externalizing this state lets application instances remain replaceable; putting state outside a process does not, by itself, establish its durability or correctness.\u003C\u002Fp>\u003Cp>\u003Cstrong>DAX\u003C\u002Fstrong> accelerates supported DynamoDB operations through a DAX client and endpoint. Its caching is integrated with DynamoDB requests and table data; it is not a separate keyspace for arbitrary application results. DynamoDB remains the authority.\u003C\u002Fp>\u003Cp>\u003Cstrong>ElastiCache\u003C\u002Fstrong>, when used as an application cache, exposes engine operations rather than DynamoDB operations. The application chooses cache keys, encodes values, and coordinates cached content with its source. It can cache a computed response spanning several records, whereas DAX caches supported DynamoDB reads rather than arbitrary application computations.\u003C\u002Fp>",{"columns":249,"rows":254},[250,251,252,253],"Boundary","DynamoDB","DAX","ElastiCache as cache",[255,260,265,270],[256,257,258,259],"Role","Authoritative record","DynamoDB acceleration","Application acceleration",[261,262,263,264],"Data addressed","Table items","DynamoDB requests","Application-defined keys",[266,267,268,269],"Cache coordination","Not a cache role","DAX-managed caching","Application-managed logic",[271,272,273,274],"Arbitrary computed payload","Explicitly stored item","Not a general cache","Application-defined value",{"kind":276,"title":277,"exercise":278},"exercise","Place the caching responsibility",{"type":279,"question":280,"groups":281,"statements":283},"versus","Sort each statement by the caching role it describes.",[252,282],"ElastiCache as an application cache",[284,287,289,291,293,295],{"text":285,"group":286},"Uses a DAX client and endpoint for supported DynamoDB operations.",0,{"text":288,"group":286},"Caches supported DynamoDB reads rather than arbitrary computed responses.",{"text":290,"group":286},"Integrates caching with DynamoDB table access.",{"text":292,"group":12},"Lets the application choose a key for a computed multi-record response.",{"text":294,"group":12},"Requires application logic to encode the cached value.",{"text":296,"group":12},"Exposes cache-engine operations instead of DynamoDB operations.",{"kind":245,"title":298,"body":299,"diagram":219,"walkthrough":300},"Draw two distinct caching boundaries","\u003Cp>This architecture uses \u003Cstrong>DAX for item reads\u003C\u002Fstrong> and \u003Cstrong>ElastiCache for Memcached for derived responses\u003C\u002Fstrong>. All state writes go directly to DynamoDB, as do reads that explicitly require strong consistency. The arrows show outbound requests only; response traffic and internal replication are omitted.\u003C\u002Fp>\u003Cp>The Memcached choice is deliberate: the application uses Memcached commands for its response cache. \u003Cstrong>Amazon MemoryDB\u003C\u002Fstrong> is a Redis-compatible database, not a Memcached endpoint. \u003Cstrong>Amazon CloudFront\u003C\u002Fstrong> caches HTTP content at the edge, not values accessed through backend Memcached commands; neither supplies DAX's DynamoDB-aware caching role.\u003C\u002Fp>",[301,304,309,315,320],{"text":302,"cards":303},"The stateless application owns request handling and chooses which access path matches each operation.",[222],{"text":305,"cards":306,"lines":307},"For cacheable item reads, the application uses its DAX client. DAX can answer supported reads from its cache.",[225],[308],{"from":222,"to":225},{"text":310,"cards":311,"lines":312},"A DAX read miss reaches the authoritative DynamoDB table. The application also accesses that table directly for state writes and explicitly strongly consistent reads.",[228],[313,314],{"from":225,"to":228},{"from":222,"to":228},{"text":316,"cards":317,"lines":318},"The application sends Memcached commands to ElastiCache to look up or store derived responses. ElastiCache does not fetch missing DynamoDB data on the application's behalf.",[231],[319],{"from":222,"to":231},{"text":321,"cards":322},"The application selects the access path, DynamoDB owns authoritative state, and the two caches accelerate different representations.",[],{"kind":276,"title":324,"exercise":325},"Restore the two cache roles",{"type":326,"diagram":219,"question":327,"hidden":328,"tray":329},"palette","Fill the two cache slots: DynamoDB-aware item caching and the application's Memcached response cache. In this diagram, the Amazon DynamoDB service icon represents DynamoDB Accelerator (DAX), as its label specifies; the separate Amazon DynamoDB table icon already represents authoritative storage.",[225,231],[330,331,332,334],{"component":197},{"component":205},{"component":209,"reason":333},"MemoryDB is a Redis-compatible database, not a DAX cache or a Memcached endpoint.",{"component":191,"reason":335},"CloudFront caches HTTP content at the edge, not DynamoDB API reads or backend Memcached values.",{"kind":245,"title":337,"body":338},"A miss reveals who owns the lookup","\u003Cp>For a supported \u003Cstrong>eventually consistent item read\u003C\u002Fstrong>, the application sends a DynamoDB-shaped request to DAX. On a cache hit, DAX serves it; on a miss, DAX reads DynamoDB and caches the result. The application does not implement a separate cache lookup and population sequence for that DAX request.\u003C\u002Fp>\u003Cp>A \u003Cstrong>Memcached miss\u003C\u002Fstrong> has a different boundary: ElastiCache reports that the key has no cached value. Application code must obtain the source data, compute the response, and store the chosen representation. There is therefore no ElastiCache-to-DynamoDB request arrow in this architecture.\u003C\u002Fp>\u003Cp>\u003Cstrong>Strong consistency\u003C\u002Fstrong> is not a property added by caching. DAX does not serve strongly consistent reads from its cache; this design sends those reads directly to DynamoDB. Likewise, rebuilding a derived response from cached inputs does not make the response fresher than those inputs.\u003C\u002Fp>",{"kind":276,"title":340,"exercise":341},"Follow one DAX read miss",{"type":342,"diagram":219,"scenario":343,"path":344},"trace","The application sends an eventually consistent GetItem through DAX, and DAX has no cached result.",[345,347,349],{"card":222,"note":346},"Issue the GetItem request through the DAX client.",{"card":225,"note":348},"Detect the cache miss and forward the read.",{"card":228,"note":350},"Read the authoritative item; DAX can cache the returned result.",{"kind":245,"title":352,"body":353},"Keep correctness outside cache assumptions","\u003Cp>\u003Cstrong>Table integration is not universal coherence.\u003C\u002Fstrong> A write sent directly to DynamoDB does not automatically invalidate an existing DAX entry or an application-defined ElastiCache response. DAX can forward supported writes, but this architecture deliberately uses direct table writes; that choice must not be mistaken for a cache-refresh mechanism.\u003C\u002Fp>\u003Cp>A successful \u003Cstrong>DynamoDB write\u003C\u002Fstrong> is the authoritative state change here. Updating or deleting a cached response is separate work, not an atomic extension of that write. A caller that must observe current state should use the strongly consistent table-read path rather than treat either cache as proof of freshness.\u003C\u002Fp>\u003Cp>\u003Cstrong>Cache recovery\u003C\u002Fstrong> also follows ownership: DAX can repopulate supported reads from DynamoDB, while the application reconstructs missing Memcached responses. Both caches are disposable in this design. ElastiCache can serve other state roles in other designs, but selecting a managed engine does not automatically establish a caching or durability contract.\u003C\u002Fp>",{"kind":276,"title":355,"exercise":356},"Rebuild the state and caching boundaries",{"type":357,"diagram":219,"question":358,"decoys":359},"build","Rebuild the taught architecture and label its outbound requests, using ECS for the stateless application, the Amazon DynamoDB service icon labeled DynamoDB Accelerator (DAX) exclusively for the item cache, the separate Amazon DynamoDB table icon for authoritative state, and ElastiCache for the Memcached response cache.",[360,362],{"component":209,"reason":361},"MemoryDB is Redis-compatible and cannot provide the response cache's required Memcached interface or DAX's DynamoDB-aware caching.",{"component":191,"reason":363},"CloudFront provides HTTP edge caching, not the response cache's backend Memcached interface or DAX's DynamoDB-aware caching.",{"kind":245,"title":365,"body":366,"takeaways":367},"What to remember","\u003Cp>Choose the \u003Cstrong>authority\u003C\u002Fstrong> first, then distinguish DynamoDB-aware acceleration from application-managed cached representations.\u003C\u002Fp>",[368,371,374],{"title":369,"text":370},"DynamoDB owns the record","In this design, durable business state lives in DynamoDB. Cache contents are replaceable, not the authority.",{"title":372,"text":373},"DAX understands DynamoDB","DAX caches supported DynamoDB reads and handles their misses. Table integration does not make cached reads strongly consistent or automatically observe direct table writes.",{"title":375,"text":376},"ElastiCache needs application logic","The application defines cached values and coordinates them with source data. A missing derived response must be reconstructed by the application, not fetched automatically by ElastiCache.","2026-11-16T09:41:57.328Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":380,"title":381},"message-ordering-vs-idempotency-sap-c03","Message Ordering vs. Idempotency",1796130188080]