serverless Flashcards

1
Q

As a DevOps engineer you are told to prepare complete solution to run a piece of code that required multi-threaded processing, The code has been running on an old custom built server based around a 4 core Intel Xeon processor. Which of these best describe the AWS compute services that could be used?

A

EC2, ECS, & Lambda.

The exact ratio of cores to memory has varied over time for Lambda instances, however Lambda like EC2 and ECS supports hyper-threading on one or more virtual CPUs (if your code supports hyper-threading).

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

What does the common term ‘Serverless’ mean according to AWS

A

The ability to run applications and services without thinking about servers or capacity provisioning.

A native Cloud Architecture that allows customers to shift more operational responsibility to AWS.

‘Serverless’ computing is not about eliminating servers, but shifting most of the responsibility for infrastructure and operation of the infrastructure to a vendor so that you can focus more on the business services, not how to manage the infrastructure that they run on. Billing does tend to be based on simple units, but the choice of services, intended usage pattern (RIs), and amount of capacity needed also influences the pricing.

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

Which of the following services can invoke a Lambda function synchronously?

A

Kinesis Data Firehose
API Gateway
Amazon Lex

ALB, Cognito, Lex, Alexa, API Gateway, CloudFront, and Kinesis Data Firehose are all valid direct (synchronous) triggers for Lambda functions. S3 is one of the valid asynchronous triggers.

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