Quiz
Chapter 4
Perguntas do quiz (20)
1Because of a change in your web traffic, you realize that you need a larger instance size for
your web server. What is the best way to make this change?- ATake a snapshot of your current instance, and use that as the basis for creating a new
web server in the correct size. - BCreate a new Amazon Machine Image (AMI), and use that to spin up a new web server
with the correct instance type. - CStop the instance, and then restart it with the correct instance type.
- DAssign an Elastic IP to the instance interface. Create a new instance with the right
instance size. Reassign the Elastic IP from the old instance to the new instance.
- ATake a snapshot of your current instance, and use that as the basis for creating a new
2You have configured a batch job on AWS Batch and you need it to complete. What should
you do in order to make sure that the batch job completes?- AConfigure the pricing to be Spot pricing, but set the bid price at two times the On-
Demand price for those instances. - BConfigure the pricing to be On-Demand.
- CConfigure the pricing to be Spot pricing, but set the bid price for one-tenth of the On-
Demand price for those instances. - DThere is nothing that you can do to guarantee completion of a batch job.
- EConfigure the number of instances needed for the job as two times what is actually
needed.
- AConfigure the pricing to be Spot pricing, but set the bid price at two times the On-
3With AWS Batch, what values are you allowed to specify when configuring your instances?
- AMinimum number of Virtual CPUs (vCPUs), maximum number of vCPUs, and desired
number of vCPUs - BMinimum and maximum number of vCPUs
- CDesired number of vCPUs
- DYou are not able to specify the number of vCPUs. AWS will assign the number based
on current demand and availability.
- AMinimum number of Virtual CPUs (vCPUs), maximum number of vCPUs, and desired
4You attempt to use Secure Shell (SSH) to access an Amazon Elastic Compute Cloud (Amazon
EC2) instance but are unable to do so. What would NOT be a reason why you are
unable to do so successfully?- AYou have an incorrect key.
- BThe security group attached to the interface does not allow SSH.
- CYou have an incorrect role assigned to your Amazon EC2 instance.
- DThe Amazon EC2 instance does not have a public IP address attached to it.
5You need to create an Amazon Elastic Compute Cloud (Amazon EC2) instance with the
fastest possible boot time. What combination will give you an Amazon EC2 instance with
the fastest boot time?- AAn instance store-backed Amazon Machine Image (AMI) with user data
- BAn Amazon Elastic Block Store (Amazon EBS)-backed AMI with user data
- CAn instance store-backed AMI with no user data
- DAn Amazon EBS-backed AMI with no user data
6Your boss has asked you to provide a report that shows your current monthly spending
with AWS and an estimate of how much you will be spending this entire month. Which of
these methods would be the best way to get those amounts?- AUse the AWS Total Cost of Ownership (TCO) Calculator to build a model of your current
infrastructure, and use that to create an estimate. - BUse the My Billing Dashboard to see what your current spending is and also what your
estimated total monthly spending would be. - CDepending on the level of support you have with AWS, open a trouble ticket, and ask
to be provided with this information. - DUse the AWS Simple Monthly Calculator to build a model of your current infrastructure,
and use that to create an estimate.
- AUse the AWS Total Cost of Ownership (TCO) Calculator to build a model of your current
7What would be a good reason NOT to use Amazon Lightsail?
- AYou need to run a Windows instance.
- BYou want to spin up a compute instance quickly for some basic code configuration
work. - CYou want a high level of control over the cost of your compute instance.
- DYou have a website that does not need to be highly available.
8You have an application that needs to be available at all times. This application, once
started, needs to run for about 35 minutes. You must also minimize the application’s cost.
What would be a good strategy for achieving all of these objectives?- ACreate an AWS Lambda function and have an Amazon Simple Notification Service
(Amazon SNS) notification kick it off. - BSet up a dedicated instance for this application.
- CSet up a dedicated host for this application.
- DCreate an Amazon Elastic Compute Cloud (Amazon EC2) Reserved instance.
- ACreate an AWS Lambda function and have an Amazon Simple Notification Service
9Which of the following would NOT be an appropriate event to trigger an AWS Lambda
function?- APerforming a GET operation in an Amazon Simple Storage Service (Amazon S3) bucket
- BPublishing a message to the Amazon Simple Notification Service (Amazon SNS) topic
- CAn entry in an Amazon DynamoDB table
- DA message in an Amazon Simple Queue Service (Amazon SQS) queue
10Which of the following would be a good use case for AWS Elastic Beanstalk?
- AYou need to make your current Amazon Relational Database Service (Amazon RDS)
setup highly available. - BYou want to spin up a website to serve internal customers, but you don’t want to have
to think about making it highly available and highly scalable. - CYou need a compute instance to spin up in response to a specific network event.
- DYou are building a minimal website for test purposes.
- AYou need to make your current Amazon Relational Database Service (Amazon RDS)
11You have a relational database that is running on a Windows Amazon Elastic Compute
Cloud (Amazon EC2) instance. What would be the best choice for instance type?- AAn instance type that uses instance storage
- BAn instance type that is Amazon Elastic Block Store (Amazon EBS)-optimized
- CAn instance type with a general-purpose CPU
- DAn instance type that allows you to use Amazon Elastic File System (Amazon EFS)
12You have a relational database that is running on a Windows Amazon Elastic Compute
Cloud (Amazon EC2) instance. What would be the best choice for storage?- AInstance store volumes
- BMagnetic-based Amazon Elastic Block Store (Amazon EBS)
- CSolid State Drive (SSD)-based Amazon EBS
- DAmazon Elastic File System (Amazon EFS)
- EProvisioned IOPS
13You have an instance store-backed Amazon Elastic Compute Cloud (Amazon EC2) instance
with an interface that has a private IP address and a public IP address attached to it.
You stop the instance. What happens to the IP addresses?- ABoth the public and private IP addresses are removed from the interface.
- BThe public IP address is removed, but the private IP address remains associated with
the interface. - CThe public IP address remains associated with the interface, but the private IP address
is removed. - DBoth the public IP address and the private IP address remain associated with the interface.
- ENone of the above. You cannot stop instance store-backed Amazon EC2 instances.
14You have an Amazon Elastic Block Store (Amazon EBS) storage-backed Amazon Elastic
Compute Cloud (Amazon EC2) instance with an interface that has a private IP address
and a public IP address attached to them. You stop the instance. What happens to the IP
addresses?- ABoth the public and private IP addresses are removed from the interface.
- BThe public IP address is removed, but the private IP address remains associated with
the interface. - CThe public IP address remains associated with the interface, but the private IP address
is removed. - DBoth the public IP address and the private IP address remain associated with the interface.
- ENone of the above. You cannot stop instance storage-backed Amazon EC2 instances.
15You have an Amazon Elastic Compute Cloud (Amazon EC2) instance running in one AWS
Region that you want to be able to run in another AWS Region. What do you need to do in
order to accomplish that?- AYou have to build the new Amazon EC2 instance from scratch because Amazon
Machine Images (AMIs) are unique to an AWS Region. - BYou can copy an AMI from one AWS Region to another but only if they are under the
same AWS account. - CYou cannot copy an AMI across AWS Regions because then you would have two AMIs
with the same AMI ID. - DYou can copy AMIs across AWS Regions using the CopyImage Application Programming
Interface (API). - EYou can copy AMIs across AWS Regions using the CopyImage API, but you need first
to remove launch permissions and user defined tags.
- AYou have to build the new Amazon EC2 instance from scratch because Amazon
16You need to spin up an Apache Web Server on an Amazon Elastic Compute Cloud (Amazon
EC2) instance. What is the best way to do so?- ASpin up an Amazon EC2 instance, use Secure Shell (SSH) to access it after it has
booted up, and configure it to be an Apache Web Server. - BIn the metadata field, load the necessary software to spin up an Apache Web Server.
- CIn the user data field, load the necessary software to spin up an Apache Web Server.
- DGo to AWS Marketplace and find an Apache Web Server Amazon Machine Image (AMI).
- ASpin up an Amazon EC2 instance, use Secure Shell (SSH) to access it after it has
17You need an Amazon Elastic Compute Cloud (Amazon EC2) instance to be able to access
an object in an Amazon Simple Storage Service (Amazon S3) bucket. What is the most
secure way to do this?- AMake sure that the Amazon EC2 instance has the necessary user permission to be able
to access the Amazon S3 bucket. - BCreate an AWS Identity and Access Management (IAM) role. Make sure that role has
the necessary level of permission to access the Amazon S3 bucket. Assign that role to
the Amazon EC2 instance. - CCreate an IAM role. Make sure that role has the necessary level of permission to access
the Amazon S3 bucket. Assign that role to the Amazon S3 bucket. - DMake sure that the route table assigned to the Amazon EC2 instance has a route to the
Amazon S3 bucket.
- AMake sure that the Amazon EC2 instance has the necessary user permission to be able
18Why would you use AWS Elastic Beanstalk to deploy a web application that uses multiple
Availability Zones?- AYou might run out of compute instances if you ran everything in a single Availability Zone.
- BUsing multiple Availability Zones improves the response time of your web application.
- CUsing multiple Availability Zones makes your application highly available.
- DYou can’t run AWS Elastic Beanstalk in a single Availability Zone.
19What are some of the aspects of Amazon Elastic Compute Cloud (Amazon EC2) that are
controlled by your choice of instance type?- AOperating system
- BUser data
- CAmazon Machine Image (AMI)
- DCPU family availability
20You have just spun up an M4.2xlarge Amazon Elastic Compute Cloud (Amazon EC2)
instance. What does the “4” stand for?- AIndicates the amount of RAM associated with the instance
- BIndicates the generation of M class family instance
- CIndicates the baseline number of CPUs associated with the instance
- DHas no meaning at all and is only an AWS naming convention
Informações
- Descrição
- Chapter 4
- Autor
- Andres M Chaparro M
- Idioma
- Español
- Visualizações
- 344
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz