Cloud Guru Quizzes Flashcards

1
Q

Which of the following services does X-ray integrate with?

Lambda
API Gateway
Elastic Load Balancer
S3

A

Lambda, API Gateway and Elastic Load Balancer.

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

How does API Gateway deal with legacy SOAP applications?

A

It provides webservice passthrough for SOAP applications.

SOAP applications send their responses in XML format. API Gateway supports SOAP applications but only provides passthrough. API Gateway does not transform or convert the responses.

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

What is the 429 error code?

A

Too many requests response.

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

Using the AWS portal, you are trying to scale DynamoDB past its preconfigured maximums. Which service limit can you increase by raising a ticket to AWS support?

Local secondary indexes
Provisioned throughput limits
Item sizes
Global secondary indexes

A

Provisioned throughput limits.

You can also request an increase of global secondary indexes - there’s an initial limit of 20 per table

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

Which are recommended ways to optimize a query or scan in DynamoDB?

A

Running parallel scans and reducing the page size to return fewer items per results page.

A smaller page size means fewer read operations and creates a “pause” between each request which reduces the impact of a query or scan operation. A larger number of smaller operations can allow other critical requests to succeed without throttling. For large tables, a parallel scan can complete much faster than a sequential one, if the table’s provisioned read throughput is not already being used.

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

What is the API call to retrieve multiple items from a DynamoDB table?

A

BatchGetItem

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

Which DynamoDB feature can be used to define an expiry date and time for a data record in your table?

A

TTL or Time To Live is used to set an expiry time on your record.

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

You are running a query on your Customers table in DynamoDB, however you only want the query to return CustomerID and EmailAddress for each item in the table, how can you refine the query so that it only includes the required attributes?

A

Use the ProjectionExpression parameter.

When using a query or a scan, DynamoDB returns all of the item attributes by default. To just get some, rather than all of the attributes, use a Projection Expression.

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

What’s one difference between KMS and CloudHSM?

A

KMS is multitenant wheras CloudHSM is dedicated hardware.

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

True or false. KMS encryption keys are global.

A

False, they are regional.

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

True or false. You cannot export your customer master key.

A

True. Master keys are created and used only within AWS KMS to help ensure their security, enable your policies to be consistently enforced, and provide a centralized log of their use. Keys are only stored and used in the region in which they are created. They cannot be transferred to another region.

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

What’s the API command to configure KMS to rotate your encryption keys on a yearly basis?

A

enable-key-rotation

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

True or false. SNS messages cannot be customized by protocol type.

A

False.

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

Which of these is a protocol not supported by SNS?

Email
Email-JSON
HTTP
FTP

A

FTP.

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

How large can an SQS message be?

A

256 KB.

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

What native AWS service will act as a file system mounted on an S3 bucket?

A

AWS Storage Gateway. The Storage Gateway service is primarily used for attaching infrastructure located in a data center to the AWS Storage infrastructure. The AWS documentation states that “You can think of a file gateway as a file system mount on S3”.

17
Q

What’s the maximum long poll time out (for SQS queue)

A

20 seconds

18
Q

What does AWS Shield protect you from?

A

AWS Shield operates on layer 3 and 4 of the ISO network model and its primary purpose is to protect against DDoS attacks.

19
Q

What does AWS WAF protect against?

A

AWS WAF protects against SQL injection attacks and cross site scripting attacks, and also can block traffic from IP addresses based on rules (uses web ACL to analyze incoming traffic).

20
Q

What does Amazon Macie protect?

A

Amazon Macie uses machine learning to protect sensitive data.

21
Q

What’s the API call to extend the length of time to process messages in an SQS queue?

A

ChangeMessageVisibility

22
Q

Is Jetty for JBoss applications supported by Elastic Beanstalk?

A

No.

23
Q

What’s the maximum retention period for an SQS message?

A

14 days.