For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 7Question 11
    Medium1 markMultiple Choice
    Domain 3.1: Operational ExcellenceOperational ExcellenceSystems ManagerCloudWatch

    AWS SAP-C02 · Question 11 · Domain 3.1: Operational Excellence

    A company has a legacy monolithic application running on a single large EC2 instance. The application frequently crashes due to memory leaks. The company wants to improve operational excellence by automatically detecting these crashes and restarting the application service without manual intervention. Which solution requires the LEAST operational overhead?

    Answer options:

    A.

    Write a cron job on the EC2 instance that checks memory usage and restarts the service if it exceeds 90%.

    B.

    Install the CloudWatch agent on the EC2 instance to monitor memory usage. Create a CloudWatch alarm that triggers an AWS Systems Manager Automation document to restart the service.

    C.

    Migrate the application to AWS Elastic Beanstalk and configure health checks to automatically replace the instance on failure.

    D.

    Use AWS Lambda triggered by VPC Flow Logs to detect dropped connections and restart the EC2 instance.

    How to approach this question

    Identify the native AWS service for automated remediation on EC2.

    Full Answer

    B.Install the CloudWatch agent on the EC2 instance to monitor memory usage. Create a CloudWatch alarm that triggers an AWS Systems Manager Automation document to restart the service.✓ Correct
    AWS Systems Manager Automation can be triggered by CloudWatch alarms to perform automated remediation tasks, such as restarting a service, minimizing manual intervention.

    Common mistakes

    Choosing instance replacement when only a service restart is needed.
    Question 10All questionsQuestion 12

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 7

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is designing a multi-region network architecture connecting 50 AWS accounts a...HardQ02A company is migrating its hybrid network to AWS. They have two 10 Gbps AWS Direct Connect connec...HardQ03An enterprise has 100 AWS accounts in AWS Organizations. The security team mandates that all Amaz...MediumQ04A financial company requires that all EBS volumes, S3 buckets, and RDS databases be encrypted usi...EasyQ05An enterprise is designing a disaster recovery strategy for a critical application running on Ama...Hard
    View all 75 questions →