deployment Flashcards
How long can a message be retained in an SQS Queue?
- 7 days
- 1 day
- 14 days
- 30 days
14 days
Which of the following statements is correct?
• In DynamoDB, a primary key can be a range of values.
• In DynamoDB, a primary key must be a single-attribute
• In DynamoDB, a primary key can be composite partition/sort key
• In DynamoDB, a primary key can be a single-attribute partition key
- In DynamoDB, a primary key can be composite partition/sort key.
- In DynamoDB, a primary key can be a single-attribute partition key
Which of the following are considered to be Serverless? • Elastic Beanstalk • API Gateway • RDS • SNS • DynamoDB
- API Gateway
- SNS
- DynamoDB
What is the maximum size of an S3 object?
500 GB
50 GB
50 TB
5 TB
5 TB
Which of the following statements relating are correct in relation to DynamoDB?
- A Local Secondary Index is an index that has the a different partition key and a different sort key to the table.
- You can add a Global Secondary Index to an existing table
- A Local Secondary Index is an index that has the same partition key as the table, but a different sort key to the table.
- You can add a Local Secondary Index to an existing table
- You can add a Global Secondary Index to an existing table
- A Local Secondary Index is an index that has the same partition key as the table, but a different sort key to the table.
AWS recommends that you use Multipart Upload for files larger than _____.
1GB
5GB
5TB
100MB
100MB
You are creating a DynamoDB table to manage your customer orders, which of the following attributes would make a good Sort Key?
OrderDate
CustomerID
OrderNumber
ProductID
OrderDate
Your application needs to process large numbers of job requests and you need to ensure that they are processed in order, and that each request is processed only once. How would you deploy SQS to achieve this end?
- Use the SetOrder attribute ensure sequential job processing.
- Convert your standard queue to a FIFO queue by renaming your standard queue with the .fifo suffix.
- Use an SQS FIFO queue to process the jobs.
- Configure FIFO delivery in a standard SQS queue.
• Use an SQS FIFO queue to process the jobs.
You have deployed a new version of your Lambda function, however during testing, you notice that your application is not behaving as expected. How can you roll back to the previous version of your code?
- Make a new version of your function using the original Lambda code
- Redeploy your original code to $LATEST
- Update the $LATEST alias to point to the previous version of your function
- Remap the PROD alias to point to the previous version of your function
Remap the PROD alias to point to the previous version of your function
Your application needs 100 strongly consistent reads on items that are 9KB in size every second. How many units of read capacity units should you provision?
350
150
200
300
300
Which of the following statements is correct?
- If you want to use auto-scaling, you must use an EBS-backed instance.
- Instance-store backed instances can be stopped and restarted.
- An EBS backed instance can be stopped and restarted.
- An Amazon VPC requires that instances be backed with EBS.
An EBS backed instance can be stopped and restarted.
You are creating a DynamoDB table to store customer order data, which of the following attributes would make a good Partition Key?
- OrderDate
- ProductType
- Size
- CustomerID
•CustomerID
You have deployed a new version of your Lambda function, however the Application Support team have reported a number of issues with the new code. What is the easiest way to fix this?
- Roll back by restoring the original function from an EBS snapshot
- Delete the CloudFormation stack and redeploy using the previous version
- Roll back to a previous version by updating your PROD alias to point to the previous version of the function
- Troubleshoot the issue using X-Ray, then redeploy an updated version of the function
Roll back to a previous version by updating your PROD alias to point to the previous version of the function
Which of the following statements about a standard SQS queue is true:
- Messages will be delivered exactly once, but message delivery order is indeterminate.
- Messages will be delivered exactly once in first-in, first-out order.
- Messages will be delivered one or more times and message delivery order is indeterminate.SELECTED
- Messages will be delivered one or more times in first-in, first-out order.
Messages will be delivered one or more times and message delivery order is indeterminate.
What is the largest size file you can transfer to S3 using a PUT operation? • 5GB • 1GB • 5TB • 100MB
• 5GB