Amazon Elastic Compute Cloud (EC2) Interview Questions 2022

Amazon EC2 Mac Instances

Amazon Elastic Compute Cloud (Amazon EC2) Mac instances allow customers to run on-demand macOS workloads in the cloud for the first time, extending the flexibility, scalability, and cost benefits of AWS to all Apple developers. With EC2 Mac instances, developers creating apps for iPhone, iPad, Mac, Apple Watch, Apple TV, and Safari can provision and access macOS environments within minutes, dynamically scale capacity as needed, and benefit from AWS’s pay-as-you-go pricing.

Amazon Elastic Compute cloud

x86-based EC2 Mac instances are built on Apple Mac mini computers featuring Intel Core i7 processors and are powered by the AWS Nitro System. They offer customers a choice of macOS Mojave (10.14), macOS Catalina (10.15), macOS Big Sur (11), and macOS Monterey (12) as Amazon Machine Images (AMIs).

Benefits

Quickly provision macOS environments

Time and resources previously spent building and maintaining on-premises macOS environments can now be refocused on building creative and useful apps. Development teams can now seamlessly provision and access macOS compute environments on demand to enjoy convenient, distributed testing and fast app builds, bringing additional choices to developers so they can use Mac as their trusted platform, on premises or in the cloud. amazon elastic compute cloud EC2 Mac instances offload the heavy lifting that comes with managing infrastructure to AWS, which means Apple developers can focus entirely on building their applications.

Reduced costs

EC2 Mac instances allow developers to launch macOS environments within minutes, adjust provisioned capacity as needed, and only pay for actual usage with AWS’s pay-as-you-go pricing. Developers save money since they only need to pay for the systems that are in use. For example, more capacity can be used when building an app, and less capacity when testing.

Simplify rearchitecting, building, and testing for Apple silicon

EC2 M1 Mac instances, now in preview, enable Apple silicon and native ARM64 macOS environments for the first time in AWS to develop, build, test, deploy, and run Apple applications. Developers rearchitecting their macOS applications to natively support ARM64 architecture for Apple silicon Macs can now enjoy faster builds with bare metal performance, and convenient distributed testing without having to procure, install, manage, patch, and upgrade physical Apple silicon infrastructure.

Extend your toolkits

EC2 Mac instances provide developers with seamless access to dozens of AWS services so they can more easily and efficiently collaborate with team members, and develop, build, test, analyze, and improve their apps. Similar to other EC2 instances, customers can easily use EC2 Mac instances together with AWS services and features like Amazon Virtual Private Cloud (VPC) for network security, Amazon Elastic Block Storage (EBS) for expandable storage, Amazon Elastic Load Balancer (ELB) for distributing build queues, Amazon FSx for scalable file storage, and AWS Systems Manager (SSM) for configuring, managing, and patching macOS environments.

Q.1 Which of the following purchasing options cannot be canceled once purchased?

   A. Scheduled

   B. Reserved

   C. Spot

   D. Dedicated Host

Correct Answer : Reserved

Q.2 The extension of the downloaded private key is __.

   A. .json

   B. .ppk

   C. .txt

   D. .pem

Correct Answer : .pem

Q.3 Which instance family provides us with computer-optimized instances?

   A. T

   B. C

   C. R

   D. X

Correct Answer : C

Q.4 Which of the following purchasing options are not available in all the regions?

   A. Spot

   B. Dedicated Host

   C. Scheduled

   D. Reserved

Correct Answer : Dedicated Host

Q.5 EC2 is compliant with the security standards of PCI DSS.

   A. True

   B. False

Correct Answer : True

Q.6 AWS use standard AES-256 algorithm to encrypt EBS volumes.

   A. True

   B. False

Correct Answer : True

Q.7 Amazon EC2 was launched in the year __.

   A. 2002

   B. 2004

   C. 2006

   D. 2003

Correct Answer : 2006

Q.8 What does eth0 represent in EC2?

   A. Primary network interface

   B. Elastic IP

   C. Secondary network interface

   D. Seecurity group

Correct Answer : Primary network interface

Q.9 For big data and data processing applications, which type of EBS drives are used?

   A. SSD

   B. Magnetic



   C. HDD

   D. All the options

Correct Answer : HDD

Q.10 Which type of placement groups is advantageous in case of hardware failure?

   A. Spread placement groups

   B. Cluster placement groups

Correct Answer : Spread placement groups

Q.11 All AWS accounts are limited to __ EIP address per region.

   A. 5

   B. 10

   C. 15

   D. 20

Correct Answer : 5

Q.12 Security groups are always permissive, and we can’t write rules to deny access.

   A. True

   B. False

Correct Answer : True

Q.13 If you send a request from your instance and the response traffic for that request is allowed to flow in regardless of inbound security group rules.

   A. True

   B. False

Correct Answer : True

Q.14 By default, a security group allows all __.

   A. Inbound traffic

   B. Outbound traffic

   C. Both the options



   D. None of the options

Correct Answer : Outbound traffic

Q.15 The source and destination of a security group can be either _.

   A. Security Group

   B. IPv4 address

   C. IPv6 address

   D. All the options

Correct Answer : All the options

Q.16 In the cluster placement groups, the type of instances grouped is __.

   A. Different

   B. Only T2

   C. Only M series

   D. Same

Correct Answer : Same

Q.17 CloudWatch metrics are enabled for every _.

   A. 45 secs

   B. 30 secs

   C. 1 min

   D. 5 min

Correct Answer : 30 secs

Q.18 What is the default cooldown period in Auto scaling?

   A. 500 sec

   B. 150 secs

   C. 500 sec

   D. 100 secs

Correct Answer : 300 sec

Q.19 In EC2, by default, metrics are enabled for every __ minutes.

   A. 5

   B. 10

   C. 15

   D. 30

Correct Answer : 5

Q.20 Can load balancers perform encryption?

   A. True

   B. False

Correct Answer : True

Q.21 Which load balancers support EC2 classic?

   A. NLB

   B. CLB

   C. ALB

Correct Answer : ALB

Q.22 Which is the best method to give privilege to an EC2 instance to access other AWS resources?

   A. Access keys

   B. Roles

   C. Both the options

   D. None of the options

Correct Answer : Both the options

Q.23 Which load balancers are required for extreme performances?

   A. ELB

   B. NLB

   C. ALB

   D. CLB

Correct Answer : ALB

Q.24 Network Load balancer operates at the _ layer of the OSI model.

   A. Fifth



   B. Seventh

   C. Third

   D. Fourth

Correct Answer : Seventh

Q.25 Can you attach an EBS volume to more than one EC2 instance at the same time?

   A. Yes

   B. It depends on the type of AMI

   C. No

   D. It depends on the type of instance

Correct Answer : It depends on the type of instance

Q.26 Sticky sessions are also called a session affinity.

   A. True

   B. False

Correct Answer : True

Q.27 Auto scaling assures that the size never goes above or below the limits of scaling in groups.

   A. True

   B. False

Correct Answer : True

Q.28 Which block drives can’t be used for root volumes?

   A. Magnetic

   B. SSD

   C. HDD

Correct Answer : HDD

Q.29 What does eth0 represent in EC2?

   A. Elastic IP

   B. Secondary network interface

   C. Primary network interface

   D. Security group

Correct Answer : Primary network interface

Q.30 Data persists in the instance store when the instance _.

   A. Reboots

   B. Stops

   C. Terminates

   D. Drive failure

Correct Answer : Terminates

Q.31 In which among the following, you can get instances at flexible times and low prices?

   A. Scheduled

   B. Spot instances

   C. Dedicated host

   D. Reserved

Correct Answer : Spot instances

Q.32 Private AMIs can be shared with other AWS accounts.

   A. True

   B. False

Correct Answer : True

Q.33 By default, an instance gets rebooted when we try to create an AMI from it.

   A. True

   B. False

Correct Answer : True

Q.34 Which type of placement groups allows different kinds of instances to form a group?

   A. Spread placement groups

   B. Cluster placement groups

Correct Answer : Cluster placement groups

Q.35 Can we merge two placement groups?

   A. Yes

   B. No

Correct Answer : No

Q.36 Security groups are always permissive, and one cannot write rules to deny access.

   A. True

   B. False

Correct Answer : True

Q.37 The EC2 instance and EBS volumes need to be attached to the instance that must be in __.

   A. Same AZ

   B. Any region

   C. Same region

   D. Any AZ

Correct Answer : Same AZ

Q.38 Which of the following purchasing options are not available in all regions?

   A. Scheduled

   B. Spot

   C. Reserved

   D. Dedicated Host

Correct Answer : Dedicated Host

Click here to read more AWS Questions and Answers

About Author


After years of Technical Work, I feel like an expert when it comes to Develop wordpress website. Check out How to Create a Wordpress Website in 5 Mins, and Earn Money Online Follow me on Facebook for all the latest updates.