K H
Quiz by , created more than 1 year ago

Quiz on AWS 2, created by K H on 30/08/2015.

56
2
0
No tags specified
K H
Created by K H over 8 years ago
Close

AWS 2

Question 1 of 50

1

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?

Select one of the following:

  • “adjustment=3” (type is ExactCapacity)

  • “adjustment=-50” (type is PercentChangeInCapacity)

  • “adjustment=-1” (type is ChangeInCapacity)

  • “adjustment=-8” (type is ExactCapacity)

Explanation

Question 2 of 50

1

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?

Select one of the following:

  • 75

  • 74

  • 69

  • 76

Explanation

Question 3 of 50

1

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?

Select one of the following:

  • 47

  • 48

  • 50

  • 52

Explanation

Question 4 of 50

1

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?

Select one of the following:

  • 100

  • 40

  • 10

  • 20

Explanation

Question 5 of 50

1

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?

Select one of the following:

  • 3

  • 2

  • 0

  • 1

Explanation

Question 6 of 50

1

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?

Select one of the following:

  • 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

Explanation

Question 7 of 50

1

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?

Select one of the following:

  • Vault Inventory Retrieval Job Complete.

  • Glacier does not support the AWS console.

  • Archival Upload Complete.

  • Vault Retrieval Job Complete.

Explanation

Question 8 of 50

1

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?

Select one of the following:

  • SOAP API

  • CLI

  • REST API

  • AWS console

Explanation

Question 9 of 50

1

A user is planning to launch an instance from AWS EC2. Which of the below mentioned options is not a possible scenario?

Select one of the following:

  • 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.

Explanation

Question 10 of 50

1

When selecting an AMI to launch the EC2 instance, which of the below mentioned options is not available to the user?

Select one of the following:

  • Select Community AMIs.

  • Select from the AWS marketplace.

  • Select from the Trusted AWS partners.

  • Select My AMIs.

Explanation

Question 11 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 12 of 50

1

A user has launched an EC2 instance. Which of the below mentioned statements is not true with respect to instance addressing?

Select one of the following:

  • 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.

Explanation

Question 13 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 14 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 15 of 50

1

A user is trying to launch an instance with a free usage tier. Which of the below mentioned options is not possible?

Select one of the following:

  • Attach an EBS volume of 1 GB.

  • Launch with RHEL OS.

  • Enable termination protection.

  • Attach an ephemeral storage.

Explanation

Question 16 of 50

1

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?

Select one of the following:

  • Provided it is an EBS backed AMI.

  • No.

  • Provided it is an instance store backed AMI.

  • Yes.

Explanation

Question 17 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 18 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 19 of 50

1

While assigning a tag to an instance, which of the below mentioned options is not a valid tag key/value pair?

Select one of the following:

  • Key: “aws:name” Value: “instance@aws”

  • Key: “Name :aws” Value: “instance@aws”

  • Key : “name@aws” Value:”aws:instance”

  • Key : “aws” Value:”aws”

Explanation

Question 20 of 50

1

A user has configured a security group with EC2-CLASSIC. Which of the below mentioned statements is true?

Select one of the following:

  • 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.

Explanation

Question 21 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 22 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 23 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 24 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 25 of 50

1

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?

Select one of the following:

  • Archival.

  • Checksum.

  • Encryption.

  • Intrinsic replication.

Explanation

Question 26 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 27 of 50

1

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?

Select one of the following:

  • 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”.

Explanation

Question 28 of 50

1

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?

Select one of the following:

  • 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

Explanation

Question 29 of 50

1

An IAM user is performing an operation on some other user’s S3 bucket. What will S3 first check in this context?

Select one of the following:

  • 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.

Explanation

Question 30 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 31 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 32 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 33 of 50

1

A root owner wants to set up MFA with a smartphone for each of his IAM users. What should he do to achieve this?

Select one of the following:

  • 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.

Explanation

Question 34 of 50

1

Which of the below mentioned statements is false with respect to the public DNS of an EC2 instance?

Select one of the following:

  • 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.

Explanation

Question 35 of 50

1

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?

Select one of the following:

  • 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".

Explanation

Question 36 of 50

1

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?

Select one of the following:

  • Supported Data Types

  • NotEffect

  • PrincipalResource

  • VersionManagement

Explanation

Question 37 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 38 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 39 of 50

1

A user is configuring MySQL RDS without PIOPS. What should be the minimum size of DB storage provided by the user?

Select one of the following:

  • 5 GB

  • 50 GB

  • 1 TB

  • 100 GB

Explanation

Question 40 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 41 of 50

1

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?

Select one of the following:

  • 12:30 AM

  • 01:00 AM

  • 01:01 AM

  • The default duration for maintenance is 30 minutes and the user cannot specify 1 hour.

Explanation

Question 42 of 50

1

How can a user have complete separation of the physical hardware for the virtual machines from the other tenants in EC2?

Select one of the following:

  • Use dedicated instances.

  • Use enhanced EC2 instances.

  • It is not possible to have hardware separation for EC2.

  • Use single tenant option.

Explanation

Question 43 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 44 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 45 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 46 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 47 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 48 of 50

1

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?

Select one of the following:

  • 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.

Explanation

Question 49 of 50

1

A user is creating a PIOPS volume. What is the maximum ratio the user should configure between PIOPS and the volume size?

Select one of the following:

  • 20

  • 10

  • 30

  • 5

Explanation

Question 50 of 50

1

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?

Select one of the following:

  • 4000

  • 1000

  • 2000

  • 3000

Explanation