Section 19: Serverles overviews from a Solution Arhitect perspective Flashcards

1
Q

What are AWS Lambda limits?

A

1) Execution
- Memory allocation: 128 MB - 10 GB
- Max execution time: 15 minutes
- Environmnet variables: 4KB
- Disk capacity in the “function container”:512 MB
- Concurrency executions: 1000
2) Deployment:
- Lambda function deployment size(compressed): 50MB
- Size of uncompressed depoyment(code + dependencies):250MB
- Can use the /tmp directory to load other files at startup
- Size of environment variables:4KB

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

DynamoDB - Read/Write Capacity Modes

A

1) Provisioned Mode(default)
- You specify the number of reads/writes per second
- You need to plan capacity beforehand
- Pay for provisioned Read Capacity & Write Capacity

2) On-Demand Mode
- Read/writes automatically scale up/down with your workloads
- No capacity planning needed
- Pay for what you use, it more expensize
- Great for unpredictable workloads.

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

What is DynamoDB Accelerator (DAX)?

A
  • Fully-managed,highly available,seamless in-memory cache for DynamoDB.
  • Help solve read congestion by caching.
  • Microseconds latency for a cached data
  • 5 minutes TTL for cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is AWS SAM?
P221

A
  • SAM = Serverless Allication Model
  • Framework for developing and deploying serverless application
  • All configuration in YAML code
  • SAM can help you to run Lambda,API Gateway, DynamoDB locally
  • SAM can use CodeDeploy to deploy Lambda functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly