Timedora
Free Practice Quiz Question List

2 Amazon EC2 Instances and Scaling Online Quiz Questions

Use this free practice quiz with 20 questions to review 2 Amazon EC2 Instances and Scaling, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

An application uses instance store for valuable data. If its instance is stopped, will that data remain available when the instance starts again?

  1. A

    True

  2. B

    False

02
Choose one
1 point

A batch-processing application is limited by processor capacity rather than memory or storage. Which instance family is the best one to evaluate first?

  1. A

    Memory optimized

  2. B

    Compute optimized

  3. C

    Storage optimized

  4. D

    Accelerated computing

03
Fill in the blank
1 point

Before launching an EC2 instance, you select a bootable template that specifies the operating system and software. This template is an .

04
Written response
1 point

You have not enabled detailed monitoring for an EC2 instance. By default, how often are its basic metrics sent to CloudWatch, in minutes?

05
Choose one
1 point

A service must keep the same public IPv4 address after its EC2 instance is stopped and started. Which networking resource should you use?

  1. A

    A private IP address

  2. B

    A security group

  3. C

    An Elastic IP

  4. D

    A subnet tag

06
Choose all
1 point

You are configuring security groups for a public web server. Select all practices that follow the recommended access-control approach.

  1. A

    Allow inbound HTTPS from clients.

  2. B

    Allow inbound SSH from every source so administrators can connect easily.

  3. C

    Restrict administrative access to a trusted source.

  4. D

    Disable inbound rules because security groups cannot filter incoming traffic.

07
True or false
1 point

An EC2 Auto Scaling group can replace instances that its health checks identify as unhealthy.

  1. A

    True

  2. B

    False

08
Fill in the blank
1 point

A team wants to reuse launch settings as the configuration for a group that manages EC2 instance capacity. A launch template can provide the configuration for an .

09
Choose one
1 point

An application running on an EC2 instance needs permission to access an AWS service. Which approach provides access while following least-privilege guidance?

  1. A

    Put long-term access keys in the application's source code.

  2. B

    Attach an IAM instance profile with only the required permissions.

  3. C

    Store private credentials in the AMI.

  4. D

    Allow all inbound traffic through the security group.

10
Choose all
1 point

A team is evaluating Spot Instances for a batch workload. Select all statements that accurately describe Spot usage.

  1. A

    Spot Instances use spare capacity.

  2. B

    Spot Instances guarantee uninterrupted capacity for long-running workloads.

  3. C

    Spot Instances can be interrupted.

  4. D

    Spot Instances are unsuitable for every workload, including interruption-tolerant ones.

11
Written response
1 point

A web service should adjust its Auto Scaling group capacity to maintain a chosen average CPU utilization. Which scaling policy type can do this?

12
True or false
1 point

Setting an AWS Budgets alert necessarily creates an immediate cap that prevents spending beyond the budget.

  1. A

    True

  2. B

    False

13
Choose one
1 point

A team has steady EC2 usage and is willing to make a usage commitment to reduce eligible costs. Which purchasing option should it evaluate?

  1. A

    Use Spot Instances because they cannot be interrupted.

  2. B

    Consider Savings Plans if the commitment fits the steady usage and flexibility needs.

  3. C

    Choose On-Demand pricing because it requires a usage commitment.

  4. D

    Terminate all instances because no pricing option applies to steady usage.

14
Open ended
1 point

An EC2 instance has low CPU utilization, but users report that the application is failing requests. Explain why CPU alone cannot establish application health, and name one other kind of signal or check the team should monitor.

15
Choose one
1 point

You are preparing an EC2 instance and need to choose a bootable template that specifies its operating system and software. Which launch setting should you select?

  1. A

    A security group

  2. B

    An Amazon Machine Image (AMI)

  3. C

    An IAM instance profile

  4. D

    A launch template

16
Choose one
1 point

Testing shows that an application server is constrained by processor-intensive batch processing. Which instance family is the most appropriate one to compare?

  1. A

    Memory optimized

  2. B

    Storage optimized

  3. C

    Compute optimized

  4. D

    General purpose

17
Written response
1 point

Which AWS storage service provides persistent block storage that can be attached to an EC2 instance and managed separately from it?

18
Choose one
1 point

A public web server needs to accept HTTPS requests from clients, while administrative access must be limited to a trusted source. Which EC2 setting should you configure to control this allowed traffic?

  1. A

    An AMI

  2. B

    A subnet

  3. C

    A security group

  4. D

    An instance store volume

19
Written response
1 point

By default, how many minutes apart does Amazon EC2 send basic metrics, such as CPU and network measurements, to CloudWatch?

20
Choose one
1 point

Which EC2 purchasing option uses spare capacity and may be interrupted, making it suitable for workloads that can tolerate interruptions?

  1. A

    On-Demand

  2. B

    Spot Instances

  3. C

    Savings Plans