AWS cloud guru developer Flashcards
what languages are supported by aws lambda
node.js, java, python, go, C#
what tool allows you to debug what’s happening inside a lambda function
AWS X rays
what is sqs visibility timeout
its the amount of time a message remains in an invisible state. The invisible state is the state a message gets into after it has been picked up by a server for processing.
what if the visibility timeout occurs before the server finishes processing the message.
The message becomes visible again and another server can take up it’s processing. If the first server that took this up processes it, it can result in multiple processing of the same mesaage.
what if the server finishes processing before the visibility timeout occurs?
the message is deleted from the queue
what are the min and max values of the visibility timeout of an SQS queue
30 seconds to 12 hours
what service is used for sending email only?
SES - simple email service.
while uploading your deployment package to AWS lambda, what information do you need to provide as configuration?
name of the handler method, compute requirements, and runtime.
what permission policies should you set on the zip file which you upload as a lambda function?
read permission for global users
with what permissions does AWS lambda access other resources from your code?
The same permission as that of the IAM user who is running the lambda function.
in the context of a lamda frunction, for poll based sources where is the event source mapping stored?
in AWS lambda
in the context of a lamda frunction, for push based event sources where is the event sourc mapping stored?
in the source service or resorce (e/g/S3)
in the context of a lamda frunction, what is an event source mapping?
delineates what events to track and what functions to invoke.
where are event source mappings stored in the event source or the lambda function?
for push based events like S3 in the event source
for poll based events in the lambda function,
if you’re using an S3 as an event source, where do you configure the notification?
Notification configuration.
In the context of AWS lambda what are the primary resources
The lambda function and event source mapping.
when launching an ec2 instance which volume is not and cannot be encrypted at the time of launch?
root volume
how long does it take for a change of rule in security group to take effect?
almost immediately.
are security group rules stateful? what does it mean?
yes, it means when you create an inbound rule, a corresponding outobound rule for the same port is implicitly created. e.g. allowing incoming http will allow your server to respond as well
are network access control list rules stateful?
no ther are not.