121-150 Flashcards

1
Q
QUESTION 121
You cannot access your AWS console, so you revert to using the CLI that you are not familiar with. Which of the following commands is not a valid CLI command for EC2 instances?
A.	ec2-allocate-address
B.	ec2-attach-internet-gateway
C.	ec2-associate-route-table
D.	ec2-allocate-interface
A

D. ec2-allocate-interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

QUESTION 122
An orgAMzation has 20 employees. The orgAMzation wants to give all the users access to the orgAMzation AWS account. Which of the below mentioned options is the right solution?
A. Share the root credentials with all the users
B. Create an 1AM user for each employee and provide access to them
C. It is not advisable to give AWS access to so many users
D. Use the 1AM role to allow access based on STS

A

B. Create an 1AM user for each employee and provide access to them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

QUESTION 123
When AutoScaling is launching a new instance based on condition, which of the below mentioned policies will it follow?
A. Based on the criteria defined with cross zone Load balancing
B. Launch an instance which has the highest load distribution
C. Launch an instance in the AZ with the fewest instances
D. Launch an instance in the AZ which has the highest instances

A

C. Launch an instance in the AZ with the fewest instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

QUESTION 124
In regards to Amazon SQS how can you secure the messages in your queues?
A. You can’t
B. Amazon SQS uses either your Access Key ID or an X.509 certificate to authenticate your identity
C. Through your I AM access keys
D. Don’t use root access

A

B. Amazon SQS uses either your Access Key ID or an X.509 certificate to authenticate your identity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
QUESTION 125
Which Amazon service is not used by Elastic Beanstalk?
A.	Amazon S3
B.	Amazon ELB
C.	Auto scaling
D.	Amazon EMR
A

D. Amazon EMR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

QUESTION 126
In AWS Elastic Beanstalk, if the application returns any response other than 200 ,OK or there is no response within the configured InactivityTimeout period, .
A. SQS once again makes the message visible in the queue and available for another attempt at processing
B. SQS waits for another timeout
C. SQS run DeleteMessagecall and deletes the message from the queue
D. SQS sends a message to the application with the MessagelD and pending status

A

A. SQS once again makes the message visible in the queue and available for another attempt at processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

QUESTION 127
Which of the below mentioned options can be a good use case for storing content in AWS RRS?
A. Storing mission critical data Files
B. Storing infrequently used log files
C. Storing a video file which is not reproducible
D. Storing image thumbnails

A

D. Storing image thumbnails

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
QUESTION 128
Which header received at the EC2 instance identifies the port used by the client while requesting ELB?
A.	X-Forvvarded-Proto
B.	X-Requested-Proto
C.	X-Forvvarded-Port
D.	X-Requested-Port
A

C. X-Forvvarded-Port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
QUESTION 129
When you register an activity in Amazon SWF, you provide the following information, except:
A.	a name
B.	timeout values
C.	a domain
D.	version
A

C. a domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

QUESTION 130
A user is using an EBS backed instance. Which of the below mentioned statements is true?
A. The user will be charged for volume and instance only when the instance is running
B. The user will be charged for the volume even if the instance is stopped
C. The user will be charged only for the instance running cost
D. The user will not be charged for the volume if the instance is stopped

A

B. The user will be charged for the volume even if the instance is stopped

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
QUESTION 131
A user is trying to create a policy for an 1AM user from the AWS console. Which of the below mentioned options is not available to the user while configuring policy?
A.	Use policy generator to create policy
B.	Use custom policy to create policy
C.	Use policy simulator to create policy
D.	Assign No permission
A

C. Use policy simulator to create policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

QUESTION 132
A user has an S3 object in the US Standard region with the content “coloured”. The user updates the object with the content as “color-‘white”. If the user tries to read the value 1 minute after it was uploaded, what will S3 return?
A. It will return “color=white”
B. It will return “coloured”
C. It will return an error saying that the object was not found
D. It may return either “coloured” or “color=white” i.e. any of the value

A

D. It may return either “coloured” or “color=white” i.e. any of the value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

QUESTION 133
AWS Elastic Beanstalk will change the health status of a web server environment tier to gray color when:
A. AWS Elastic Beanstalk detects other problems with the environment that are known to make the application unavailable
B. Your application hasn’t responded to the application health check URL within the last one hour.
C. Your application hasn’t responded to the application health check URL within the last five minutes.
D. Your application’s health status is unknown because status is reported when the application is not in the ready state.

A

D. Your application’s health status is unknown because status is reported when the application is not in the ready state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

QUESTION 134
A user wants to access RDS from an EC2 instance using IP addresses. Both RDS and EC2 are in the same region, but different AZs. Which of the below mentioned options help configure that the instance is accessed faster?
A. Configure the Private IP of the Instance in RDS security group
B. Security group of EC2 allowed in the RDS security group
C. Configuring the elastic IP of the instance in RDS security group
D. Configure the Public IP of the instance in RDS security group

A

A. Configure the Private IP of the Instance in RDS security group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

QUESTION 135
A user is creating a snapshot of an EBS volume. Which of the below statements is inin relation to the creation of an EBS snapshot?
A. Its incremental
B. It can be used to launch a new instance
C. It is stored in the same AZ as the volume
D. It is a point in time backup of the EBS volume

A

C. It is stored in the same AZ as the volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

QUESTION 136
A user is planning to use EBS for his DB requirement. The user already has an EC2 instance running in the VPC private subnet. How can the user attach the EBS volume to a running instance?
A. The user must create EBS within the same VPC and then attach it to a running instance.
B. The user can create EBS in the same zone as the subnet of instance and attach that EBS to instance.
C. It is not possible to attach an EBS to an instance running in VPC until the instance is stopped.
D. The user can specify the same subnet while creating EBS and then attach it to a running instance.

A

B. The user can create EBS in the same zone as the subnet of instance and attach that EBS to instance.

17
Q

QUESTION 137
Which of the following groups is AWS Elastic Beanstalk best suited for?
A. Those who want to deploy and manage their applications within minutes in the AWS cloud
B. Those who want to privately store and manage Git repositories in the AWS cloud.
C. Those who want to automate the deployment of applications to instances and to update the applications as required
D. Those who want to model, visualize, and automate the steps required to release software

A

A. Those who want to deploy and manage their applications within minutes in the AWS cloud

18
Q

QUESTION 138
You are using Amazon SQS and are getting a “Queue Deleted Recently” error. What is wrong?
A. The message is too big
B. You have inpermissions
C. Another user has deleted the queue
D. If you delete a queue, you need to wait for at least 60 seconds before creating a queue with the same name

A

D. If you delete a queue, you need to wait for at least 60 seconds before creating a queue with the same name

19
Q

QUESTION 139
Your manager has requested you to tag EC2 instances to orgAMze and manage a load balancer. Which of the following statements about tag restrictions is incorrect?
A. The maximum key length is 127 Unicode characters.
B. The maximum value length is 255 Unicode characters.
C. Tag keys and values are case sensitive.
D. The maximum number of tags per load balancer is 20.

A

D. The maximum number of tags per load balancer is 20.

20
Q
QUESTION 140
A user is trying to find the state of an S3 bucket with respect to versioning. Which of the below mentioned states AWS will not return when queried?
A.	versioning-enabled
B.	versioning-suspended
C.	unversioned
D.	versioned
A

D. versioned

21
Q
QUESTION 141
What is the maximum number of tags that a user can assign to an EC2 instance?
A.	50
B.	10
C.	5
D.	25
A

B. 10

22
Q

QUESTION 142
How do you configure SQS to support longer message retention?
A. Set the IVIessageRetentionPeriod attribute using the SetQueueAttributes method
B. Using a Lambda function
C. You can’t. It is set to 14 days and cannot be changed
D. You need to request it from AWS

A

A. Set the IVIessageRetentionPeriod attribute using the SetQueueAttributes method

23
Q

QUESTION 143
The user has created multiple AutoScaling groups. The user is trying to create a new AS group but it fails. How can the user know that he has reached the AS group limit specified by AutoScaling in that region?
A. Run the command: as-describe-account-limits
B. Run the command: as-describe-group-limits
C. Run the command: as-max-account-limits
D. Run the command: as-list-account-limits

A

A. Run the command: as-describe-account-limits

24
Q

QUESTION 144
An orgAMzation is hosting an application as part of the free usage tier. The orgAMzation wants to create 1AM users for each of its 150 employees and they may access AWS as part of free usage tier. What will you advise the orgAMzation?
A. The 1AM is not available as a part of the free usage tier
B. Create 1AM roles and give access based on role since it will not cost the user
C. Do not create more than 100 users as it will cost the orgAMzation.
D. Create 1AM users for each employee as it does not cost

A

D. Create 1AM users for each employee as it does not cost

25
Q

QUESTION 145
A user has enabled serverside encryption with S3. The user downloads the encrypted object from S3.
How can the user decrypt it?
A. S3 does not support server side encryption
B. S3 provides a server side key to decrypt the object
C. The user needs to decrypt the object using their own private key
D. S3 manages encryption and decryption automatically

A

D. S3 manages encryption and decryption automatically

26
Q

QUESTION 146
A user has configured ELB with two instances running in separate AZs of the same region? Which of the below mentioned statements is true?
A. Nlulti AZ instances will provide HA with ELB
B. IVIulti AZ instances are not possible with a single ELB
C. Nlulti AZ instances will provide scalability with ELB
D. The user can achieve both HA and scalability with ELB

A

A. Nlulti AZ instances will provide HA with ELB

27
Q

QUESTION 147
Does Amazon DynamoDB support both increment and decrement atomic operations?
A. No, neither increment nor decrement operations.
B. Only increment, since decrement are inherently impossible with DynamoDB’s data model.
C. Only decrement, since increment are inherently impossible with DynamoDB’s data model.
D. Yes, both increment and decrement operations.

A

D. Yes, both increment and decrement operations.

28
Q

QUESTION 148
What is the data model of DynamoDB?
A. “Items”, with Keys and one or more Attribute; and “Attribute”, with Name and Value.
B. “Database”, which is a set of “Tables”, which is a set of “Items”, which is a set of “Attributes”.
C. “Table”, a collection of Items; “Items”, with Keys and one or more Attribute; and “Attribute”, with Name and Value.
D. “Database”, a collection of Tables; “Tables”, with Keys and one or more Attribute; and “Attribute”, with Name and Value.

A

C. “Table”, a collection of Items; “Items”, with Keys and one or more Attribute; and “Attribute”, with Name and Value.

29
Q
QUESTION 149
A user is trying to configure access with S3. Which of the following options is not possible to provide access to the S3 bucket / object?
A.	Define the policy for the 1AM user
B.	Define the ACL for the object
C.	Define the policy for the object
D.	Define the policy for the bucket
A

C. Define the policy for the object

30
Q

QUESTION 150
An orgAMzation has enabled a strict password policy for its 1AM users. The orgAMzation is taking help from the 1AM console to set the password policy. Which of the below mentioned rules cannot be specified by the user as a part of the policy?
A. Allow at least one lower case letter
B. Allow at least one number
C. Allow at least one non-alphanumeric character
D. Do not allow the user to use the password from the last three passwords

A

D. Do not allow the user to use the password from the last three passwords