Chapter 4

Descrição

Chapter 4
Andres M Chaparro M
Quiz por Andres M Chaparro M, atualizado more than 1 year ago
Andres M Chaparro M
Criado por Andres M Chaparro M aproximadamente 5 anos atrás
288
0

Resumo de Recurso

Questão 1

Questão
Because 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?
Responda
  • Take a snapshot of your current instance, and use that as the basis for creating a new web server in the correct size.
  • Create a new Amazon Machine Image (AMI), and use that to spin up a new web server with the correct instance type.
  • Stop the instance, and then restart it with the correct instance type.
  • Assign 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.

Questão 2

Questão
You 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?
Responda
  • Configure the pricing to be Spot pricing, but set the bid price at two times the On- Demand price for those instances.
  • Configure the pricing to be On-Demand.
  • Configure the pricing to be Spot pricing, but set the bid price for one-tenth of the On- Demand price for those instances.
  • There is nothing that you can do to guarantee completion of a batch job.
  • Configure the number of instances needed for the job as two times what is actually needed.

Questão 3

Questão
With AWS Batch, what values are you allowed to specify when configuring your instances?
Responda
  • Minimum number of Virtual CPUs (vCPUs), maximum number of vCPUs, and desired number of vCPUs
  • Minimum and maximum number of vCPUs
  • Desired number of vCPUs
  • You are not able to specify the number of vCPUs. AWS will assign the number based on current demand and availability.

Questão 4

Questão
You 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?
Responda
  • You have an incorrect key.
  • The security group attached to the interface does not allow SSH.
  • You have an incorrect role assigned to your Amazon EC2 instance.
  • The Amazon EC2 instance does not have a public IP address attached to it.

Questão 5

Questão
You 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?
Responda
  • An instance store-backed Amazon Machine Image (AMI) with user data
  • An Amazon Elastic Block Store (Amazon EBS)-backed AMI with user data
  • An instance store-backed AMI with no user data
  • An Amazon EBS-backed AMI with no user data

Questão 6

Questão
Your 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?
Responda
  • Use the AWS Total Cost of Ownership (TCO) Calculator to build a model of your current infrastructure, and use that to create an estimate.
  • Use the My Billing Dashboard to see what your current spending is and also what your estimated total monthly spending would be.
  • Depending on the level of support you have with AWS, open a trouble ticket, and ask to be provided with this information.
  • Use the AWS Simple Monthly Calculator to build a model of your current infrastructure, and use that to create an estimate.

Questão 7

Questão
What would be a good reason NOT to use Amazon Lightsail?
Responda
  • You need to run a Windows instance.
  • You want to spin up a compute instance quickly for some basic code configuration work.
  • You want a high level of control over the cost of your compute instance.
  • You have a website that does not need to be highly available.

Questão 8

Questão
You 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?
Responda
  • Create an AWS Lambda function and have an Amazon Simple Notification Service (Amazon SNS) notification kick it off.
  • Set up a dedicated instance for this application.
  • Set up a dedicated host for this application.
  • Create an Amazon Elastic Compute Cloud (Amazon EC2) Reserved instance.

Questão 9

Questão
Which of the following would NOT be an appropriate event to trigger an AWS Lambda function?
Responda
  • Performing a GET operation in an Amazon Simple Storage Service (Amazon S3) bucket
  • Publishing a message to the Amazon Simple Notification Service (Amazon SNS) topic
  • An entry in an Amazon DynamoDB table
  • A message in an Amazon Simple Queue Service (Amazon SQS) queue

Questão 10

Questão
Which of the following would be a good use case for AWS Elastic Beanstalk?
Responda
  • You need to make your current Amazon Relational Database Service (Amazon RDS) setup highly available.
  • You 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.
  • You need a compute instance to spin up in response to a specific network event.
  • You are building a minimal website for test purposes.

Questão 11

Questão
You 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?
Responda
  • An instance type that uses instance storage
  • An instance type that is Amazon Elastic Block Store (Amazon EBS)-optimized
  • An instance type with a general-purpose CPU
  • An instance type that allows you to use Amazon Elastic File System (Amazon EFS)

Questão 12

Questão
You 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?
Responda
  • Instance store volumes
  • Magnetic-based Amazon Elastic Block Store (Amazon EBS)
  • Solid State Drive (SSD)-based Amazon EBS
  • Amazon Elastic File System (Amazon EFS)
  • Provisioned IOPS

Questão 13

Questão
You 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?
Responda
  • Both the public and private IP addresses are removed from the interface.
  • The public IP address is removed, but the private IP address remains associated with the interface.
  • The public IP address remains associated with the interface, but the private IP address is removed.
  • Both the public IP address and the private IP address remain associated with the interface.
  • None of the above. You cannot stop instance store-backed Amazon EC2 instances.

Questão 14

Questão
You 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?
Responda
  • Both the public and private IP addresses are removed from the interface.
  • The public IP address is removed, but the private IP address remains associated with the interface.
  • The public IP address remains associated with the interface, but the private IP address is removed.
  • Both the public IP address and the private IP address remain associated with the interface.
  • None of the above. You cannot stop instance storage-backed Amazon EC2 instances.

Questão 15

Questão
You 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?
Responda
  • You have to build the new Amazon EC2 instance from scratch because Amazon Machine Images (AMIs) are unique to an AWS Region.
  • You can copy an AMI from one AWS Region to another but only if they are under the same AWS account.
  • You cannot copy an AMI across AWS Regions because then you would have two AMIs with the same AMI ID.
  • You can copy AMIs across AWS Regions using the CopyImage Application Programming Interface (API).
  • You can copy AMIs across AWS Regions using the CopyImage API, but you need first to remove launch permissions and user defined tags.

Questão 16

Questão
You 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?
Responda
  • Spin 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.
  • In the metadata field, load the necessary software to spin up an Apache Web Server.
  • In the user data field, load the necessary software to spin up an Apache Web Server.
  • Go to AWS Marketplace and find an Apache Web Server Amazon Machine Image (AMI).

Questão 17

Questão
You 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?
Responda
  • Make sure that the Amazon EC2 instance has the necessary user permission to be able to access the Amazon S3 bucket.
  • Create 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.
  • Create 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.
  • Make sure that the route table assigned to the Amazon EC2 instance has a route to the Amazon S3 bucket.

Questão 18

Questão
Why would you use AWS Elastic Beanstalk to deploy a web application that uses multiple Availability Zones?
Responda
  • You might run out of compute instances if you ran everything in a single Availability Zone.
  • Using multiple Availability Zones improves the response time of your web application.
  • Using multiple Availability Zones makes your application highly available.
  • You can’t run AWS Elastic Beanstalk in a single Availability Zone.

Questão 19

Questão
What are some of the aspects of Amazon Elastic Compute Cloud (Amazon EC2) that are controlled by your choice of instance type?
Responda
  • Operating system
  • User data
  • Amazon Machine Image (AMI)
  • CPU family availability

Questão 20

Questão
You have just spun up an M4.2xlarge Amazon Elastic Compute Cloud (Amazon EC2) instance. What does the “4” stand for?
Responda
  • Indicates the amount of RAM associated with the instance
  • Indicates the generation of M class family instance
  • Indicates the baseline number of CPUs associated with the instance
  • Has no meaning at all and is only an AWS naming convention

Semelhante

Geology Flashcards
itzel.jm
sentence relations and thruth
Fernanda Méndez
Guia de Estudos para OAB 1a Fase
Alessandra S.
Como Transformar Flashcards em Suporte
Alessandra S.
Recrutamento e seleção de pessoas
brunocmt
RESUMOS EXAME GEOGRAFIA A
beatriizcunha
Aprenda português brincando
Luís Fernando Olivei
O que estudar para Exame da Ordem
GoConqr suporte .
Learning English listening, Reading, talking and writing
celiorobertofrei
Questões Grécia Antiga- Antiguidade Classica
vesanso Souza
Características
Caroline Souto