[{"data":1,"prerenderedAt":356},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-machine-learning-engineer-associate\u002Flessons\u002Famazon-cloudwatch-centralized-log-analysis-mla-c02":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":69,"components":189,"diagrams":212,"steps":236,"dateModified":351,"course":352,"nextLesson":353},"amazon-cloudwatch-centralized-log-analysis-mla-c02","Amazon CloudWatch: centralized log analysis","How log collection, retention, access controls, and Logs Insights queries support investigation of application failures and security-relevant activity.",[190,196,200,204,208],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cloudwatch","service","Amazon CloudWatch","\u002Fimages\u002Fprovider-services\u002Famazon-cloudwatch\u002Fcovers\u002FArch_Amazon-CloudWatch_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-ec2","Amazon EC2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-opensearch-service","Amazon OpenSearch Service","\u002Fimages\u002Fprovider-services\u002Famazon-opensearch-service\u002Fcovers\u002FArch_Amazon-OpenSearch-Service_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"amazon-s3","Amazon S3","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FArch_Amazon-Simple-Storage-Service_64.png",{"key":209,"kind":210,"name":211,"icon":20,"provider":20},"users","generic","Users",[213],{"key":214,"cards":215,"groups":228,"lines":229},"centralized-log-investigation",[216,219,222,225],{"key":217,"component":197,"label":218},"application","Application and CloudWatch agent",{"key":220,"component":191,"label":221},"retained-logs","CloudWatch Logs: application log group",{"key":223,"component":191,"label":224},"query","CloudWatch Logs Insights",{"key":226,"component":209,"label":227},"investigator","Authorized investigator",[],[230,232,234],{"from":217,"to":220,"label":231},"Log events",{"from":220,"to":223,"label":233},"Retained events",{"from":223,"to":226,"label":235},"Query results",[237,263,278,299,314,317,330,333,338],{"kind":238,"title":239,"body":240,"diagram":214,"walkthrough":241},"explanation","Collect evidence before you need it","\u003Cp>\u003Cstrong>CloudWatch Logs\u003C\u002Fstrong> centralizes application and system log events so an investigation does not depend on reaching the original host. For an application on Amazon EC2, configure the \u003Cstrong>CloudWatch agent\u003C\u002Fstrong> to collect the relevant log files and send them to CloudWatch Logs. EC2 monitoring alone does not collect arbitrary application log files.\u003C\u002Fp>\u003Cp>A \u003Cstrong>log stream\u003C\u002Fstrong> holds events from a particular source, such as one application instance. A \u003Cstrong>log group\u003C\u002Fstrong> brings related streams together and provides a boundary for settings such as retention. Use consistent group names for the application and environment, and record timestamps, severity, service name, and request identifiers.\u003C\u002Fp>\u003Cp>The diagram follows \u003Cstrong>evidence flow\u003C\u002Fstrong>, not query requests or permission checks. It shows collected events becoming retained evidence, then query results available to an authorized investigator.\u003C\u002Fp>",[242,245,250,255,260],{"text":243,"cards":244},"The application writes log files on EC2. The configured CloudWatch agent collects those files; the instance role must permit delivery.",[217],{"text":246,"cards":247,"lines":248},"The agent sends log events into streams in the application log group. This group holds the centralized evidence and has its own retention setting.",[220],[249],{"from":217,"to":220},{"text":251,"cards":252,"lines":253},"CloudWatch Logs Insights queries retained events from selected log groups over a selected time range. It can filter individual events or aggregate them into summaries.",[223],[254],{"from":220,"to":223},{"text":256,"cards":257,"lines":258},"The authorized investigator receives query results. Their permissions must allow querying the intended log groups and retrieving results.",[226],[259],{"from":223,"to":226},{"text":261,"cards":262},"Collection, retained storage, querying, and authorized access form one evidence path for investigation.",[],{"kind":264,"title":265,"exercise":266},"exercise","Follow one collected error",{"type":267,"diagram":214,"scenario":268,"path":269},"trace","An application writes an error event to a file collected by its CloudWatch agent.",[270,272,274,276],{"card":217,"note":271},"The application produces the event, and the agent collects it.",{"card":220,"note":273},"The log group stores the event in a log stream.",{"card":223,"note":275},"Logs Insights includes the event when it matches the query scope and filter.",{"card":226,"note":277},"The authorized investigator receives the matching result.",{"kind":238,"title":279,"body":280,"table":281},"Keep evidence long enough, and restrict its use","\u003Cp>\u003Cstrong>Retention\u003C\u002Fstrong> is configured per log group. New log groups retain events indefinitely by default unless a retention policy is set. Choose an explicit period based on investigation needs and organizational requirements: events that age out are no longer available for queries, and extending retention later does not recover deleted evidence.\u003C\u002Fp>\u003Cp>\u003Cstrong>IAM permissions\u003C\u002Fstrong> separate delivery from investigation. An agent writing to a pre-created log group typically needs permissions such as \u003Ccode>logs:CreateLogStream\u003C\u002Fcode> and \u003Ccode>logs:PutLogEvents\u003C\u002Fcode>. Investigators need query and result permissions, including \u003Ccode>logs:StartQuery\u003C\u002Fcode> and \u003Ccode>logs:GetQueryResults\u003C\u002Fcode>. Limit access to the required groups where the action supports resource-level permissions; reading logs should not automatically allow deleting groups or changing retention.\u003C\u002Fp>\u003Cp>Retention and authorization solve different problems: keeping an event does not grant permission to read it. For this evidence path, keep the searchable copy in \u003Cstrong>CloudWatch Logs\u003C\u002Fstrong>; putting files in Amazon S3 alone does not make them available to CloudWatch Logs Insights. Avoid logging passwords, access tokens, or unnecessary personal data in the first place.\u003C\u002Fp>",{"columns":282,"rows":286},[283,284,285],"Control","What it decides","Investigation effect",[287,291,295],[288,289,290],"Collection configuration","Which files are delivered","Evidence exists centrally",[292,293,294],"Log group retention","How long events remain","Older evidence stays queryable",[296,297,298],"IAM authorization","Who can perform actions","Evidence access is restricted",{"kind":264,"title":300,"exercise":301},"Restore the searchable evidence store",{"type":302,"diagram":214,"requirement":303,"change":304,"tray":305,"hint":312,"explanation":313},"flaw","Keep application events in a log group with a retention policy, available for authorized CloudWatch Logs Insights queries.",{"card":220,"component":205},[306,308,310],{"component":191,"reason":307},"CloudWatch Logs stores the log group that Logs Insights queries.",{"component":205,"reason":309},"Files stored only in S3 are not a CloudWatch Logs log group for Logs Insights to query.",{"component":201,"reason":311},"An OpenSearch data store is not the CloudWatch Logs log group used by this Logs Insights evidence path.","Logs Insights needs the retained events in CloudWatch Logs, not just files in another storage service.","Restore CloudWatch Logs as the evidence store. Its log group provides the retained events for Logs Insights; the retention setting and IAM permissions still need to be configured separately.",{"kind":238,"title":315,"body":316},"Narrow an investigation with Logs Insights","\u003Cp>In \u003Cstrong>CloudWatch Logs Insights\u003C\u002Fstrong>, first select the relevant log groups and incident time range. Narrow selections reduce irrelevant results and the data scanned. Structured JSON logs make fields easier to use: assume each event includes \u003Ccode>level\u003C\u002Fcode>, \u003Ccode>service\u003C\u002Fcode>, \u003Ccode>requestId\u003C\u002Fcode>, and \u003Ccode>message\u003C\u002Fcode>. In supported logs, Logs Insights automatically discovers JSON fields; unstructured messages may need \u003Ccode>parse\u003C\u002Fcode>.\u003C\u002Fp>\u003Cp>This \u003Cstrong>Logs Insights QL\u003C\u002Fstrong> query lists recent errors: \u003Ccode>fields @timestamp, service, requestId, message | filter level = \"ERROR\" | sort @timestamp desc | limit 20\u003C\u002Fcode>. The pipe passes results between commands. \u003Ccode>fields\u003C\u002Fcode> chooses displayed fields, \u003Ccode>filter\u003C\u002Fcode> keeps matching events, \u003Ccode>sort\u003C\u002Fcode> orders them, and \u003Ccode>limit\u003C\u002Fcode> caps the returned rows. A result limit alone is not a substitute for narrowing the time range.\u003C\u002Fp>\u003Cp>Use a matching \u003Cstrong>request identifier\u003C\u002Fstrong> to gather the surrounding events, including non-error messages, across the selected application groups. An error message is evidence, not necessarily the root cause: earlier events can reveal a dependency failure, rejected input, or authorization denial that led to it.\u003C\u002Fp>",{"kind":264,"title":318,"exercise":319},"Match two query commands to their jobs",{"type":320,"question":321,"text":322,"answers":323,"distractors":326},"placeholder","Complete the description of the error query.","Use {} to keep only ERROR events. Use {} to put the newest matching events first.",[324,325],"filter","sort",[327,328,329],"fields","limit","parse",{"kind":238,"title":331,"body":332},"Use the same evidence path for failures and suspicious activity","\u003Cp>For an application failure, verify \u003Cstrong>collection\u003C\u002Fstrong> before interpreting an empty query: check the configured file path, delivery permissions, and whether new events appear in the expected stream. Then check that retention still covers the incident and that your role can query the group. An empty result can mean missing evidence, the wrong scope, or no matching events; it does not by itself prove healthy operation.\u003C\u002Fp>\u003Cp>For security-relevant application activity, log explicit outcomes such as authentication failures and authorization denials, with useful context that excludes secrets. If JSON events contain \u003Ccode>eventType\u003C\u002Fcode> and \u003Ccode>sourceIp\u003C\u002Fcode>, this query summarizes failed sign-ins: \u003Ccode>filter eventType = \"AUTH_FAILURE\" | stats count(*) as failures by sourceIp | sort failures desc\u003C\u002Fcode>. \u003Cstrong>stats\u003C\u002Fstrong> aggregates matching events instead of returning each original message. A high count is a lead to investigate, not proof of an attack.\u003C\u002Fp>\u003Cp>The complete workflow still uses the diagram's \u003Cstrong>evidence path\u003C\u002Fstrong>: configured collection feeds a retained log group, Logs Insights examines the selected events, and an authorized investigator receives the results. Use an aggregate to locate a pattern, then return to individual events and request identifiers to understand what happened.\u003C\u002Fp>",{"kind":264,"title":334,"exercise":335},"Rebuild the investigation evidence path",{"type":336,"diagram":214,"question":337},"build","Rebuild the taught evidence-flow diagram for investigating application errors and failed sign-ins, using every card and showing only evidence flow, not query requests or permission checks.",{"kind":238,"title":339,"body":340,"takeaways":341},"What to remember","\u003Cp>Reliable investigation depends on \u003Cstrong>collecting the right events\u003C\u002Fstrong>, retaining them long enough, restricting access, and querying a deliberate scope before interpreting the results.\u003C\u002Fp>",[342,345,348],{"title":343,"text":344},"Collect usable evidence","Configure log delivery explicitly and verify that events arrive. Structured fields and request identifiers make failures and security-relevant activity easier to investigate.",{"title":346,"text":347},"Preserve and protect","Retention belongs to the log group; extending it cannot recover deleted events. Separate log-writing, investigation, and administrative permissions.",{"title":349,"text":350},"Query, then interpret","Select relevant groups and time ranges, filter individual events, and aggregate patterns with stats. Empty results or high counts require context, not automatic conclusions.","2026-10-29T23:45:44.685Z",{"pageSlug":117,"code":116,"certification":115,"certificationSlug":117},{"slug":354,"title":355},"amazon-s3-and-amazon-efs-object-storage-versus-shared-files-mla-c02","Amazon S3 and Amazon EFS: object storage versus shared files",1796130179265]