CrackOps
Interview PrepTracksLinuxAWS LabSoonInterview RoomSoon
Sign inStart free
CrackOps

Interview prep for the people who keep production up.

[email protected]
ProductInterview PrepTracksDashboardInterview Room
RolesDevOpsSREPlatformCloud
CompanyAboutContactPrivacyTerms
© CrackOps
Tracks/AWS & Cloud Infrastructure
Beginner 4 minCommand based

What are the steps to launch an EC2 instance?

Scenario

A team needs a Linux server for a new internal API. You have console and CLI access to the AWS account, and the VPC already exists with public and private subnets.

The interviewer asks

“Walk me through how you'd launch an EC2 instance for a new application server. Take me through each step and tell me what you'd choose and why.”

The 30-second answer

I'd decide four things before clicking: what it's for, where it sits in the network, how I'll get in, and how I'll recreate it. Then on the single launch page: name and tags, a current AMI like Amazon Linux 2023, a right-sized t3/t4g type, a private subnet with a security group that only allows what the app needs, an encrypted gp3 volume, an IAM instance profile, and IMDSv2 required. I connect with Session Manager instead of opening SSH, verify status checks and the bootstrap log, and for anything beyond a one-off I put it in a launch template managed by Terraform.

Sign in to finish this question

A free account unlocks the rest of it, and saves your progress across every track.

  • The voiced mock interview (4 min)
  • The full senior answer, step by step
  • Animated architecture diagrams
  • The whole conversation, 15 turns
  • Deep dive: how it works, mistakes, risks and trade-offs
  • 6 copy-ready command snippets
  • 6 follow-up questions they'll ask next
  • A self-check of 8 things interviewers listen for
Create a free accountSign in

More AWS & Cloud Infrastructure interview questions

  • An EC2 instance can't reach the internet. How do you debug VPC connectivity?
All AWS & Cloud Infrastructure questions

Linux commands for this track

  • aws configure Set up AWS CLI credentials, region and profiles
  • aws s3 Copy, sync and list files in Amazon S3
  • aws ec2 Find, start and stop EC2 instances from the CLI
  • aws iam Inspect users, roles and policies, and debug access
  • aws eks Connect kubectl to EKS and manage cluster access
  • az Manage Azure resources with the Azure CLI
  • gcloud Manage Google Cloud with the gcloud CLI