S16:Serverless Solution Architecture Discussions Flashcards

1
Q

As a solutions architect, you have been tasked to implement a fully Serverless REST API. Which technology choices do you recommend?

A

API Gateway + AWS Lambda

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

Which technology does not have an out of the box caching feature?

  • API Gateway
  • Lambda
  • DynamoDB
A

Lambda does not have an out of the box caching feature (it’s often paired with API gateway for that)

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

Which services allow to federate mobile users and generate temporary credentials so that they can access their own S3 bucket sub-folder?

A

Cognito in combination with STS

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

You would like to distribute your static content which currently lives in Amazon S3 to multiple regions around the world. What do you recommend?

A

CloudFront

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

You have hosted a DynamoDB table in ap-northeast-1 and would like to make it available in eu-west-1. What must be enabled first to create a DynamoDB Global Table?

A

DynamoDB Streams enable DynamoDB to get a changelog and use that changelog to replicate data across regions

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

A Lambda function is triggered by a DynamoDB stream and is meant to insert data into SQS for further long processing jobs. The Lambda function does seem able to read from the DynamoDB stream but isn’t able to store messages in SQS. What’s the problem?

A

The Lambda IAM role is missing permissions

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

You would like to create a micro service whose sole purpose is to encode video files with your specific algorithm from S3 back into S3. You would like to make that micro-service reliable and retry upon failure. Processing a video may take over 25 minutes. The service is asynchronous and it should be possible for the service to be stopped for a day and resume the next day from the videos that haven’t been encoded yet. Which of the following service would you recommend to implement this service?

A

SQS allows you to retain messages for days and process them later, while we take down our EC2 instances

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

You would like to distribute paid software installation files globally for your customers. The software may be purchased by different users, and you want to protect the download URL with security including IP restriction. Which solution do you recommend?

A

CloudFront Signed URL

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

You are a photo hosting service and publish every month a master pack of beautiful mountains images, that are over 50 GB in size and downloaded from all around the world. The content is currently hosted on EFS and distributed by ELB and EC2 instances. You are experiencing high load each month and very high network costs. What can you recommend that won’t force an application refactor and reduce network costs and EC2 load dramatically?

A

Create a CouldFront distribution

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

You would like to deliver big data streams in real time to multiple consuming applications, with replay features. Which technology do you recommend?

A

Kinesis Data Steams

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