Cloud Guru Quizzes Flashcards
Which of the following services does X-ray integrate with?
Lambda
API Gateway
Elastic Load Balancer
S3
Lambda, API Gateway and Elastic Load Balancer.
How does API Gateway deal with legacy SOAP applications?
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.
What is the 429 error code?
Too many requests response.
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
Provisioned throughput limits.
You can also request an increase of global secondary indexes - there’s an initial limit of 20 per table
Which are recommended ways to optimize a query or scan in DynamoDB?
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.
What is the API call to retrieve multiple items from a DynamoDB table?
BatchGetItem
Which DynamoDB feature can be used to define an expiry date and time for a data record in your table?
TTL or Time To Live is used to set an expiry time on your record.
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?
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.
What’s one difference between KMS and CloudHSM?
KMS is multitenant wheras CloudHSM is dedicated hardware.
True or false. KMS encryption keys are global.
False, they are regional.
True or false. You cannot export your customer master key.
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.
What’s the API command to configure KMS to rotate your encryption keys on a yearly basis?
enable-key-rotation
True or false. SNS messages cannot be customized by protocol type.
False.
Which of these is a protocol not supported by SNS?
Email
Email-JSON
HTTP
FTP
FTP.
How large can an SQS message be?
256 KB.