AWS API Flashcards

1
Q

What is AWS API?

A

AWS API is an HTTP API used to interact with AWS services by sending HTTPS requests. Each AWS Service has its own Service Endpoint.

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

What is required for authorization in AWS API requests?

A

Authorization requires generating a Signed Request.

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

What must be included in the payload for an AWS API request?

A

The payload must include an action and accompanying parameters.

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

What is the AWS CLI?

A

The AWS CLI (Command Line Interface) processes commands in text form and allows interaction with the AWS API via a shell or terminal.

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

Define the following terms: Terminal, Console, Shell.

A

Terminal: A text-only interface.
Console: A physical computer or webpage.
Shell: A command line program for inputting commands (e.g., Bash, PowerShell).

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

What are AWS Access Keys used for?

A

AWS Access Keys (a key and secret) are required for programmatic access to AWS resources outside the AWS Management Console.

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

How many active Access Keys can a user have?

A

A user can have up to two active Access Keys.

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

What is Exponential Backoff in API retries?

A

Exponential Backoff involves retrying requests at increasing intervals: 1 second, 2 seconds, 4 seconds, 8 seconds, etc.

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

What is Smithy 2.0?

A

Smithy 2.0 is AWS’s open-source Interface Definition Language (IDL) for web services, used to define services and SDKs.

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

What is the primary function of AWS STS (Security Token Service)?

A

AWS STS provides temporary, limited-privilege credentials for IAM users or federated users.

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

What information does AWS STS return?

A

AWS STS returns AccessKeyID, SecretAccessKey, SessionToken, and Expiration.

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

What are the two protocols for signing AWS API requests?

A

AWS Signature Version 2 (legacy)
AWS Signature Version 4

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

What are the four types of AWS Service Endpoints?
(api endpoints)

A

Global Endpoints
Regional Endpoints
FIPS Endpoints
Dualstack Endpoints

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

What does a Service Endpoint URL look like?

A

It follows the format: protocol://service-code.region-code.amazonaws.com (e.g., https://cloudformation.us-east-2.amazonaws.com).

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

Can Service Endpoints types be combined?
(api endpoints)

A

Yes, types of Service Endpoints can be combined, such as Regional + FIPS + Dualstack.

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