Step Functions & AppSync Flashcards

1
Q

What is AWS Step Functions used for?

A

Orchestrate workflow by coordinating multiple aws services into serverless workflows, making it easier to build and manage complex applications

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

What does a Task State do in Step Functions?

A

Executes a unit of work, such as calling Lambda, ECS, AWS Batch, or interacting with services like DynamoDB, SQS.

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

What is a Choice State in Step Functions?

A

Tests conditions and routes the workflow to the correct state/branch based on logic.

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

What does a Wait State do?

A

Pauses execution for a duration or until a specific time/date.

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

What does ResultPath do in Step Functions?

A

Allows you to capture the result of a state and modify or merge it with the input for the next state.

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

What happens in a Fail or Succeed State?

A

Ends execution immediately with a failure or success status.

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

What is a Map State used for?

A

Loops through an array of items and applies a subworkflow to each item.

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

How does Retry work in Step Functions?

A

Retries on failure using parameters: ErrorEquals, IntervalSeconds, BackoffRate, and MaxAttempts.

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

What is a Task Token in Step Functions?

A

A callback token used to pause a workflow until an external process resumes it via SendTaskSuccess or SendTaskFailure.

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

What is an Activity Worker?

A

An external application or service that polls Step Functions for work and sends results back.

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

What is the max wait time for Activity Tasks?

A

Up to 1 year, if a heartbeat is periodically sent.

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

What are the two types of Step Functions workflows?

A

Standard (durable, long-running, detailed history) and Express (high-throughput, short-lived).

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

What is AWS AppSync?

A

A fully managed GraphQL API service that integrates with AWS and supports real-time data syncing.

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

Which data sources can AppSync connect to?

A

DynamoDB, Aurora, OpenSearch, Lambda, HTTP endpoints, and others.

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

What real-time protocols does AppSync support?

A

WebSocket and MQTT on WebSocket.

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

What are the four AppSync authorization types?

A

API_KEY, AWS_IAM, OPENID_CONNECT, AMAZON_COGNITO_USER_POOLS.

17
Q

What is AWS Amplify used for?

A

To develop, deploy, and host mobile and web apps with built-in AWS backend services.

18
Q

What authentication features does Amplify provide?

A

User registration, MFA, social logins, and Cognito integration.

19
Q

What is Amplify Datastore?

A

Local data persistence with automatic cloud sync using GraphQL (powered by AppSync + DynamoDB).

20
Q

What is included with Amplify Hosting?

A

CI/CD pipeline, custom domains, redirects, monitoring, and password protection.

21
Q

What testing framework integrates with Amplify for E2E testing?

A

Cypress testing framework.