Serverless and Application Services Flashcards

1
Q

uses events to trigger and communicate between decoupled services and is common in modern applications built with microservices

A

Event-Driven Architecture

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

compute service that lets you run code without provisioning or managing servers on a high-availability compute infrastructure and performs all of the administration of the compute resources

A

Lambda

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

piece of code that lambda runs

A

Lambda Function

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

you are only billed for the duration that a function runs

A

true

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

Lambda functions can run for up to 9000 seconds (15 minutes)

A

True

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

Anything involving permissions with lambda involves an execution role attached to a specific function

A

True

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

are lambda functions givien public networking by default? Can they access public AWS services and the public internet?

A

yes

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

Does lambda have access to VPC based services?

A

No, public IPs need to be provided and security controls must allow

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

Lambda functions running in a vpc obey all VPC networking rules

A

True

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

attached to lambda functions which control the permissions the lambda function receives

A

Execution Roles

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

controls what services and accounts can invoke lambda functions

A

Lambda Resource Policy

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

Does lambda use CloudWatch?

A

Yes

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

Where logs are stored from lambda executions

A

CloudWatch Logs

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

Does storing logs in CloudWatch Logs require permissions

A

Yes, via Execution Role

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

Lambda runs the function and waits for a response. When the function completes, Lambda returns the response from the function’s code with additional data, such as the version of the function that was invoked

A

Synchronous Invocation

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

When you invoke a function, you don’t wait for a response from the function code. You hand off the event to Lambda and Lambda handles the rest

A

Asynchronous Invocation

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

Invocation of a function usually done by a human

A

Synchronous Invocation

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

Invocation of a function usually done by AWS services

A

Asynchronous Invocation

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

Term for when running a lambda function and the outcome will be the same no matter how many times it is invoked

A

Idempotent

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

New feature where successful or failed events can be sent

A

Destination

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

Lambda resource that reads from an event source and invokes a Lambda function processes items from a stream or queue in services that don’t invoke Lambda functions directly

A

event source mappings

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

Permissions from the lambda execution roles are used by the event source mapping to interact with the event source

A

True

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

Does lambda have versions?

A

Yes

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

the environment a lambda function runs in is called an

A

execution context

25
full creation and configuration of a lambda environment
Cold Start
26
When the same execution context is reused its called a
warm start
27
AWS will create and keep contexts warm and ready to use is called
Provisioned Concurrency
28
coordinates the sending and delivery of messages through topics
Simple Notification Service (SNS)
29
who receives messages within SNS
Subscribers
30
is SNS capable of server-side encryption?
Yes
31
Can SNS be used cross-account?
Yes
32
serverless orchestration service that lets you integrate with AWS Lambda functions and other AWS services to build business-critical applications
AWS Step Function
33
workflows have exactly-once workflow execution and can run for up to one year
Standard workflows
34
workflows have at-least-once workflow execution and can run for up to five minutes
Express workflows
35
fully managed service developers use to create, publish, maintain, monitor, and secure APIs at any scale. Acts as the "front door" for applications to access data, business logic, or functionality from your backend services
API Gateway
36
error stating invalid request on the client side
400 error code client error
37
error state valid request backend issue
500 error code server error
38
bad request error
400
39
access denied error
403
40
api gateway can throttle error
429
41
bad gateway exception error
502
42
service unavailable error
503
43
integration failure error
504
44
mesages delivered at least once
standard sqs queue
45
messages delievered exactly once and retains exact order
FIFO queue
46
period of time during which Amazon SQS prevents all consumers from receiving and processing the message
Visibility Timeout
47
messages that are added to the queue will start off in an invisible state
delay queue
48
queues allow for messages which are causing repeated processing errors to be moved
Dead letter queue
49
collect and process large streams of data records in real time
Kinesis Data Streams
50
used for decoupling and asynchronous communications
SQS
51
designed for huge-scale ingestion with multiple consumers of real-time data requires an external consumer to store the records in a data store
Kinesis Data Streams
52
fully managed service for delivering NEAR real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3)
Amazon Kinesis Data Firehose
53
Can data firehose use lambda for data transformation
Yes
54
Amazon Simple Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints can all be accepted by Kinesis Data Firehose
True
55
serverless service that enables you to analyze your streaming data, acquire actionable insights, and respond to events in real-time using SQL
Amazon Kinesis Data Analytics
56
service that securely streams video from connected devices or sources to AWS
Amazon Kinesis Video Streams
57
serverless service that is primarily used for extract, transform, and load workloads or ETL
AWS Glue
58
Persistent metadata about data sources in region
Data catalog
59
open source messsage broke based on manage apache ActiveMQ
Amazon MQ