Preguntas Inicio

Description

Preguntas
Andres M Chaparro M
Quiz by Andres M Chaparro M, updated more than 1 year ago
Andres M Chaparro M
Created by Andres M Chaparro M over 5 years ago
162
0

Resource summary

Question 1

Question
You notice in the AWS Management Console that your Amazon Elastic Compute Cloud (Amazon EC2) Instance State is Failed. What would cause this?
Answer
  • Loss of network connectivity
  • Loss of System Power
  • Incompatible kernel
  • Software issues on the physical host

Question 2

Question
What is the difference between a Public Subnet and a Private Subnet in a VPC?
Answer
  • The Route Table in the Private Subnet has a route to the Network Address Translation (NAT), while the Route Table in a Public Subnet does not.
  • The Route Table in the Public Subnet has a route to the Internet Gateway (IGW), while the Route Table in a Private Subnet does not.
  • The Public Subnet has NAT server, while a Private Subnet does not.
  • Only Elastic Load Balancers are allowed in the Public Subnet.

Question 3

Question
You have deployed eight Amazon Elastic Compute Cloud (Amazon EC2) instances in the us-west-1a Availability Zone and two Amazon EC2 instances in us-west-1b Availability Zone. You noticed that the two Amazon EC2 instances in us-west-1b received the same amount of traffic that is load balanced between the other eight Amazon EC2 instances located in the us-west-1a Availability Zone. How can you fix this from the load balancer?
Answer
  • Enable cross-load balancing on your load balancer.
  • Create an Auto Scaling group, and configure it to balance out the instances between the Availability Zones.
  • Create three instances in us-west-1b, and terminate three instances in us-west-1a.
  • Migrate to an Application load balancer.

Question 4

Question
You have launched an Amazon Relational Database Service (Amazon RDS) database instance running MySQL. When you created the Amazon RDS instance, you did not specify a maintenance window, and now you need to update the instance size from micro to large. If you request to have the update happen inside the maintenance window, what will occur?
Answer
  • Nothing. The command will be ignored until you create and apply a maintenance window.
  • Nothing. It is not possible to change the DB size using Amazon RDS.
  • AWS will select and use a default maintenance window if one is not provided.
  • AWS will prompt you to provide a maintenance window when you make the request.

Question 5

Question
Which of the following is the customer’s responsibility in the Shared Responsibility Model?
Answer
  • Restricting access to Amazon Elastic Compute Cloud (Amazon EC2) using Security Groups
  • Restricting physical access to AWS datacenters
  • Destroying physical media used in AWS datacenters
  • Managing updates to the Hypervisors on which instances run

Question 6

Question
You are tasked with storing 200 GB of archival images that are requested infrequently, averaging one or two requests per image each day. Which is the most cost effective storage option for the images?
Answer
  • Amazon Elastic Block Store (Amazon EBS) io1
  • Amazon EBS gp2
  • Amazon Simple Storage Service (Amazon S3)
  • Amazon Elastic File System (Amazon EFS)

Question 7

Question
You need storage for your production MySQL database. The database is 19 TB in size, and you will need to have approximately 10,000 IOPS—mostly writes. Without considering price, which storage option satisfies the requirements?
Answer
  • Provisioned Amazon Elastic File System (Amazon EFS) 20 TB volume with 10,000 IOPS
  • Two provisioned Amazon EFS 10 TB volumes with 5,000 IOPS per volume and RAID0 striping
  • Provisioned Amazon Elastic Block Store (Amazon EBS) (io1) 20 TB volume with 10,000 IOPS
  • Two Provisioned Amazon EBS (io1) 10 TB volumes with 5,000 IOPS per volume and RAID0 striping

Question 8

Question
What is the purpose of Amazon Elastic Compute Cloud (Amazon EC2) user data?
Answer
  • To install software on the Amazon EC2 instance at boot
  • To list any public keys associated with the instance
  • To show a Public IP address to an Amazon EC2 instance
  • To show the localhost name for the instance

Question 9

Question
You have created an Amazon Virtual Private Cloud (Amazon VPC) with the CIDR of 10.0.0.0/16. You now need to divide that VPC into a Public Subnet and a Private Subnet. Which one below is a valid combination?
Answer
  • Public 10.1.0.0/24 Private 10.2.0.0/24
  • Public 10.0.0.1/24 Private 10.0.0.2/24
  • Public 10.0.1.0/24 Private 10.0.2.0/24
  • Public 10.0.1.0/16 Private 10.0.2.0/16

Question 10

Question
You have created an Auto Scaling group with a minimum of two Amazon Elastic Compute Cloud (Amazon EC2) instances, a maximum of six instances, and a desired capacity of four instances. Your instances take 20 minutes to launch, and they take three minutes to start once built. How can you configure autoscaling to start and stop instances versus launching new instances from Amazon Machine Instances (AMIs)?
Answer
  • Create a new Auto Scaling launch configuration, and configure the Auto Scaling group to start the instances.
  • Edit the Auto Scaling group’s launch configuration to start instances.
  • This is not possible, as Auto Scaling cannot stop and start instances.
  • Configure the Auto Scaling group to use the Amazon EC2 recovery service.

Question 11

Question
You have a Multi-AZ Amazon Relational Database Service (Amazon RDS) database running MySQL. During a planned outage, how does AWS ensure that, when switching from the primary DB to the standby, it will not affect your application servers?
Answer
  • Amazon RDS uses Elastic IP addresses that are detached from the primary database and then attached to the standby instance. This promotes the standby to be the primary.
  • Amazon RDS uses the Elastic Queue Service to process requests from application servers and send them to database engines. Since this is done at the Hypervisor, no user intervention is required.
  • Amazon RDS runs both database instances independently, and each has their own connection string. You will have to update the code on your application servers because AWS has no visibility above the Hypervisor.
  • Amazon RDS uses Amazon Route 53 to create connection strings and will automatically update the IP address to point at the standby instance.

Question 12

Question
When attaching an Amazon Elastic Block Store (Amazon EBS) volume to an Amazon Elastic Compute Cloud (Amazon EC2) instance, what conditions must be true?
Answer
  • The Amazon EBS volume must be in the same Availability Zone (AZ) as the instance.
  • The Amazon EBS volume must be in the same account as the instance.
  • The Amazon EBS volume must be assigned to an AMI ID.
  • The Amazon EBS volume must have the same security group as the instance.

Question 13

Question
You’ve been asked to migrate a busy Amazon Relational Database Service (Amazon RDS) for MySQL database to Amazon Aurora. You need to do so with little downtime and with no lost data. What is the best way to meet the above requirements?
Answer
  • Take a snapshot of the MySQL Amazon RDS instance. Use that snapshot to create an Amazon Aurora Read Replica of the Amazon RDS for MySQL database. Once replication catches up, make the Aurora Read Replica into a standalone Amazon Aurora DB cluster, and point the application to the new Amazon Aurora DB cluster.
  • Create an Amazon Simple Storage Service (Amazon S3) bucket, and upload the Amazon RDS database as a flat file dump into the bucket. Restore from the dump to a new Amazon Aurora database.
  • Restore the most recent Amazon RDS automated backup to a new Amazon Aurora instance. Stop the application, point the application at the new Amazon Aurora DB instance, and start the application.
  • Take a snapshot. Restore the snapshot to a new Amazon Aurora instance. Point the application to the new Amazon Aurora DB instance, and start the application.

Question 14

Question
In case of a failure of the primary node of an Amazon Relational Database Service (Amazon RDS) instance with an RDS Multi-AZ deployment, you must do the following to recover:
Answer
  • Nothing. The node will automatically fail over to each of the three included read replicas in alternative regions.
  • Nothing. The node will automatically fail over to the standby instance; a short amount of downtime may occur.
  • Manually stand up a new instance by restoring from the most recent automatic backup.
  • Manually initiate the failover using the AWS CLI initialize-rds-failover command.

Question 15

Question
As part of an application requirement that you’ve been given, you must deploy a new Amazon DynamoDB database. You must do so in a highly available manner. How do you deploy this database?
Answer
  • Deploy the Amazon DynamoDB database in a single Availability Zone (AZ). Set up an automatic backup job to Amazon S3 and an automatic restore job from S3 to a DynamoDB database in a second AZ.
  • Use the Amazon DynamoDB Local version in two AZs.
  • You can’t use Amazon DynamoDB for HA requirements.
  • Deploy an Amazon DynamoDB database in the desired region.

Question 16

Question
Your application has a database that has been reported as being slow by your end users. Upon investigation, you find that the database is seeing an extraordinarily high volume of read activity. What is one way to overcome this constraint?
Answer
  • Place an Amazon CloudFront distribution between the application layer and the database.
  • Use AWS Shield to protect against too many reads from the application layer to the database.
  • Use Amazon ElastiCache to provide a cache for frequent reads between the application layer and database.
  • Use AWS Route53 Latency Based Routing to direct traffic to the least latent database node.

Question 17

Question
You have assigned an Elastic IP to an Amazon Elastic Compute Cloud (Amazon EC2) instance. You then terminate that instance. What happens to that Elastic IP?
Answer
  • The Elastic IP remains associated with the account, and you start getting charged for it.
  • The Elastic IP remains associated with the account.
  • The Elastic IP is deleted along with the Amazon EC2 instance.
  • You cannot delete an Amazon EC2 instance with an Elastic IP associated with it. You must remove or delete the Elastic IP first.

Question 18

Question
You are using Amazon CloudFront to serve static content to your users. What would be the best way to control access to the content?
Answer
  • Create an Amazon Simple Service (Amazon S3) bucket policy using AWS Identity and Management (IAM) as the mechanism to control access.
  • Have your application create and distribute either signed URLs or signed cookies.
  • Use the LIST Distribution API within Amazon CloudFront.
  • Use Origin Access Identity (OAI) to secure access to content in Amazon CloudFront.

Question 19

Question
You are looking to encrypt your Amazon DynamoDB table. How would you do this?
Answer
  • In the Amazon DynamoDB console, turn on server-side encryption.
  • Via the AWS CLI, turn on server-side encryption.
  • Use client-side encryption, as Amazon DynamoDB does not support server-side encryption.
  • Enable Transparent Data Encryption (TDE).

Question 20

Question
You are part of a team which is rebuilding your company’s monolithic web application. The team plans on using a tiered architecture. One of the primary goals is to be able to use Auto Scaling to add and remove Amazon Elastic Compute Cloud (Amazon EC2) instances on demand. To this end, you need to get user state data off of individual instances. Which of the following AWS cloud services will provide you with a shared data store that is highly durable and has low latency?
Answer
  • Amazon DynamoDB
  • Amazon EC2 Instance Storage
  • Amazon Relational Database Service (Amazon RDS)
  • Amazon Simple Storage Service (Amazon S3)

Question 21

Question
Your company maintains an application that has a home-grown messaging cluster. You want to avoid maintaining this legacy cluster, and you need to migrate to an AWS service that provides this functionality. What service do you set up?
Answer
  • AWS X-Ray
  • Amazon CloudFront
  • Amazon Elasticsearch
  • Amazon Simple Queue Service (Amazon SQS)

Question 22

Question
You need to create an Amazon Virtual Private Cloud (Amazon VPC) that will allow you to use AWS Direct Connect. Which of the following combinations will allow you to use AWS Direct Connect but also prevent connectivity to the Internet?
Answer
  • You are not able to do so. If you have an AWS Direct Connect connection, by default, you have a connection to the Internet.
  • Create a VPC with both an Internet Gateway (IGW) and a VPN Gateway.
  • Create a VPC with an AWS Direct Connect Gateway.
  • Create a VPC with a VPN Gateway.

Question 23

Question
You have 10 Amazon Elastic Compute Cloud (Amazon EC2) instances behind a classic load balancer. What do you need to do to ensure that traffic is routed only to healthy instances?
Answer
  • Terminate the unhealthy instances.
  • Enable cross-zone load balancing on your load balancer.
  • Turn on health checks, and the load balancer will send traffic to the healthy instances.
  • Nothing. The load balancer will terminate the unhealthy instances.

Question 24

Question
You have noticed that your Auto Scaling group has scaled up to its maximum size. How can you be notified when your Auto Scaling group scales out and scales in?
Answer
  • Have your Auto Scaling group send messages to Amazon Simple Queue Service (Amazon SQS). Periodically check the queue for your Auto Scaling messages.
  • Configure an Amazon Simple Notification Service (Amazon SNS) topic with an SMS subscription to your phone number.
  • Configure an Amazon Simple Notification Service (Amazon SNS) topic with an AWS Lambda function that sends an email.
  • Periodically query the Auto Scaling group to check the desired capacity.

Question 25

Question
You are given a project to implement a High Performance Computing (HPC) workload for your R&D department. The workload takes tasks one-by-one, and it is tolerant of a node in the cluster failing. Each task runs for approximately one hour. Which of the following AWS cloud services is best suited for your workload from a cost-effectiveness standpoint?
Answer
  • Amazon Elastic Compute Cloud (Amazon EC2) Spot
  • Amazon EC2 on-demand instances
  • Amazon Elastic Compute Cloud (Amazon EC2) reserved instances
  • AWS Lambda
Show full summary Hide full summary

Similar

Fin de Curso: Preguntas para nuestros alumnos
Diego Santos
Filosofia -Pau
Alicia Chinarro
20 preguntas sobre sistemas operativos
esmeraldameza100
4 SIMULADOR EXAMEN LICENCIA ASA
DIEGO CORTAZAR
FICHAS TECNO
gabriel marcellin
13 colonias cuestionario
angel herrera
Test ley de los exponentes
Eduardo Giron
Sumulador ENES 2
Ismael Díaz
10 Preguntas sobre Inteligencias Multiples
Max Sanchez
preguntas del modelo OSI y modelo TCP/IP
alejandrovielmas