AWS 2

Description

Quiz on AWS 2, created by K H on 30/08/2015.
K H
Quiz by K H, updated more than 1 year ago
K H
Created by K H about 9 years ago
57
2

Resource summary

Question 1

Question
The user has configured AutoScaling based on the dynamic policy. Which of the following is not the right command to specify a change in capacity as a part of the policy?
Answer
  • “adjustment=3” (type is ExactCapacity)
  • “adjustment=-50” (type is PercentChangeInCapacity)
  • “adjustment=-1” (type is ChangeInCapacity)
  • “adjustment=-8” (type is ExactCapacity)

Question 2

Question
A user has configured AutoScaling with policy based scaling. The user has 68 instances running right now. The policy states that the count should be increased by 10%. How many instances will be running after the scaling activity is complete?
Answer
  • 75
  • 74
  • 69
  • 76

Question 3

Question
A user has configured AutoScaling with policy based scaling. The user has 53 instances running right now. The policy states that the count should decrease by 10%. How many instances will be running after the scaling activity is complete?
Answer
  • 47
  • 48
  • 50
  • 52

Question 4

Question
A user is providing a SaaS which is hosted on AWS. The SaaS is having multiple customers and the owner wants to setup AutoScaling for each customer based on their requirement. What is the maximum number of AutoScaling groups that the owner can configure in each region?
Answer
  • 100
  • 40
  • 10
  • 20

Question 5

Question
A user has launched an instance with an EBS backed root device and then attached two additional EBS volumes to it. The user is trying to create the AutoScaling Launch configuration using this instance as a reference. How many additional block devices will the future instance have by default?
Answer
  • 3
  • 2
  • 0
  • 1

Question 6

Question
A user is trying to create an AutoScaling launch configuration from an existing EC2 instance using AWS console. Where should the user select the instance to setup the launch config?
Answer
  • EC2-> Auto Scaling-> Instance Listing
  • EC2->Describe Instances Page
  • The launch from the instance is not supported in the AWS console
  • EC2-> Launch Config Creation Page

Question 7

Question
A user is trying to create a vault in AWS Glacier. The user wants to enable notifications. In which of the below mentioned options can the user enable the notifications from the AWS console?
Answer
  • Vault Inventory Retrieval Job Complete.
  • Glacier does not support the AWS console.
  • Archival Upload Complete.
  • Vault Retrieval Job Complete.

Question 8

Question
A user is writing an application which creates versions of all the objects which are older than 50 days. Which of the below mentioned APIs or methodologies should the user use?
Answer
  • SOAP API
  • CLI
  • REST API
  • AWS console

Question 9

Question
A user is planning to launch an instance from AWS EC2. Which of the below mentioned options is not a possible scenario?
Answer
  • Use the AWS Tools for Windows PowerShell with an AMI that the user selects.
  • Launch an instance using the Amazon EBS snapshot.
  • Launch using the ELB console with the selected AMI.
  • Launch an instance using the EC2 CLI.

Question 10

Question
When selecting an AMI to launch the EC2 instance, which of the below mentioned options is not available to the user?
Answer
  • Select Community AMIs.
  • Select from the AWS marketplace.
  • Select from the Trusted AWS partners.
  • Select My AMIs.

Question 11

Question
A user is using an EBS backed Windows instance. The user wants the instance to terminate when he stops the instance. How can the user achieve this?
Answer
  • The user has to use Cloudwatch to configure instance termination while the instance is being stopped.
  • Update the instance termination protection attributes so it always terminates when it is stopped.
  • Change the shutdown behaviour of the instance from stop to terminate.
  • It is not possible to terminate the instance when it is stopped.

Question 12

Question
A user has launched an EC2 instance. Which of the below mentioned statements is not true with respect to instance addressing?
Answer
  • The user can communicate using the private IP across regions.
  • The private IP address and public IP address for an instance are directly mapped to each other using NAT.
  • The private IP addresses are not reachable from the internet.
  • The private IP address for the instance is assigned using DHCP.

Question 13

Question
A user is creating a custom firewall configuration in EC2-Classic. How will the user ensure that the internal DNS resolution of the instance does not fail?
Answer
  • The user cannot create a custom firewall in EC2-Classic.
  • The custom firewall should map the internal DNS with the elastic IP using NAT.
  • Allow inbound traffic on port 53 from the Amazon DNS server.
  • The user should implement NAT for DNS and IP mapping.

Question 14

Question
A user has launched an EC2 instance and mounted a 20 GB volume on /dev/sdf. What will happen to the volume when the instance is terminated?
Answer
  • The volume will survive instance termination.
  • The volume will be terminated only if it is mounted as a root device.
  • The volume will be terminated along with the instance.
  • The volume will be terminated only if the user has marked the flag of deleteontermination false.

Question 15

Question
A user is trying to launch an instance with a free usage tier. Which of the below mentioned options is not possible?
Answer
  • Attach an EBS volume of 1 GB.
  • Launch with RHEL OS.
  • Enable termination protection.
  • Attach an ephemeral storage.

Question 16

Question
A user is creating an AMI from a large instance. The instance has one EBS volume of 10 GB and one ephermal storage. Will the AMI have ephermal storage when a new instance is launched from it?
Answer
  • Provided it is an EBS backed AMI.
  • No.
  • Provided it is an instance store backed AMI.
  • Yes.

Question 17

Question
A user has launched an EC2 instance under the free usage tier. The user wants to have some temporary storage attached to the instance. How can the user have ephermal storage?
Answer
  • It is not possible to have ephermal storage with free usage.
  • Launch an instance with an instance store backed AMI.
  • Create an AMI which has ephermal storage attached on instance launch.
  • While launching an instance the user can attach ephermal storage.

Question 18

Question
A user is launching an EC2 instance under the free usage tier from the AMI with a snapshot size of 50 GB. How can the user launch the instance under the free usage tier?
Answer
  • It is not possible to have this instance under the free usage tier.
  • Launch a micro instance, but in the EBS configuration modify the size of EBS to 30 GB.
  • Launch a micro instance.
  • Launch a micro instance, but do not store the data of more than 30 GB on the EBS storage.

Question 19

Question
While assigning a tag to an instance, which of the below mentioned options is not a valid tag key/value pair?
Answer
  • Key: “aws:name” Value: “instance@aws”
  • Key: “Name :aws” Value: “instance@aws”
  • Key : “name@aws” Value:”aws:instance”
  • Key : “aws” Value:”aws”

Question 20

Question
A user has configured a security group with EC2-CLASSIC. Which of the below mentioned statements is true?
Answer
  • By default all inbound traffic is disabled and all outbound traffic is enabled.
  • By default all inbound and outbound traffic is enabled.
  • By default all inbound and outbound traffic is disabled.
  • By default all inbound traffic is enabled and all outbound traffic is disabled.

Question 21

Question
A user has enabled versioning of a bucket. Is it possible to store all the versions of the objects in RRS and the current version of the object in S3?
Answer
  • Yes.
  • No.
  • No, but it is possible that the current version stays in RRS and the older version in S3.
  • Yes, only if the life cycle rule is set.

Question 22

Question
A user is exploring options to work with AWS S3. Which of the below mentioned statements does not help user with respect to AWS S3?
Answer
  • The user can store a php file in AWS S3.
  • The user can host a static website on AWS S3.
  • The user can host a dynamic website with Cloudfront.
  • The user can create a bucket with the same name as the user domain on S3.

Question 23

Question
A user has enabled a static website with AWS S3. The user already has index.html as a part of this bucket. What difference will be there for the user while using this hosting feature?
Answer
  • Nothing. The website hosting feature just enables the user to point to the specific index file.
  • It helps the user to save some costs as it will not consider the I/O charges if website hosting is enabled.
  • The user can directly access the website using the region specific endpoint.
  • Nothing. the user can always access index.html without the hosting feature.

Question 24

Question
A user has a root domain as www.cloudacademy.com. The user wants to serve all the requests for cloudacademy.com as well as for www.cloudacademy.com using AWS S3. How can the user achieve this?
Answer
  • Create two buckets with the name www.cloudacademy.com and cloudacademy.com and host a static website on both the buckets.
  • Create two buckets with the name www.cloudacademy.com and cloudacademy.com and route requests from both the buckets to each other using S3 website hosting.
  • It is not possible to have two buckets serving the same website.
  • Create two buckets with the name www.cloudacademy.com and cloudacademy.comand route requests of one bucket to another using S3 website hosting.

Question 25

Question
A user has uploaded an object on S3. Which of the below mentioned methodologies should be implemented by S3 to ensure the integrity of the data?
Answer
  • Archival.
  • Checksum.
  • Encryption.
  • Intrinsic replication.

Question 26

Question
A user is updating an object in the Singapore region. The original content has the value “colour=red”. The user updates the object with the content as “colour=”white”. If the user tries to read the value of the object 1 minute after it was uploaded, what will S3 return?
Answer
  • It will return “colour=white”.
  • It will return “colour=red”.
  • It will return an error saying that the object was not found.
  • It may return either “colour=red” or “colour=white” i.e. any of the value.

Question 27

Question
A user is creating an object in the EU region. The content of the object is the value “colour=red”. If the user tries to read the value of the object 1 minute after it was uploaded, what will S3 return?
Answer
  • It will return error 404 object not found.
  • It may return an error or return the value “colour=red”.
  • It will return an invalid key.
  • It will return “colour=red”.

Question 28

Question
A user has created an bucket with the name "cloudacademy" in the US East region. The other AWS account user is trying to create a bucket with the same name in the EU region. What will S3 do?
Answer
  • It will allow the other AWS owner to create since the AWS account ID is different.
  • It will throw an error saying naming criteria not met for EU region.
  • It will allow the other AWS owner to create since the region is different.
  • It will throw an error saying the requested bucket name is not available

Question 29

Question
An IAM user is performing an operation on some other user’s S3 bucket. What will S3 first check in this context?
Answer
  • Verifies if the IAM policy is available for the root account to provide permission to the other IAM users.
  • Verifies that the bucket has the required policy defined for access the IAM user.
  • Verifies if the parent of the IAM user has granted sufficient permission.
  • Reject the request since the IAM user does not belong to the root account.

Question 30

Question
A user has the vault name “CLOUDAcademy” in the US-East region. The user is trying to create a new vault in the US-West-1 region with the same name. What will happen in this case?
Answer
  • Glacier is not supported the in US-West-1 region.
  • Glacier will throw an error for same vault name.
  • Glacier will allow the user to create a new vault in the US-West-1 region.
  • Glacier will throw an error for wrong naming convention in the US-West-1 region.

Question 31

Question
A user has uploaded 1 archive to an empty existing Glacier vault. The user is trying to get the inventory of archives using a job. Will Glacier return the list of uploaded archives in that job?
Answer
  • It will list the archive in the job result.
  • It will not list the archive in the job result.
  • It may or may not list the archive in the result.
  • It is not possible to get the list of the archive using the vault inventory Job.

Question 32

Question
An organization has created an IAM user named cloud. The organization is trying to create a new group with the same name as cloud. What will happen in this case?
Answer
  • AWS will allow to create the IAM group with the name cloud as both the user and the group have separate ARNs.
  • AWS will not allow to create the IAM group with the name cloud as there will be a conflict between the ARNs.
  • AWS will allow to create the IAM group with the name cloud provided the user has given the path attribute name.
  • If the user is creating from CLI, it will allow since the user can specify the path attribute to a separate ARN.

Question 33

Question
A root owner wants to set up MFA with a smartphone for each of his IAM users. What should he do to achieve this?
Answer
  • The owner needs a setup for each user’s smartphone.
  • Create a policy which will allow each user to setup their smartphone for MFA.
  • Enable MFA for each user and AWS will ask the user to attach their smartphone on first login.
  • It is not possible to have MFA with a smartphone.

Question 34

Question
Which of the below mentioned statements is false with respect to the public DNS of an EC2 instance?
Answer
  • It is linked with the user AWS account.
  • It is mapped to the primary network interface.
  • It can be used to access the instance from the internet.
  • The public DNS cannot be changed by the user.

Question 35

Question
A user is defining a policy for an IAM user. The user did not define the version as a part of the policy. What will happen now?
Answer
  • AWS will not take any version of the policy.
  • AWS will take the default "Version":"2012-10-17".
  • AWS will throw an error.
  • AWS will take the default "Version":"2008-10-17".

Question 36

Question
A user is defining a policy for the IAM user. Which of the below mentioned elements will be used as a part of the policy?
Answer
  • Supported Data Types
  • NotEffect
  • PrincipalResource
  • VersionManagement

Question 37

Question
A user has hosted an application on EC2. The application makes a call to RDS. How can the user ensure that access to the RDS DB is secure?
Answer
  • Allow the EC2 security group within the RDS security group to allow access from EC2.
  • IAM role with RDS access and attach it to EC2.
  • Access between RDS and EC2 is always secure.
  • Create an IAM user with RDS access and use its own credentials.

Question 38

Question
A user has launched RDS with the Oracle DB. The instance size is 20 GB. The user has taken 2 snapshots of that DB. Will RDS charge the user for the snapshot?
Answer
  • No, provided the snapshot storage is less than 40 GB.
  • No. Backup storage is always free.
  • No, provided the total snapshot size is less than 20 GB.
  • Yes.

Question 39

Question
A user is configuring MySQL RDS without PIOPS. What should be the minimum size of DB storage provided by the user?
Answer
  • 5 GB
  • 50 GB
  • 1 TB
  • 100 GB

Question 40

Question
A user is configuring an application with the PostgreSQL RDS instance. The user does not want a mandatory maintenance window. How can the user configure this?
Answer
  • The user should select the option as ‘No’ in the Management Options screen against the Maintenance window.
  • The user should provide the same time for start and end so that it will not perform maintenance.
  • The user should skip the step to configure the maintenance window.
  • It is not possible to skip the mandatory maintenance window.

Question 41

Question
A user has configured RDS with MySQL. The user has setup the maintenance window of 12:00 AM with the duration as 1 hour on every Sunday. The user wants to setup the automated backup for the same instance. What time should the user supply in this case?
Answer
  • 12:30 AM
  • 01:00 AM
  • 01:01 AM
  • The default duration for maintenance is 30 minutes and the user cannot specify 1 hour.

Question 42

Question
How can a user have complete separation of the physical hardware for the virtual machines from the other tenants in EC2?
Answer
  • Use dedicated instances.
  • Use enhanced EC2 instances.
  • It is not possible to have hardware separation for EC2.
  • Use single tenant option.

Question 43

Question
A user has launched an EC2 micro instance from the AWS Linux image. When the user is trying to SSH the instance, it gives a message “No supported Authentication Method” after the user enters the user ID ec2-user. Which of the below mentioned options is a possible reason for the error?
Answer
  • The instance is not configured for security.
  • The user might not have attached the key-pair with the EC2 instance.
  • The instance default user name is wrong.
  • Port 22 is not open for the instance security group.

Question 44

Question
A user has launched an EC2 instance and wants to launch a similar instance with the same AMI ID, Instance Type and AZ with ease. What is the option provided by AWS?
Answer
  • Create a new AMI template and launch it. The new instance will have all the required config options.
  • Use the option “Launch from template” from the AWS console.
  • Create the instance template and launch it.
  • Use the option “Launch More like this” from the AWS console.

Question 45

Question
An EBS volume was unable to detach from an instance. Thus, the user used the Force Detach option. Which of the below mentioned options can happen after the volume has been Forcibly detached?
Answer
  • The instance may not be able to flush the file system and may result in a corrupted file system of the volume.
  • AWS deletes the volume automatically since it will be in a corrupted state.
  • The volume will be available but cannot be attached to any instance in the future.
  • AWS terminates the instance automatically since the file system is corrupted.

Question 46

Question
A user has created an EBS volume of 10 GB. The user takes the first snapshot of that volume. What will happen when the snapshot is taken?
Answer
  • AWS will create a snapshot of only blocks which are written on the volume.
  • AWS will copy all the blocks from EBS and create a snapshot.
  • The I/O on the volume will be frozen while a snapshot is being taken.
  • AWS will create a snapshot of the modified content in the same AZ of the region.

Question 47

Question
A user has attached an EBS volume created from an existing snapshot to a running instance. The volume is not mounted on the instance yet. If the user takes a snapshot of the attached volume, what will happen?
Answer
  • The snapshot will fail since the volume is not mounted.
  • The snapshot will succeed but it will have no data.
  • The snapshot will succeed with all the modified data of the EBS volume.
  • The new snapshot will only have the original volume content.

Question 48

Question
An online exam starts at 9 AM. All the participants will do an I/O on a standard EBS backed instance at 9 AM. How can the user initially achieve a higher I/O performance when the EBS is not pre-warmed?
Answer
  • The user should access all the blocks of data before the exam in advance.
  • The user should select the instance with a higher size to avoid an initial low I/O.
  • The EBS will automatically scale up the I/O when the load increases.
  • Use the ELB to distribute the load on EBS.

Question 49

Question
A user is creating a PIOPS volume. What is the maximum ratio the user should configure between PIOPS and the volume size?
Answer
  • 20
  • 10
  • 30
  • 5

Question 50

Question
A user is creating a 100GB PIOPS volume. What is the minimum IOPS the user should provision to meet the AWS suggested PIOPS / volume size ratio?
Answer
  • 4000
  • 1000
  • 2000
  • 3000
Show full summary Hide full summary

Similar

STI's
Pip Barton
Literature
Emma Madden
The Heart
annalieharrison
A-level Sociology Quiz
Chuck Amobi
Biology Unit 1
anna.mat1997
P2 Radioactivity and Stars
dfreeman
AQA GCSE Physics Unit 2.4
Matthew T
Veterinary Nursing Instruments
rowan.bray
Chemistry GCSE
frimpongr
Chemistry unit 2
36jessieh
Système circulatoire sanguin
Martin Fortier