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
Q

full creation and configuration of a lambda environment

A

Cold Start

26
Q

When the same execution context is reused its called a

A

warm start

27
Q

AWS will create and keep contexts warm and ready to use is called

A

Provisioned Concurrency

28
Q

coordinates the sending and delivery of messages through topics

A

Simple Notification Service (SNS)

29
Q

who receives messages within SNS

A

Subscribers

30
Q

is SNS capable of server-side encryption?

A

Yes

31
Q

Can SNS be used cross-account?

A

Yes

32
Q

serverless orchestration service that lets you integrate with AWS Lambda functions and other AWS services to build business-critical applications

A

AWS Step Function

33
Q

workflows have exactly-once workflow execution and can run for up to one year

A

Standard workflows

34
Q

workflows have at-least-once workflow execution and can run for up to five minutes

A

Express workflows

35
Q

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

A

API Gateway

36
Q

error stating invalid request on the client side

A

400 error code client error

37
Q

error state valid request backend issue

A

500 error code server error

38
Q

bad request error

A

400

39
Q

access denied error

A

403

40
Q

api gateway can throttle error

A

429

41
Q

bad gateway exception error

A

502

42
Q

service unavailable error

A

503

43
Q

integration failure error

A

504

44
Q

mesages delivered at least once

A

standard sqs queue

45
Q

messages delievered exactly once and retains exact order

A

FIFO queue

46
Q

period of time during which Amazon SQS prevents all consumers from receiving and processing the message

A

Visibility Timeout

47
Q

messages that are added to the queue will start off in an invisible state

A

delay queue

48
Q

queues allow for messages which are causing repeated processing errors to be moved

A

Dead letter queue

49
Q

collect and process large streams of data records in real time

A

Kinesis Data Streams

50
Q

used for decoupling and asynchronous communications

A

SQS

51
Q

designed for huge-scale ingestion with multiple consumers of real-time data requires an external consumer to store the records in a data store

A

Kinesis Data Streams

52
Q

fully managed service for delivering NEAR real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3)

A

Amazon Kinesis Data Firehose

53
Q

Can data firehose use lambda for data transformation

A

Yes

54
Q

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

A

True

55
Q

serverless service that enables you to analyze your streaming data, acquire actionable insights, and respond to events in real-time using SQL

A

Amazon Kinesis Data Analytics

56
Q

service that securely streams video from connected devices or sources to AWS

A

Amazon Kinesis Video Streams

57
Q

serverless service that is primarily used for extract, transform, and
load workloads or ETL

A

AWS Glue

58
Q

Persistent metadata about data sources in region

A

Data catalog

59
Q

open source messsage broke based on manage apache ActiveMQ

A

Amazon MQ