Chapter 1 - Compute: Amazon EC2, Auto Scaling, AWS Lambda, AWS Elastic Beanstalk, Amazon Elastic Container Service, AWS Fargate Flashcards
Q1. What are features of EC2?
- Virtual computing environments, instances with Preconfigured templates known as Amazon Machine Images (AMIs)
- Various configurations of CPU, memory, storage, and networking capacity for your instances, known as instance types
- Provides temporary or permanent Storage volumes known as instance store volumes or Amazon EBS volumes
- All of the above
- Virtual computing environments, instances with Preconfigured templates known as Amazon Machine Images (AMIs)
- Various configurations of CPU, memory, storage, and networking capacity for your instances, known as instance types
- Provides temporary or permanent Storage volumes known as instance store volumes or Amazon EBS volumes
- All of the above
Q2. Which of the following is required to launch a new EC2 instance? Choose 2.
- Root or IAM Admin user access keys
- EC2 instance type
- Linux or Windows license
- Amazon Machine Image ( AMI)
- Root or IAM Admin user access keys
- EC2 instance type
- Linux or Windows license
- Amazon Machine Image ( AMI)
Q3. What does an Amazon Machine Image (AMI) Include? Choose 3.
- Instance Type
- One or more EBS snapshots, or, for instance-store-backed AMIs, a template for the root volume of the instance (for example, an operating system, an application server, and applications).
- Launch permissions that control which AWS accounts can use the AMI to launch instances.
- A block device mapping that specifies the volumes to attach to the instance when it’s launched
- Instance Type
- One or more EBS snapshots, or, for instance-store-backed AMIs, a template for the root volume of the instance (for example, an operating system, an application server, and applications).
- Launch permissions that control which AWS accounts can use the AMI to launch instances.
- A block device mapping that specifies the volumes to attach to the instance when it’s launched
What are the two root device option for AMI to launch EC2 instance?
- AMIs backed by S3
- AMIs backed by Amazon EC2 instance store
- AMIs backed by Amazon EBS
- AMIs backed by DynamoDB
- AMIs backed by S3
- AMIs backed by Amazon EC2 instance store
- AMIs backed by Amazon EBS
- AMIs backed by DynamoDB
Which of the following statements are true for data persistence of EC2 root device volume? Choose 2.
- Data on any instance store volumes always persists only during the life of the instance.
- By default, data of the EBS root volume is deleted when the instance terminates but it can be changed to persist.
- Data on any EBS root volumes always persists only during the life of the instance.
- By default, data of the EBS root volume is not deleted when the instance terminates but it can be changed to be deleted.
- Data on any instance store volumes always persists only during the life of the instance.
- By default, data of the EBS root volume is deleted when the instance terminates but it can be changed to persist.
- Data on any EBS root volumes always persists only during the life of the instance.
- By default, data of the EBS root volume is not deleted when the instance terminates but it can be changed to be deleted.
By default, the root device volume for an AMI backed by Amazon EBS is deleted when the instance terminates. How this behavior can be changed?
- Set the DoNotDeleteOnTermination attribute to true
- Set the DoNotDeleteOnTermination attribute to false
- Set the DeleteOnTermination attribute to true
- Set the DeleteOnTermination attribute to false
- Set the DoNotDeleteOnTermination attribute to true
- Set the DoNotDeleteOnTermination attribute to false
- Set the DeleteOnTermination attribute to true
- Set the DeleteOnTermination attribute to false
What are the characteristics based on which you choose the AMI? Choose 2.
- Region, Operating system, Architecture (32-bit or 64-bit)
- Operating system, Architecture (32-bit or 64-bit)
- Launch Permissions
- Launch Permissions, Storage for the Root Device- EBS/Instance
- Region, Operating system, Architecture (32-bit or 64-bit)
- Operating system, Architecture (32-bit or 64-bit)
- Launch Permissions
- Launch Permissions, Storage for the Root Device- EBS/Instance
What are three different type of launch permissions for AMI?
- Public: The owner grants launch permissions to all AWS accounts.
- Explicit: The owner grants launch permissions to specific AWS accounts.
- Implicit: The owner has implicit launch permissions for an AMI.
- Private: The owner grants launch permissions to specific AWS accounts.
- Public: The owner grants launch permissions to all AWS accounts.
- Explicit: The owner grants launch permissions to specific AWS accounts.
- Implicit: The owner has implicit launch permissions for an AMI.
- Private: The owner grants launch permissions to specific AWS accounts.
You can convert your Instance Store-Backed Linux AMI to an Amazon EBS-Backed Linux AMI.
- True
- False
- True
- False
You can convert an instance store-backed Windows AMI to an Amazon EBS-backed Windows AMI.
- True
- False
- True
- False
To launch EC2 instances, you are using AMIs that are backed by Amazon EBS snapshots. Amazon EC2 instances are launched from AMIs using the RunInstances action with encryption parameters supplied through block device mapping, either by means of the AWS Management Console or directly using the Amazon EC2 API or CLI. In the scenario of Launch with no encryption parameters, which of the following three statements are correct?
- An unencrypted snapshot is restored to an unencrypted volume, unless encryption by default is enabled, in which case all the newly created volumes will be encrypted.
- An encrypted snapshot that you own is restored to a volume that is encrypted to the same CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to your AWS account’s default CMK.
- An unencrypted snapshot is restored to an unencrypted volume, unless encryption by default is enabled, in which case all the newly created volumes will be encrypted.
- An encrypted snapshot that you own is restored to a volume that is encrypted to the same CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to your AWS account’s default CMK.
To launch EC2 instances, you are using AMIs that are backed by Amazon EBS snapshots. Amazon EC2 instances are launched from AMIs using the action with encryption parameters supplied through block device mapping, either by means of the AWS Management Console or directly using the Amazon EC2 API or CLI. In the scenario of Launch with Encrypted set, but no KmsKeyId specified, which of the following three statements are correct?
An unencrypted snapshot is restored to an EBS volume that is encrypted by your AWS account’s default CMK.
- An encrypted snapshot that you own is restored to an EBS volume encrypted by the same CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted by your AWS account’s default CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An unencrypted snapshot is restored to an unencrypted volume.
- An encrypted snapshot that you own is restored to an EBS volume encrypted by the same CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted by your AWS account’s default CMK.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An unencrypted snapshot is restored to an unencrypted volume.
To launch EC2 instances, you are using AMIs that are backed by Amazon EBS snapshots. Amazon EC2 instances are launched from AMIs using the action with encryption parameters supplied through block device mapping, either by means of the AWS Management Console or directly using the Amazon EC2 API or CLI. In the scenario of Launch with Encrypted set and also KmsKeyId specified, which of the following two statements are correct?
- An unencrypted snapshot is restored to an unencrypted volume.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An unencrypted snapshot is restored to an EBS volume encrypted by the specified CMK.
- An encrypted snapshot is restored to an EBS volume encrypted not to the original CMK, but instead to the specified CMK.
- An unencrypted snapshot is restored to an unencrypted volume.
- An encrypted snapshot that you do not own (i.e., the AMI is shared with you) is restored to a volume that is encrypted to original AMI owner’s AWS account’s default CMK.
- An unencrypted snapshot is restored to an EBS volume encrypted by the specified CMK.
- An encrypted snapshot is restored to an EBS volume encrypted not to the original CMK, but instead to the specified CMK.
Which of the following Source-Target encryption scenario is not supported when copying AMI?
- Unencrypted-to-unencrypted
- Encrypted-to-encrypted
- Unencrypted-to-encrypted
- Encrypted-to-unencrypted
- Unencrypted-to-unencrypted
- Encrypted-to-encrypted
- Unencrypted-to-encrypted
- Encrypted-to-unencrypted
You have developed a web application and plan to deploy it in your VPC in us-west region. Your VPC has three subnets mapped to three availability zones: us-west-1a, us-west-1b, us-west-1c. How many minimum web server instances should you deploy in each of three AZ so that you have at least six instances running in case one of AZ goes down within minimum cost?
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, two in us-west-1b, four in us-west-1c.
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, two in us-west-1b, four in us-west-1c.
What are benefits of enabling enhanced networking on your Linux instance type? Choose 3.
- lower I/O performance and higher CPU utilization when compared to traditional virtualized network
Interfaces - higher I/O performance and lower CPU utilization when compared to traditional virtualized Network interfaces
- higher bandwidth, higher packet per second (PPS) performance, and consistently Lower inter-instance latencies
- There is no additional charge for using enhanced networking.
- lower I/O performance and higher CPU utilization when compared to traditional virtualized network
Interfaces - higher I/O performance and lower CPU utilization when compared to traditional virtualized Network interfaces
- higher bandwidth, higher packet per second (PPS) performance, and consistently Lower inter-instance latencies
- There is no additional charge for using enhanced networking.
Which of the following is not a type of EC2 placement group?
- Cluster
- Spread
- Partition
- Enhanced
- Cluster
- Spread
- Partition
- Enhanced
What are the two steps you will take regarding your instances if your application requirement is low network latency, high network throughput, majority of the network traffic is between the instances in the group and require highest packet-per-second network Performance? Choose 2.
- Use Cluster placement groups
- Use Spread Placement groups
- Choose an instance type that supports enhanced networking
- Choose an instance type that supports performance networking
- Use Cluster placement groups
- Use Spread Placement groups
- Choose an instance type that supports enhanced networking
- Choose an instance type that supports performance networking
Which placement groups can be used to deploy large distributed and replicated workloads, such as HDFS, HBase, and Cassandra, across distinct racks?
- Use Cluster placement groups
- Use Spread Placement groups
- Use Partition Placement groups
- Use Container Placement groups
- Use Cluster placement groups
- Use Spread Placement groups
- Use Partition Placement groups
- Use Container Placement groups
Which placement groups are recommended for applications that have a small number of critical instances that should be kept separate from each other?
- Use Cluster placement groups
- Use Spread Placement groups
- Use Partition Placement groups
- Use Container Placement groups
- Use Cluster placement groups
- Use Spread Placement groups
- Use Partition Placement groups
- Use Container Placement groups
How can you connect to your Linux EC2 instance from your local computer? Choose 3.
- Local Computer is Linux, use SSH to connect to Linux EC2 instance.
- Local Computer is windows, use SSH to connect to Linux EC2 instance.
- Local Computer is windows, use Putty to connect to Linux EC2 instance.
- Local Computer is Linux, use Putty to connect to Linux EC2 instance.
- Local Computer is Linux, use SSH to connect to Linux EC2 instance.
- Local Computer is windows, use SSH to connect to Linux EC2 instance.
- Local Computer is windows, use Putty to connect to Linux EC2 instance.
- Local Computer is Linux, use Putty to connect to Linux EC2 instance.
Which of the following statements are correct when you stop an EC2 instance? Choose 2.
- You can only stop an instance store-backed instance and not EBS-backed instance.
- You can only stop an EBS-backed instance and not an instance store-backed instance.
- Any Amazon EBS volumes remain attached to the instance, and their data persists. Any data stored in the RAM of the host computer or the instance store volumes of the host computer is gone.
- Any Amazon instance volumes remain attached to the instance, and their data persists. Any data stored in the RAM of the host computer or the instance store volumes of the host computer is persisted.
- You can only stop an instance store-backed instance and not EBS-backed instance.
- You can only stop an EBS-backed instance and not an instance store-backed instance.
- Any Amazon EBS volumes remain attached to the instance, and their data persists. Any data stored in the RAM of the host computer or the instance store volumes of the host computer is gone.
- Any Amazon instance volumes remain attached to the instance, and their data persists. Any data stored in the RAM of the host computer or the instance store volumes of the host computer is persisted.
Which of the following statements are correct when you stop an EC2 instance? Choose 2.
- The instance retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. AWS releases the public IPv4 address and assign a new one when you restart it.
- The instance retains its associated Elastic IP addresses. You’re charged for any Elastic IP addresses associated with a stopped instance.
- The instance doesn’t retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. AWS releases the public IPv4 address and assign a new one when you restart it.
- The instance retains its associated Elastic IP addresses. You’re not charged for any Elastic IP addresses associated with a stopped instance.
- The instance retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. AWS releases the public IPv4 address and assign a new one when you restart it.
- The instance retains its associated Elastic IP addresses. You’re charged for any Elastic IP addresses associated with a stopped instance.
- The instance doesn’t retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. AWS releases the public IPv4 address and assign a new one when you restart it.
- The instance retains its associated Elastic IP addresses. You’re not charged for any Elastic IP addresses associated with a stopped instance.
Which of the following is true about Elastic Ip Address? Choose 3.
- To use an Elastic IP address, you first allocate one to your account, and then associate it with your instance or a network interface.
- An Elastic IP address is a private IPv4 address in subnet, which is not reachable from the internet.
- With an Elastic IP address, you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account.
- An Elastic IP address is a public IPv4 address, which is reachable from the internet.
- To use an Elastic IP address, you first allocate one to your account, and then associate it with your instance or a network interface.
- An Elastic IP address is a private IPv4 address in subnet, which is not reachable from the internet.
- With an Elastic IP address, you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account.
- An Elastic IP address is a public IPv4 address, which is reachable from the internet.
Which of the following is true about Elastic Ip Address? Choose 4.
- You can disassociate an Elastic IP address from a resource, and reassociate it with a different resource.
- You are not charged if an Elastic IP address is not associated with a running instance, or if it is associated with a stopped instance or an unattached network interface.
- A disassociated Elastic IP address remains allocated to your account until you explicitly release it.
- Small hourly price is charged if an Elastic IP address is not associated with a running instance, or if it is associated with a stopped instance or an unattached network interface.
- While your instance is running, you are not charged for one Elastic IP address associated with the instance, but you are charged for any additional Elastic IP addresses associated with the instance
- You can disassociate an Elastic IP address from a resource, and reassociate it with a different resource.
- You are not charged if an Elastic IP address is not associated with a running instance, or if it is associated with a stopped instance or an unattached network interface.
- A disassociated Elastic IP address remains allocated to your account until you explicitly release it.
- Small hourly price is charged if an Elastic IP address is not associated with a running instance, or if it is associated with a stopped instance or an unattached network interface.
- While your instance is running, you are not charged for one Elastic IP address associated with the instance, but you are charged for any additional Elastic IP addresses associated with the instance
You have developed a web application and plan to deploy it in your VPC in us-west region. Your VPC has three subnets mapped to three availability zones: us-west-1a, us-west-1b, us-west-1c. Your application requires in normal scenario nine servers but can run on a minimum 66 percent capacity. How many web server instances should you deploy in each of three AZ so that you can meet the above availability requirements in a cost effective way?
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, four in us-west-1b, four in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, four in us-west-1b, four in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
Which of the following statement are correct when you hibernate an EC2 Linux instance? Choose 4.
- Any Amazon EBS volumes remain attached to the instance, and their data persists, the contents of the RAM are not saved.
- Operating system performs hibernation (suspend-to-disk), which freezes all the processes, saves the contents of the RAM to the Amazon EBS root volume, and then performs a regular shutdown.
- Any Amazon EBS volumes remain attached to the instance, and their data persists, including the saved contents of the RAM.
- When you restart the instance, the instance boots up and the operating system reads in the contents of the RAM from the Amazon EBS root volume before unfreezing processes to resume its state.
- The instance retains its private IPv4 addresses and any IPv6 addresses when hibernated and started. We release the public IPv4 address and assign a new one when you start it.
- Any Amazon EBS volumes remain attached to the instance, and their data persists, the contents of the RAM are not saved.
- Operating system performs hibernation (suspend-to-disk), which freezes all the processes, saves the contents of the RAM to the Amazon EBS root volume, and then performs a regular shutdown.
- Any Amazon EBS volumes remain attached to the instance, and their data persists, including the saved contents of the RAM.
- When you restart the instance, the instance boots up and the operating system reads in the contents of the RAM from the Amazon EBS root volume before unfreezing processes to resume its state.
- The instance retains its private IPv4 addresses and any IPv6 addresses when hibernated and started. We release the public IPv4 address and assign a new one when you start it.
What is an elastic network interface? Choose 3.
- A logical networking component in a VPC that represents a virtual network card.
- You cannot create and configure network interfaces in your account and attach them to instances in your VPC.
- You can create and configure network interfaces in your account and attach them to instances in your VPC.
- A network interface can have a primary private IPv4 address attribute from the IPv4 address range of your VPC.
- A logical networking component in a VPC that represents a virtual network card.
- You cannot create and configure network interfaces in your account and attach them to instances in your VPC.
- You can create and configure network interfaces in your account and attach them to instances in your VPC.
- A network interface can have a primary private IPv4 address attribute from the IPv4 address range of your VPC.
Which of the following is not a metrics sent by EC2 instance to cloudwatch?
- CPUUtilization
- DiskReadOps
- NetworkIn
- MemoryUtilization
- EBSReadOps
- CPUUtilization
- DiskReadOps
- NetworkIn
- MemoryUtilization
- EBSReadOps
What are the benefits of assigning multiple private ip addresses to an EC2 instance?
- Host multiple websites on a single server by using multiple SSL certificates on a single server and associating each certificate with a specific IP address.
- Operate network appliances, such as firewalls or load balancers that have multiple IP addresses for each network interface.
- Redirect internal traffic to a standby instance in case your instance fails, by reassigning the secondary IP address to the standby instance.
- All of the above
- Host multiple websites on a single server by using multiple SSL certificates on a single server and associating each certificate with a specific IP address.
- Operate network appliances, such as firewalls or load balancers that have multiple IP addresses for each network interface.
- Redirect internal traffic to a standby instance in case your instance fails, by reassigning the secondary IP address to the standby instance.
- All of the above
Choose two correct statements highlighting the difference between Amazon EBS-Backed AMI and Amazon Instance Store-Backed AMI?
- Size limit for a root device: EBS-Backed AMI = 16 TiB, Instance Store-Backed AMI= 10 GB
- Size limit for a root device: EBS-Backed AMI =10 GB, Instance Store-Backed AMI= 16 TiB
- Modifications: EBS-Backed AMI = the instance type, kernel, RAM disk, and user data can be changed while the instance is stopped, Instance Store-Backed AMI= Instance attributes are fixed for the life of an instance.
- Modifications: Instance Store -Backed AMI = the instance type, kernel, RAM disk, and user data can be changed while
- Size limit for a root device: EBS-Backed AMI = 16 TiB, Instance Store-Backed AMI= 10 GB
- Size limit for a root device: EBS-Backed AMI =10 GB, Instance Store-Backed AMI= 16 TiB
- Modifications: EBS-Backed AMI = the instance type, kernel, RAM disk, and user data can be changed while the instance is stopped, Instance Store-Backed AMI= Instance attributes are fixed for the life of an instance.
- Modifications: Instance Store -Backed AMI = the instance type, kernel, RAM disk, and user data can be changed while
Which storage provides temporary block-level storage for your instance and is ideal for temporary storage of information that changes frequently, such as buffers, caches, scratch data, and other temporary content, or for data that is replicated across a fleet of instances, such as a load-balanced pool of web servers ?
- S3
- RDS
- Instance Store
- EBS
- S3
- RDS
- Instance Store
- EBS
When the data in the instance store persists?
- Never
- The underlying disk drive fails
- The instance stops
- The instance terminates
- The instance reboots (intentionally or unintentionally)
- Never
- The underlying disk drive fails
- The instance stops
- The instance terminates
- The instance reboots (intentionally or unintentionally)
What do you need to connect to a new Linux EC2 instance using SSH?
- Root userid and password
- IAM userid and password
- Digital certificate
- Using the private key of the key pair linked with EC2 instance
- Root userid and password
- IAM userid and password
- Digital certificate
- Using the private key of the key pair linked with EC2 instance
Which of the following is not a benefit for copying an AMI across geographically diverse Regions?
- Consistent global deployment: Copying an AMI from one Region to another enables you to launch consistent instances in different Regions based on the same AMI.
- Scalability: You can more easily design and build global applications that meet the needs of your users, regardless of their location.
- Performance: You can increase performance by distributing your application, as well as locating critical components of your application in closer proximity to your users. You can also take advantage of Region-specific features, such as instance types or other AWS services.
- Cost Reduction : No charges for copying, data transfer or storage
- High availability: You can design and deploy applications across AWS regions, to increase availability.
- Consistent global deployment: Copying an AMI from one Region to another enables you to launch consistent instances in different Regions based on the same AMI.
- Scalability: You can more easily design and build global applications that meet the needs of your users, regardless of their location.
- Performance: You can increase performance by distributing your application, as well as locating critical components of your application in closer proximity to your users. You can also take advantage of Region-specific features, such as instance types or other AWS services.
- Cost Reduction : No charges for copying, data transfer or storage
- High availability: You can design and deploy applications across AWS regions, to increase availability.
For an instance in your VPC, you have attached two security groups. One security group has a rule that allows access to TCP port 22 (SSH) from IP address 203.0.113.1 and another security group has a rule that allows access to TCP port 22 from everyone. Which of the following is correct?
- Everyone has access to TCP port 22
- Only IP address 203.0.113 will have access.
- You cannot have two rules for same port for an instance.
- No one will have access.
- Everyone has access to TCP port 22
- Only IP address 203.0.113 will have access.
- You cannot have two rules for same port for an instance.
- No one will have access.
What are the different ways to achieve high EC2 networking bandwidth performance? Choose 3.
- Use dedicated hosts
- Configure your AMIs and your current-generation EC2 instances to use the Elastic Network Adapter (ENA) to get high GBPs performance
- Put the instances in placement group
- Enable enhanced networking on the instances
- Use dedicated hosts
- Configure your AMIs and your current-generation EC2 instances to use the Elastic Network Adapter (ENA) to get high GBPs performance
- Put the instances in placement group
- Enable enhanced networking on the instances
Which of the following two statements are correct regarding encryption in Amazon EBS backed AMI?
- Snapshots of both data and root volumes can be encrypted and attached to an AMI.
- You can launch instances and copy images with full EBS encryption support.
- Snapshots of both data and root volumes cannot be encrypted and attached to an AMI.
- You cannot launch instances and copy images with full EBS encryption support.
- Snapshots of both data and root volumes can be encrypted and attached to an AMI.
- You can launch instances and copy images with full EBS encryption support.
- Snapshots of both data and root volumes cannot be encrypted and attached to an AMI.
- You cannot launch instances and copy images with full EBS encryption support.
Amazon EC2 AMIs are copied using the CopyImage action, either through the AWS Management Console or directly using the Amazon EC2 API or CLI. The encryption parameters are Encrypted and KmsKeyId. Which of the following three statements are correct when you copy with no encryption parameters.
- An unencrypted snapshot is copied to another unencrypted snapshot, unless encryption by default is enabled, in which case all the newly created snapshots will be encrypted.
- An encrypted snapshot that you own is copied to a snapshot encrypted with the same key.
- An encrypted snapshot that you do not own (that is, the AMI is shared with you) is copied to a snapshot that is encrypted to your AWS account’s default CMK.
- An encrypted snapshot that you do not own (that is, the AMI is shared with you) is copied to a snapshot that is encrypted by original owner’s default CMK.
- An unencrypted snapshot is copied to another unencrypted snapshot, unless encryption by default is enabled, in which case all the newly created snapshots will be encrypted.
- An encrypted snapshot that you own is copied to a snapshot encrypted with the same key.
- An encrypted snapshot that you do not own (that is, the AMI is shared with you) is copied to a snapshot that is encrypted to your AWS account’s default CMK.
- An encrypted snapshot that you do not own (that is, the AMI is shared with you) is copied to a snapshot that is encrypted by original owner’s default CMK.
Amazon EC2 AMIs are copied using the CopyImage action, either through the AWS Management Console or directly using the Amazon EC2 API or CLI. The encryption parameters are Encrypted and KmsKeyId. Which of the following three statements are correct when you copy with encryption parameters Encrypted set, but no KmsKeyId specified?
- An unencrypted snapshot is copied to a snapshot encrypted to the AWS account’s default CMK.
- An encrypted snapshot that you do not own (the AMI is shared with you) is copied to a snapshot that is encrypted by original owner’s default CMK.
- An encrypted snapshot is copied to a snapshot encrypted to the same CMK.
- An encrypted snapshot that you do not own (the AMI is shared with you) is copied to a volume that is encrypted to your AWS account’s default CMK.
- An unencrypted snapshot is copied to a snapshot encrypted to the AWS account’s default CMK.
- An encrypted snapshot that you do not own (the AMI is shared with you) is copied to a snapshot that is encrypted by original owner’s default CMK.
- An encrypted snapshot is copied to a snapshot encrypted to the same CMK.
- An encrypted snapshot that you do not own (the AMI is shared with you) is copied to a volume that is encrypted to your AWS account’s default CMK.
Amazon EC2 AMIs are copied using the CopyImage action, either through the AWS Management Console or directly using the Amazon EC2 API or CLI. The encryption parameters are Encrypted and KmsKeyId. Which of the following two statements are correct when you copy with both encryption parameters Encrypted and KmsKeyId specified?
- An encrypted snapshot is copied to a snapshot encrypted to the original CMK
- An unencrypted snapshot is copied to a snapshot encrypted to the specified CMK.
- An unencrypted snapshot is copied to a snapshot encrypted to the original CMK.
- An encrypted snapshot is copied to a snapshot encrypted not to the original CMK, but instead to the specified CMK.
- An encrypted snapshot is copied to a snapshot encrypted to the original CMK
- An unencrypted snapshot is copied to a snapshot encrypted to the specified CMK.
- An unencrypted snapshot is copied to a snapshot encrypted to the original CMK.
- An encrypted snapshot is copied to a snapshot encrypted not to the original CMK, but instead to the specified CMK.
Which of the following are true about instance private ip address? Choose 3.
- Instance private IPv4 address is not reachable over the Internet.
- Instance private IPv4 addresses can be used for communication between instances in the same VPC.
- Instance private IPv4 address is reachable over the Internet.
- On launch an instance receives a primary private IP address from the IPv4 address range of the subnet.
- Instance private IPv4 address is not reachable over the Internet.
- Instance private IPv4 addresses can be used for communication between instances in the same VPC.
- Instance private IPv4 address is reachable over the Internet.
- On launch an instance receives a primary private IP address from the IPv4 address range of the subnet.
What is an instance primary private ip address? Choose 3.
- Each instance has a default network interface (eth0) that is assigned the primary private IPv4 address.
- Primary private IP addresses can be reassigned from one instance to another.
- You can also specify additional private IPv4 addresses, known as secondary private IPv4 addresses.
- Secondary private IP addresses can be reassigned from one instance to another.
- Each instance has a default network interface (eth0) that is assigned the primary private IPv4 address.
- Primary private IP addresses can be reassigned from one instance to another.
- You can also specify additional private IPv4 addresses, known as secondary private IPv4 addresses.
- Secondary private IP addresses can be reassigned from one instance to another.
What are the modifiable attributes of reserved instances? Choose 4.
- Change Availability Zones within the same Region
- Change the scope from Availability Zone to Region and vice versa
- Change the instance size within the same instance family
- Change the network platform from EC2-Classic to Amazon VPC and vice versa
- Change standard reserve instance to convertible reserved instance
- Change Availability Zones within the same Region
- Change the scope from Availability Zone to Region and vice versa
- Change the instance size within the same instance family
- Change the network platform from EC2-Classic to Amazon VPC and vice versa
- Change standard reserve instance to convertible reserved instance
What are general prerequisites for Connecting to your Linux instance using SSH? Choose 4.
- Get the public DNS name or elastic ip address of the instance.
- Get the default user name for the AMI that you used to launch your instance.
- Get a new AWS account IAM user.
- Enable inbound SSH traffic from your IP address to your instance.
- Instance private key.
- Get the public DNS name or elastic ip address of the instance.
- Get the default user name for the AMI that you used to launch your instance.
- Get a new AWS account IAM user.
- Enable inbound SSH traffic from your IP address to your instance.
- Instance private key.
Which of the following is not correct about EC2 instance’s Public IPv4 Addresses and External DNS Hostnames?
- An external DNS hostname is resolved to the public IP address of the instance from outside its VPC, and to the private IPv4 address of the instance from inside its VPC.
- Public IP address is mapped to the primary private IP address through network address translation (NAT).
- Your instance’s public IP address is not released when you associate an Elastic IP address with it.
- When an instance is launched into a non-default VPC, the subnet has an attribute that determines whether instances launched into that subnet receive a public IP address from the public IPv4 address pool.
- Instance’s public IP address is released when it is stopped or terminated. Your stopped instance receives a new public IP address when it is restarted.
- An external DNS hostname is resolved to the public IP address of the instance from outside its VPC, and to the private IPv4 address of the instance from inside its VPC.
- Public IP address is mapped to the primary private IP address through network address translation (NAT).
- Your instance’s public IP address is not released when you associate an Elastic IP address with it.
- When an instance is launched into a non-default VPC, the subnet has an attribute that determines whether instances launched into that subnet receive a public IP address from the public IPv4 address pool.
- Instance’s public IP address is released when it is stopped or terminated. Your stopped instance receives a new public IP address when it is restarted.
You have purchased an a1.large Linux Standard Reserved Instance in us-west-1a. Which of the following ways you can modify the reservation? Choose 3.
- Change it into windows instance
- Change it in a1.xlarge
- Change the region to us-east and AZ to us-east-1a
- Change the AZ to us-west-1b
- Change it into two a1.medium instances.
- Change it into windows instance
- Change it in a1.xlarge
- Change the region to us-east and AZ to us-east-1a
- Change the AZ to us-west-1b
- Change it into two a1.medium instances.
What are the purchasing options for EC2 instances? (Choose 4)
- One Zone Instances
- On-Demand Instances
- Reserved Instances
- Regional Instances
- Spot Instances
- Saving Plans
- One Zone Instances
- On-Demand Instances
- Reserved Instances
- Regional Instances
- Spot Instances
- Saving Plans
Which of the following statements are correct for reserved instances? Choose 2.
- Reserved Instances are more expensive compared to On-Demand Instance pricing.
- Reserved Instances provide you with a significant discount compared to On-Demand Instance pricing.
- Reserved Instances are not physical instances, but rather a billing discount applied to the use of On-Demand Instances in your account.
- Reserved Instances are physical instances which are allocated to your account based on region and zone you would have selected.
- Reserved Instances are more expensive compared to On-Demand Instance pricing.
- Reserved Instances provide you with a significant discount compared to On-Demand Instance pricing.
- Reserved Instances are not physical instances, but rather a billing discount applied to the use of On-Demand Instances in your account.
- Reserved Instances are physical instances which are allocated to your account based on region and zone you would have selected.
Your company started using AWS and initially you have T2 instances purchased at on-demand rates. After some time you purchase reserved instance that matches the attributes (instance type, region, dedicated instance, and platform) of your T2 instance. After some time you purchase reserved instance for C4 instances also. How reserved instance billing will be applied?
- Reserved instance billing benefit is not applied to any of the instance.
- Reserved instance billing benefit is immediately applied to C4 instance.
- Reserved instance billing benefit is immediately applied to both T2 and C4 instance.
- Reserved instance billing benefit is immediately applied to T2 instance.
- Reserved instance billing benefit is not applied to any of the instance.
- Reserved instance billing benefit is immediately applied to C4 instance.
- Reserved instance billing benefit is immediately applied to both T2 and C4 instance.
- Reserved instance billing benefit is immediately applied to T2 instance.
What are the four instance attributes which determines the reserved instance pricing?
- Instance Type
- Scope : Regional or Zone
- Tenancy : whether instance runs on shared or single-tenant hardware
- Hardware memory and CPU
- Operating System Platform
- Instance Type
- Scope : Regional or Zone
- Tenancy : whether instance runs on shared or single-tenant hardware
- Hardware memory and CPU
- Operating System Platform
Which of the following three statements are correct about Standard Reserved Instance?
- Instance size, can be modified during the term; however, the instance family cannot be modified.
- Instance size and instance family both can be modified.
- Cannot be exchange for another standard reserved instance, it can only be modified.
- Can be sold in the Reserved Instance Marketplace.
- Cannot be sold in the Reserved Instance Marketplace.
- Instance size, can be modified during the term; however, the instance family cannot be modified.
- Instance size and instance family both can be modified.
- Cannot be exchange for another standard reserved instance, it can only be modified.
- Can be sold in the Reserved Instance Marketplace.
- Cannot be sold in the Reserved Instance Marketplace.
Which of the following two statements are correct about Convertible Reserved Instance?
- Can be exchanged during the term for another Convertible Reserved Instance with new attributes including instance family, instance type, platform, scope, or tenancy.
- Cannot be exchanged during the term for another Convertible Reserved Instance with new attributes including instance family, instance type, platform, scope, or tenancy.
- Can be sold in the Reserved Instance Marketplace.
- Cannot be sold in the Reserved Instance Marketplace.
- Can be exchanged during the term for another Convertible Reserved Instance with new attributes including instance family, instance type, platform, scope, or tenancy.
- Cannot be exchanged during the term for another Convertible Reserved Instance with new attributes including instance family, instance type, platform, scope, or tenancy.
- Can be sold in the Reserved Instance Marketplace.
- Cannot be sold in the Reserved Instance Marketplace.
You have the following Convertible Reserved Instances in your account: (see attached)
Which of the following merging and exchanging options you can do?
- You can merge aaaa1111 and bbbb2222 and exchange them for a 1-year Convertible Reserved Instance with expiration date 2018-12-31
- You can merge bbbb2222 and cccc3333 and exchange them for a 3-year Convertible Reserved Instance with expiration date 2018-07-31
- You can merge bbbb2222 and cccc3333 and exchange them for a 1-year Convertible Reserved Instance with expiration date 2018-07-31
- You can merge cccc3333 and dddd4444 and exchange them for a 3-year Convertible Reserved Instance with expiration date 2019-12-31
5.
- You can merge aaaa1111 and bbbb2222 and exchange them for a 1-year Convertible Reserved Instance with expiration date 2018-12-31
- You can merge bbbb2222 and cccc3333 and exchange them for a 3-year Convertible Reserved Instance with expiration date 2018-07-31
- You can merge bbbb2222 and cccc3333 and exchange them for a 1-year Convertible Reserved Instance with expiration date 2018-07-31
- You can merge cccc3333 and dddd4444 and exchange them for a 3-year Convertible Reserved Instance with expiration date 2019-12-31
What is a spot instance? Choose 2.
- Spot instances are exactly the same as On-Demand or Reserved instances but offered at a significant discount off the On-Demand prices
- Spot instances are exactly the same as On-Demand or Reserved instances but offered at more cost than the On-Demand prices
- Spot instances can be interrupted by Amazon EC2 for capacity requirements with a 5-minute notification
- Spot instances can be interrupted by Amazon EC2 for capacity requirements with a 2-minute notification
- Spot instances are exactly the same as On-Demand or Reserved instances but offered at a significant discount off the On-Demand prices
- Spot instances are exactly the same as On-Demand or Reserved instances but offered at more cost than the On-Demand prices
- Spot instances can be interrupted by Amazon EC2 for capacity requirements with a 5-minute notification
- Spot instances can be interrupted by Amazon EC2 for capacity requirements with a 2-minute notification
What are the possible use cases and criteria for using spot instances? (Choose 2)
- Not suitable for sensitive workloads or databases.
- Stateless, non-production application, such as development and test servers, where occasional downtime is acceptable
- Stateful, non-production application, such as development and test servers, where occasional downtime is acceptable
- Stateless, production application
- Not suitable for sensitive workloads or databases.
- Stateless, non-production application, such as development and test servers, where occasional downtime is acceptable
- Stateful, non-production application, such as development and test servers, where occasional downtime is acceptable
- Stateless, production application
What are the reasons because of which spot instances can be interrupted? Choose 3.
- Your Spot Instances are guaranteed to run until you terminate them.
- Not enough unused EC2 instances to meet the demand for Spot Instances.
- The Spot price exceeds your maximum price.
- Constraints in the request such as a launch group or an Availability Zone group cannot be met.
- Your Spot Instances are guaranteed to run until you terminate them.
- Not enough unused EC2 instances to meet the demand for Spot Instances.
- The Spot price exceeds your maximum price.
- Constraints in the request such as a launch group or an Availability Zone group cannot be met.
Which of the following statements are correct about spot fleet? Choose 3.
- A collection, or fleet, of Spot Instances, and optionally On-Demand Instances.
- A collection, or fleet, only of Spot Instances.
- The request for Spot Instances is fulfilled if there is available capacity and the maximum price you specified in the request exceeds the current Spot price.
- Attempts to maintain its target capacity fleet if your Spot Instances are interrupted interrupted due to a change in the Spot price or available capacity.
- A collection, or fleet, of Spot Instances, and optionally On-Demand Instances.
- A collection, or fleet, only of Spot Instances.
- The request for Spot Instances is fulfilled if there is available capacity and the maximum price you specified in the request exceeds the current Spot price.
- Attempts to maintain its target capacity fleet if your Spot Instances are interrupted interrupted due to a change in the Spot price or available capacity.
How zonal reserved instance are applied? Choose 2.
- Reserved Instances assigned to a specific Availability Zone can provide the Reserved Instance discount to matching instance usage in every Availability Zone for the region.
- Reserved Instances assigned to a specific Availability Zone provide the Reserved Instance discount to matching instance usage in that Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
5.
- Reserved Instances assigned to a specific Availability Zone can provide the Reserved Instance discount to matching instance usage in every Availability Zone for the region.
- Reserved Instances assigned to a specific Availability Zone provide the Reserved Instance discount to matching instance usage in that Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
How zonal reserved instance are applied? Choose 2.
- Reserved Instances assigned to a specific Availability Zone can provide the Reserved Instance discount to matching instance usage in every Availability Zone for the region.
- Reserved Instances assigned to a specific Availability Zone provide the Reserved Instance discount to matching instance usage in that Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
- Reserved Instances assigned to a specific Availability Zone can provide the Reserved Instance discount to matching instance usage in every Availability Zone for the region.
- Reserved Instances assigned to a specific Availability Zone provide the Reserved Instance discount to matching instance usage in that Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
How regional reserved instance are applied? Choose 2.
- The Reserved Instance discount applies to instance usage in any Availability Zone in the specified Region.
- Reserved Instances assigned to a region provide the Reserved Instance discount to matching instance usage in only one Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
- The Reserved Instance discount applies to instance usage in any Availability Zone in the specified Region.
- Reserved Instances assigned to a region provide the Reserved Instance discount to matching instance usage in only one Availability Zone.
- The Reserved Instance discount applies to instance usage for the specified instance type and size only.
- The Reserved Instance discount applies to instance usage within the instance family, regardless of size for Amazon Linux/Unix Reserved Instances with default tenancy
Which are the scenarios when the instance size flexibility is not provided when applying reserved instances? Choose 3.
- Reserved instances purchased for a region
- Reserved instances purchased for a specific Availability Zone
- Reserved Instances with dedicated tenancy
- Reserved Instances for Windows, Windows with SQL Standard, Windows with SQL Server Enterprise, Windows with SQL Server Web, RHEL, and SLES
- Reserved instances purchased for a region
- Reserved instances purchased for a specific Availability Zone
- Reserved Instances with dedicated tenancy
- Reserved Instances for Windows, Windows with SQL Standard, Windows with SQL Server Enterprise, Windows with SQL Server Web, RHEL, and SLES
You purchased a t2.medium default tenancy Amazon Linux/Unix Reserved Instance in the US East (N. Virginia) region and you have two running t2.small instances in your account in that Region. How will the reserved instance billing benefit applied?
- You will not get any benefit as you don’t have running instance type matching to reserved instance type bought.
- You will get benefit applied to usage of only one running t2.small.
- You will get benefit applied to usage of both running t2.small
- You will get benefit applied to 75% usage of both running t2.small
- You will not get any benefit as you don’t have running instance type matching to reserved instance type bought.
- You will get benefit applied to usage of only one running t2.small.
- You will get benefit applied to usage of both running t2.small
- You will get benefit applied to 75% usage of both running t2.small
You purchase a t2.medium default tenancy Amazon Linux/Unix Reserved Instance in the US East (N. Virginia) and you have one running t2.large instances in your account in that Region. How will the reserved instance billing benefit applied?
- You will not get any benefit as you don’t have running instance type matching to reserved instance type bought.
- You will get benefit applied to only 50% usage.
- You will get 100% usage benefit
- You will get 75% usage benefit
- You will not get any benefit as you don’t have running instance type matching to reserved instance type bought.
- You will get benefit applied to only 50% usage.
- You will get 100% usage benefit
- You will get 75% usage benefit
Which of the following statements are correct pertaining to requirements and restrictions for reserved instance modification? Choose 4.
- You can change Availability Zones within the same Region.
- If you change the scope from Availability Zone to Region, you lose the capacity reservation benefit.
- If you change the scope from Region to Availability Zone, you lose Availability Zone flexibility and instance size flexibility (if applicable).
- To change the instance size within the same instance family, the reservation must use Amazon Linux on default tenancy.
- If you change the scope from Region to Availability Zone, you don’t lose Availability Zone flexibility and instance size flexibility (if applicable).
- You can change Availability Zones within the same Region.
- If you change the scope from Availability Zone to Region, you lose the capacity reservation benefit.
- If you change the scope from Region to Availability Zone, you lose Availability Zone flexibility and instance size flexibility (if applicable).
- To change the instance size within the same instance family, the reservation must use Amazon Linux on default tenancy.
- If you change the scope from Region to Availability Zone, you don’t lose Availability Zone flexibility and instance size flexibility (if applicable).
Q66.You have a reservation for one t2.large instance. You want to modify this reservation. Which of the following statements are correct. Choose 2.
- You can convert into one t2.small instances
- You can convert into two t2.medium instances
- You can convert into one t2.medium instances
- You can convert into four t2.small instances
- You can convert into one t2.small instances
- You can convert into two t2.medium instances
- You can convert into one t2.medium instances
- You can convert into four t2.small instances
Which of the following are correct for Scheduled Reserved Instances? Choose 3.
- Enable you to purchase capacity reservations that recur on a daily, weekly, or monthly basis, with a specified start time and duration, for a one-year term.
- You are not charged if you do not use the scheduled instances.
- You pay for the time that the instances are scheduled, even if you do not use them.
- You can’t stop or reboot Scheduled Instances, but you can terminate them manually as needed.
- Enable you to purchase capacity reservations that recur on a daily, weekly, or monthly basis, with a specified start time and duration, for a one-year term.
- You are not charged if you do not use the scheduled instances.
- You pay for the time that the instances are scheduled, even if you do not use them.
- You can’t stop or reboot Scheduled Instances, but you can terminate them manually as needed.
What is an EC2 dedicated host?
- A physical server with EC2 instance capacity fully dedicated to your use.
- Provides visibility of the number of sockets and physical cores.
- Allows you to consistently deploy your instances to the same physical server over time.
- Supports Bring Your Own License.
- All of the above
- A physical server with EC2 instance capacity fully dedicated to your use.
- Provides visibility of the number of sockets and physical cores.
- Allows you to consistently deploy your instances to the same physical server over time.
- Supports Bring Your Own License.
- All of the above
What are the different type of instance tenancy attribute? Choose 3.
- Default: Your instance runs on shared hardware.
- Dedicated: Your instance runs on single-tenant hardware.
- Shared: Your instance runs on shared hardware.
- Host: Your instance runs on a Dedicated Host, which is an isolated server with configurations that you can control.
5.
- Default: Your instance runs on shared hardware.
- Dedicated: Your instance runs on single-tenant hardware.
- Shared: Your instance runs on shared hardware.
- Host: Your instance runs on a Dedicated Host, which is an isolated server with configurations that you can control.
After you launch an instance, there are some limitations to changing its tenancy. Which of the following statements are correct? Choose 3.
- You cannot change the tenancy of an instance from default to dedicated or host after you’ve launched it.
- You can change the tenancy of an instance from default to dedicated or host after you’ve launched it.
- You cannot change the tenancy of an instance from dedicated or host to default after you’ve launched it.
- You can change the tenancy of an instance from dedicated to host, or from host to dedicated after you’ve launched it.
- You cannot change the tenancy of an instance from default to dedicated or host after you’ve launched it.
- You can change the tenancy of an instance from default to dedicated or host after you’ve launched it.
- You cannot change the tenancy of an instance from dedicated or host to default after you’ve launched it.
- You can change the tenancy of an instance from dedicated to host, or from host to dedicated after you’ve launched it.
You have purchased two c4.xlarge default tenancy Linux/Unix Standard Reserved Instances in Availability Zone us-east-1a. Which of the following running instances will benefit from this?
- two c4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1b
- two m4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
- two c4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
- four c4.large default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
- two c4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1b
- two m4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
- two c4.xlarge default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
- four c4.large default tenancy Linux/Unix instances running in the Availability Zone us-east-1a
You are running the following On-Demand Instances in account A:
- 4 x m3.large Linux, default tenancy instances in Availability Zone us-east-1a
- 2 x m4.xlarge Amazon Linux, default tenancy instances in Availability Zone us-east-1b
- 1 x c4.xlarge Amazon Linux, default tenancy instances in Availability Zone us-east-1c
-
You purchase the following Reserved Instances in account A:
- 4 x m3.large Linux, default tenancy Reserved Instances in Availability Zone us-east-1a (capacity is reserved)
- 4 x m4.large Amazon Linux, default tenancy Reserved Instances in Region us-east-1
- 1 x c4.large Amazon Linux, default tenancy Reserved Instances in Region us-east-1
How the reserved instances are applied? Choose 3.
- reservation of the four m3.large zonal Reserved Instances is used by the four m3.large instances
- m4.large regional Reserved Instances billing discount applies to 100% usage of 2 x m4.xlarge Amazon Linux, default tenancy
- m4.large regional Reserved Instances billing discount applies to 50% usage 2 x m4.xlarge Amazon Linux, default tenancy
- c4.large regional Reserved Instance billing discount applies to 50% of c4.xlarge usage.
- c4.large regional Reserved Instance billing discount applies to 100% of c4.xlarge usage.
- reservation of the four m3.large zonal Reserved Instances is used by the four m3.large instances
- m4.large regional Reserved Instances billing discount applies to 100% usage of 2 x m4.xlarge Amazon Linux, default tenancy
- m4.large regional Reserved Instances billing discount applies to 50% usage 2 x m4.xlarge Amazon Linux, default tenancy
- c4.large regional Reserved Instance billing discount applies to 50% of c4.xlarge usage.
- c4.large regional Reserved Instance billing discount applies to 100% of c4.xlarge usage.
Which of the following three statements are correct on reserved instance modifications?
- You can combine a reservation for two t2.small instances into one t2.medium instance
- You can divide a reservation for two t2.small instances into one t2.large instance.
- You can divide a reservation for one t2.large instance into four t2.small instances
- You can combine a reservation for four t2.small instances into one t2.large instance
- You can combine a reservation for two t2.small instances into one t2.medium instance
- You can divide a reservation for two t2.small instances into one t2.large instance.
- You can divide a reservation for one t2.large instance into four t2.small instances
- You can combine a reservation for four t2.small instances into one t2.large instance
Which of the following is not an allocation strategy for the Spot Instances in a Spot Fleet?
- lowestPrice
- diversified
- capacityOptimized
- InstancePoolsToUseCount
- PerformanceOptimized
- lowestPrice
- diversified
- capacityOptimized
- InstancePoolsToUseCount
- PerformanceOptimized
Your online gaming application gets steady traffic apart from first three days of month when you run promotion giving discounts and bonus points to gamers. During those three days the traffic triples because of new users joining and existing users playing more. Currently you have six instances on which your application runs. What is the cost effective way to plan your instances to handle this periodic traffic surge?
- Run 6 on demand instances then add 12 more on-demand only for first three days of the month
- Run 6 on demand instances then add 12 more as spot instances
- Use 18 reserved instances i.e. three time the normal demand all the time
- Run 6 reserved instance and then add 12 on demand instances for three days every month.
- Run 6 on demand instances then add 12 more on-demand only for first three days of the month
- Run 6 on demand instances then add 12 more as spot instances
- Use 18 reserved instances i.e. three time the normal demand all the time
- Run 6 reserved instance and then add 12 on demand instances for three days every month.
You have a reservation with two t2.micro instances and a reservation with one t2.small instance. Which of the following two ways you can combine them? Choose 2.
- Merge both reservations to a single reservation with one t2.medium instance
- Merge both reservations to a single reservation with two t2.small instance
- Merge both reservations to a single reservation with two t2.medium instance
- Merge both reservations to a single reservation with one t2.large instance
- Merge both reservations to a single reservation with one t2.medium instance
- Merge both reservations to a single reservation with two t2.small instance
- Merge both reservations to a single reservation with two t2.medium instance
- Merge both reservations to a single reservation with one t2.large instance
For a service or platform to be considered serverless, what capabilities it should provide? Choose 4.
- No server management – You don’t have to provision or maintain any servers.
- Flexible scaling – You can scale your application automatically or by adjusting its capacity through toggling the units of consumption (for example, throughput, memory) rather than units of individual servers.
- Full control on server management – You will have the ability to install software, maintain or administer.
- High availability – Serverless applications have built-in availability and fault tolerance.
- No idle capacity – You don’t have to pay for idle capacity.
- No server management – You don’t have to provision or maintain any servers.
- Flexible scaling – You can scale your application automatically or by adjusting its capacity through toggling the units of consumption (for example, throughput, memory) rather than units of individual servers.
- Full control on server management – You will have the ability to install software, maintain or administer.
- High availability – Serverless applications have built-in availability and fault tolerance.
- No idle capacity – You don’t have to pay for idle capacity.
Choose the services from which Lambda can read events? Choose 3.
- Amazon API Gateway
- Amazon Kinesis
- Amazon DynamoDB
- Amazon Simple Queue Service
- Amazon API Gateway
- Amazon Kinesis
- Amazon DynamoDB
- Amazon Simple Queue Service
You are a project manager for developing a web application on a tight budget with timeline of one year for end user release. You are planning to have three environments: for developers, for testers and for integration. You need four instances for each environment, minimum of two instances any time and will need them from first week itself. How can you optimize your cost for various environments instances?
- Use 12 reserved instances covering requirement of all three environments.
- Use 6 reserve instances and 6 spot instances
- Use 6 reserve instances and 6 on-demand instances
- Use 3 reserve instances and 9 spot instances
- Use 12 reserved instances covering requirement of all three environments.
- Use 6 reserve instances and 6 spot instances
- Use 6 reserve instances and 6 on-demand instances
- Use 3 reserve instances and 9 spot instances
Which of the following services can be integrated with Lambda? Choose 3.
- S3, SNS, SES, IoT events, Cloudwatch
- ELB, Cognito, API Gateway, Cloudfront, Step Functions
- Kinesis, DynamoDB, SQS
- RDS, ECS, Auto Scaling
- S3, SNS, SES, IoT events, Cloudwatch
- ELB, Cognito, API Gateway, Cloudfront, Step Functions
- Kinesis, DynamoDB, SQS
- RDS, ECS, Auto Scaling
What are the different ways you can use Lambda in your application design?
- Configure triggers to invoke a function in response to resource lifecycle events
- Respond to incoming HTTP requests
- Consume events from a queue
- Run on a schedule
- All of the above
- Configure triggers to invoke a function in response to resource lifecycle events
- Respond to incoming HTTP requests
- Consume events from a queue
- Run on a schedule
- All of the above
You have an application which is using AWS services as depicted below for data ingestion, transformation and final storage in database. At the end of day files are uploaded to a designated S3 bucket. Lambda mapped to S3 captures the file upload event and has the function logic to read files from s3 bucket as stream and writing the data to the kinesis stream. Second Lambda reads the Kinesis streams and has function logic to process and transform the data before saving the records in Aurora DB. While testing you are getting error and the lambda task processing the file in S3 aborts. The code works fine in your local computer dev setup with test files. What could you do to solve the issue? Choose 2.
- Increase the timeout setting. Maximum is 15 minutes. Optimize you code execution time.
- Increase the memory allocation. Maximum is 3 GB.
- Check your code for concurrency issue.
- Increase the provisioned concurrency.
- Increase the timeout setting. Maximum is 15 minutes. Optimize you code execution time.
- Increase the memory allocation. Maximum is 3 GB.
- Check your code for concurrency issue.
- Increase the provisioned concurrency.
Which of the following commands you can run on Linux Instance at Launch?
- Installing web server, php, and mariadb packages.
- Starting http service
- Creating a simple web page to test the web server and PHP engine.
- All of the above
- Installing web server, php, and mariadb packages.
- Starting http service
- Creating a simple web page to test the web server and PHP engine.
- All of the above