296
AWS (Subject) / Certified Developer (Lesson)
Advertisement
- How does Lambda access private resouces? elastic network interfaces
- Name 3 properties of event driven architecture - asynchronous - loosley coupled - single purpose functions
- Name the 2 properties of serverless architecture - event driven - asynchronous
- What are the 3 advantages of step functions? - visualized - great for automation - logging
- What are step functions? Workflows in a state machine
- What does idempotent mean? An additional identical request has no additional outcome
- What are the two types of workflows? - standard workflows - express workflows
- How often can a standard workflow run? At most once
- How often can an express workflow run? At least once
- Between Standard and Express workflows, which is idempotent and which is not? Standard: non-idempotent Express: idempotent
- Advertisement
- What are the two types of epxress workflows? sync & async
- What is the best practice for including dependencies with lambda functions? lambda layers
- Can you update a lambda layer? No, you have to create a new one
- Are there storage options native to Lambda? Yes - /tmp - Lambda layers
- Name 3 Lambda configuration parameters - memory - temporary storage - concurrency
- What does ephemeral mean? Short-lived, temporary
- What are the two types of lambda invocation? sync and async
- How can you monitor asynchronous Lambda functions? Lambda destinations
- name 3 possible lambda destinations - sqs - sns - another lambda function
- What happens after a lambda functions fails per default? Lambda attemps two retries
- What does Dead-Letter Queues do? Save failed lambda invocations for later
- What's the limit for lambda deployment package upload from your local machine? 50 MB
- What should you use if multiple lambda functions need the same dependencies? Lambda layers
- Can you increase the cpu performance on lambda functions manually? No, only by increasing memory
- A lambda functions has a high latency. Where should you look first to improve performance? If only necessary libraries are included
- You need to work with a legacy API that runs on SOAP. What do you do? Configure API Gateway to transform the request to SOAP
- Which services supports mock API endpoints? API Gateway
- Is API Gateway stageable? yes
- What can you change with API Gateway Request Transformation? request's - header - query string - request path
- What can you change with API Gateway response transformation? response's - status code - header
- Advertisement
- You have a lot of identical, idempotent requests to you backend. How can you improve performance? API Gateway caching
- How can you employ API Gateway to prevent your API from being overwhelmed? API Gateway throttling
- How can you monitor an application spread out to multiple services? X-Ray
- Which components must be present on a system for it to run X-Ray? - X-Ray SDK - X-Ray Demon
- When running an ECS cluster, where must the X-Ray daemon run? In its own container
- You want to send specific data to X-Ray, how can you achieve this? Annotation
- To which service can EBS volumes be attached? To EC2 only
- What is a partition key in DynamoDB? A standard unique primary key
- Which data models does DynamoDB support? - document - key-value
- Which consistency models does DynamoDB have? - evenually consistent - strongly consistent - DynamoDB transaction (ACID)
- You want a user to only be able to access records in DynamoDB which partition key matches their userID, how do you achieve that? IAM Condition dynamodb:LeadingKeys
- Which types of secondary indexes exist? local and global
- When can a local secondary index be created? When you create the table
- When can a global secondary index be created? At any time
- For which attributes can you use a query in DynamoDB? Primary key only
- In DynamoDB Provisioned Throughput, what's the per-second write capacity of one write unit? 1KB/s
- In DynamoDB Provisioned Throughput, what's the per-second read capacity of one read unit, using strong consistency? 4 KB/s
- In DynamoDB Provisioned Throughput, what's the per-second read capacity of one read unit, using eventual consistency? 8 KB/s
- When the database workload is unknown, which DynamoDB Pricing Model should you use? On-Demand capacity
- When the database workload is predictable, which DynamoDB pricing model should you use? Provisioned Capacity