Quizzes · Service

EC2

Level 0 questions on EC2. Read about it first if it's new to you.

Works with: VPC (7), IAM (3), DynamoDB (2), CloudWatch Logs (2), ECS + Fargate (1), Lambda (1), RDS (1)

  • 15 questions, from a pool of 19
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1A brand-new AWS account wants to launch an EC2 instance right away, without designing a network. Where can it go?

Choose one answer

Learn it: VPC (Virtual Private Cloud)

Question 2What does a security group attach to?

Choose one answer

Learn it: ENI (Elastic Network Interface) · Security group

Question 3The Todo.io app runs on an EC2 instance and must write to a DynamoDB table. What is the most secure way to give it AWS credentials?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · Temporary credentials · IAM role · Design Todo.io on EC2

Question 4Todo.io runs its app on EC2. A security patch for the operating system is released. Whose job is it to install it?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 5Todo.io wants every new app server to start with the same operating system and the same software already installed. What should every launch use?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 6Todo.io's app server keeps running out of memory. What should Todo.io change?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 7A Linux test server runs for about 40 minutes a day and is stopped the rest of the time. How is it billed as an On-Demand instance?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 8Todo.io stopped and started its web server overnight. Now users can't reach it at the public IP address they had. What happened?

Choose one answer

Learn it: Public IP address

Question 9Todo.io's app on EC2 has a role attached through an instance profile. Where does the AWS SDK get the role's credentials from?

Choose one answer

Learn it: Temporary credentials · IAM role

Question 10An EC2 instance sits in a private subnet with no NAT gateway. It needs to download a software update from the internet. What happens?

Choose one answer

Learn it: NAT gateway · Subnet

Question 11Todo.io's web server is in a public subnet and has a public IP, but users get a timeout on HTTPS (port 443). What should be checked first?

Choose one answer

Learn it: Security group

Question 12Which of Todo.io's compute choices still leaves Todo.io patching an operating system?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · ECS and Fargate · Lambda

Question 13What does Amazon RDS do for Todo.io that running MySQL on its own EC2 instance would not?

Choose one answer

Learn it: RDS (Relational Database Service)

Question 14Todo.io's app on EC2, in a public subnet, calls DynamoDB. Which way does the request travel?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · DynamoDB · Internet gateway

Question 15Todo.io's app on EC2 writes log files, but nothing shows up in CloudWatch Logs. What is needed?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · CloudWatch Logs

Question 16An EC2 instance in a public subnet sends its log lines to CloudWatch Logs. Which way do they travel?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · CloudWatch Logs

Question 17What does "EC2 (Elastic Compute Cloud)" mean?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 18Which term is this? "Rent a virtual server by the second."

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)

Question 19Which AWS term is described by this analogy? "Renting a computer you have to look after yourself."

Choose one answer

Learn it: EC2 (Elastic Compute Cloud)