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 Associate (SAA-C03)AWS SAA-C03 Practice Exam 3Question 34
    Hard1 markMultiple Choice
    Domain 2.1: Scalable ArchitecturesDomain 2Auto ScalingLifecycle Hooks

    AWS SAA-C03 · Question 34 · Domain 2.1: Scalable Architectures

    An Auto Scaling group is scaling in. Before an EC2 instance is terminated, the application needs 5 minutes to upload local log files to Amazon S3. How can a solutions architect ensure the instance is not terminated before the upload completes?

    Answer options:

    A.

    Increase the Auto Scaling cooldown period.

    B.

    Use an Auto Scaling lifecycle hook.

    C.

    Enable termination protection on the EC2 instance.

    D.

    Modify the instance's shutdown behavior to 'Stop'.

    How to approach this question

    Identify the need to pause an ASG termination. Lifecycle hooks are designed for this.

    Full Answer

    B.Use an Auto Scaling lifecycle hook.✓ Correct
    Auto Scaling lifecycle hooks enable you to perform custom actions by pausing instances as an Auto Scaling group launches or terminates them. You can use a terminating lifecycle hook to pause the instance, upload logs, and then complete the termination.

    Common mistakes

    Thinking the cooldown period affects the termination process of a single instance.
    Question 33All questionsQuestion 35

    Practice the full AWS SAA-C03 Practice Exam 3

    65 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A company stores sensitive documents in an Amazon S3 bucket. The security team requires that only...EasyQ02A large enterprise uses AWS Organizations to manage multiple accounts. The security team wants to...MediumQ03A company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (AL...EasyQ04A company wants to continuously monitor its AWS accounts for malicious activity and unauthorized ...MediumQ05A company needs to encrypt data at rest in Amazon RDS and manage database credentials securely. T...Medium
    View all 65 questions →