What integrated feature of EC2 allows an architect to run a custom script when an instance is launched for the first time (e.g., to install a web server)?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: User Data

EC2 User Data scripts are commonly used for bootstrapping instances with software and configurations....

📋Part of AWS Certified Solutions Architect – Associate (SAA-C03) · AWS Certification Practice
Real Exam ScenarioAmazon EC2

What integrated feature of EC2 allows an architect to run a custom script when an instance is launched for the first time (e.g., to install a web server)?

✓ Correct Answer & ExplanationAmazon EC2

Correct Answer

User Data

Why This Answer Is Correct

EC2 User Data scripts are commonly used for bootstrapping instances with software and configurations.

📚 What This Question Tests

This question evaluates your knowledge of Amazon EC2 — a core concept tested in AWS Certified Solutions Architect – Associate (SAA-C03). Understanding Amazon EC2 is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.