AWS API Flashcards
What is AWS API?
AWS API is an HTTP API used to interact with AWS services by sending HTTPS requests. Each AWS Service has its own Service Endpoint.
What is required for authorization in AWS API requests?
Authorization requires generating a Signed Request.
What must be included in the payload for an AWS API request?
The payload must include an action and accompanying parameters.
What is the AWS CLI?
The AWS CLI (Command Line Interface) processes commands in text form and allows interaction with the AWS API via a shell or terminal.
Define the following terms: Terminal, Console, Shell.
Terminal: A text-only interface.
Console: A physical computer or webpage.
Shell: A command line program for inputting commands (e.g., Bash, PowerShell).
What are AWS Access Keys used for?
AWS Access Keys (a key and secret) are required for programmatic access to AWS resources outside the AWS Management Console.
How many active Access Keys can a user have?
A user can have up to two active Access Keys.
What is Exponential Backoff in API retries?
Exponential Backoff involves retrying requests at increasing intervals: 1 second, 2 seconds, 4 seconds, 8 seconds, etc.
What is Smithy 2.0?
Smithy 2.0 is AWS’s open-source Interface Definition Language (IDL) for web services, used to define services and SDKs.
What is the primary function of AWS STS (Security Token Service)?
AWS STS provides temporary, limited-privilege credentials for IAM users or federated users.
What information does AWS STS return?
AWS STS returns AccessKeyID, SecretAccessKey, SessionToken, and Expiration.
What are the two protocols for signing AWS API requests?
AWS Signature Version 2 (legacy)
AWS Signature Version 4
What are the four types of AWS Service Endpoints?
(api endpoints)
Global Endpoints
Regional Endpoints
FIPS Endpoints
Dualstack Endpoints
What does a Service Endpoint URL look like?
It follows the format: protocol://service-code.region-code.amazonaws.com
(e.g., https://cloudformation.us-east-2.amazonaws.com
).
Can Service Endpoints types be combined?
(api endpoints)
Yes, types of Service Endpoints can be combined, such as Regional + FIPS + Dualstack.