GoConqr has a new look! Let us know what you think.

Quiz

Chapter 4

Andres M Chaparro M 20 questions

Take the quiz

Questions in this quiz (20)

  1. 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?
    1. ATake a snapshot of your current instance, and use that as the basis for creating a new
      web server in the correct size.
    2. BCreate a new Amazon Machine Image (AMI), and use that to spin up a new web server
      with the correct instance type.
    3. CStop the instance, and then restart it with the correct instance type.
    4. 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.
  2. 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?
    1. AConfigure the pricing to be Spot pricing, but set the bid price at two times the On-
      Demand price for those instances.
    2. BConfigure the pricing to be On-Demand.
    3. CConfigure the pricing to be Spot pricing, but set the bid price for one-tenth of the On-
      Demand price for those instances.
    4. DThere is nothing that you can do to guarantee completion of a batch job.
    5. EConfigure the number of instances needed for the job as two times what is actually
      needed.
  3. 3With AWS Batch, what values are you allowed to specify when configuring your instances?
    1. AMinimum number of Virtual CPUs (vCPUs), maximum number of vCPUs, and desired
      number of vCPUs
    2. BMinimum and maximum number of vCPUs
    3. CDesired number of vCPUs
    4. DYou are not able to specify the number of vCPUs. AWS will assign the number based
      on current demand and availability.
  4. 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?
    1. AYou have an incorrect key.
    2. BThe security group attached to the interface does not allow SSH.
    3. CYou have an incorrect role assigned to your Amazon EC2 instance.
    4. DThe Amazon EC2 instance does not have a public IP address attached to it.
  5. 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?
    1. AAn instance store-backed Amazon Machine Image (AMI) with user data
    2. BAn Amazon Elastic Block Store (Amazon EBS)-backed AMI with user data
    3. CAn instance store-backed AMI with no user data
    4. DAn Amazon EBS-backed AMI with no user data
  6. 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?
    1. AUse the AWS Total Cost of Ownership (TCO) Calculator to build a model of your current
      infrastructure, and use that to create an estimate.
    2. BUse the My Billing Dashboard to see what your current spending is and also what your
      estimated total monthly spending would be.
    3. CDepending on the level of support you have with AWS, open a trouble ticket, and ask
      to be provided with this information.
    4. DUse the AWS Simple Monthly Calculator to build a model of your current infrastructure,
      and use that to create an estimate.
  7. 7What would be a good reason NOT to use Amazon Lightsail?
    1. AYou need to run a Windows instance.
    2. BYou want to spin up a compute instance quickly for some basic code configuration
      work.
    3. CYou want a high level of control over the cost of your compute instance.
    4. DYou have a website that does not need to be highly available.
  8. 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?
    1. ACreate an AWS Lambda function and have an Amazon Simple Notification Service
      (Amazon SNS) notification kick it off.
    2. BSet up a dedicated instance for this application.
    3. CSet up a dedicated host for this application.
    4. DCreate an Amazon Elastic Compute Cloud (Amazon EC2) Reserved instance.
  9. 9Which of the following would NOT be an appropriate event to trigger an AWS Lambda
    function?
    1. APerforming a GET operation in an Amazon Simple Storage Service (Amazon S3) bucket
    2. BPublishing a message to the Amazon Simple Notification Service (Amazon SNS) topic
    3. CAn entry in an Amazon DynamoDB table
    4. DA message in an Amazon Simple Queue Service (Amazon SQS) queue
  10. 10Which of the following would be a good use case for AWS Elastic Beanstalk?
    1. AYou need to make your current Amazon Relational Database Service (Amazon RDS)
      setup highly available.
    2. 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.
    3. CYou need a compute instance to spin up in response to a specific network event.
    4. DYou are building a minimal website for test purposes.

Information

Description
Chapter 4
Language
Español
Views
344
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?