FINAL

8 flashcardsby Chad
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Describe _binpack_ for EC2
minimizes the number of instances in use
Place tasks based on the least available amount of CPU or memory
2
Describe _ random _ for EC2
randomly place the tasks
requires the LEAST amount of configuration (EASIEST)
follow the constraints that you specified both implicitly or explicitly
it makes sure that tasks are scheduled on instances** with enough resources to run them**
3
Describe _spread_ for EC2
Place tasks evenly based on the specified value

Host (instanceId)
Availability Zone ( attributes:ecs.availabiltiy-zone_)_
4
FOr lambda, what does the following write logs to?

_ AWSLambdaBasicExecutionRole_:
_ AWSXRayDaemonWriteAccess _:
_ AWSLambdaBasicExecutionRole _ : write logs to CloudWatch
_ AWSXRayDaemonWriteAccess _: upload trace data to X-Ray
5
for lambda, what does the following errors mean?

_ InvalidParameterValueException _
_ CodeStorageExceededException _
_ ResourceConflictException _
_ ServiceException _
_ InvalidParameterValueException _
one of the parameters in the request is invalid, ex: if you provided an IAM role in the CreateFunction API which AWS Lambda is unable to assume IAM role
Unzipped package is bigger than allotted size

_ CodeStorageExceededException _
exceeded your maximum total code size per account

_ ResourceConflictException _
resource already exists

_ ServiceException _
AWS Lambda service encountered an internal error
6
For the API gateway, what does HTTP 504 and HTTP 429 mean
HTTP 504 status code :

Integration request takes longer than your API Gateway REST API maximum integration timeout parameter
Underlying Lambda function has been running for more than 29 seconds causing the API Gateway request to time out

HTTP 429:

Throttling errors , too many request coming in from users
Can be avoided by setting request limit for steady state and burst (max num of concurrent requests)
7
What does increasing visibility timeout do for SQS?
Period of time SQS prevents other consumers from receiving and processing the message which was already processed, (avoid duplicate processing)
8
What is the deadletter queue for SQS
Special queue for messages that can't be processed (consumed) successfully
Helps in debugging your application or messaging system
Study all 8 cards for free