Cloud Data Engineering
Week 3 Quiz
1.
Question 1
Why is serverless a vital technological advancement?
You got it! Serverless minimizes the technical overhead in building services.
========================================
2.
Question 2
Why would a developer use AWS Lambda and a Dockerfile?
You got it! By adding a Dockerfile it allows familiar software engineering paradigms.
========================================
3.
Question 3
Where can AWS SAM be used?
You got it! AWS Serverless Application Model (AWS SAM) is an open-source framework for building serverless AWS applications.
========================================
4.
Question 4
Why is event-driven programming similar to the lightbulb in your garage?
You got it! A light bulb in a garage can turn on if the door opens, if it is switched on, or on a timer.
========================================
5.
Question 5
What is an example of an AWS Lambda Trigger?
You got it! API Gateway is a trigger for an AWS Lambda function in that an API request will invoke the function.
========================================
6.
Question 6
What are architectural best practices to contemplate when using serverless?
You got it! Connecting to a message queue such as Amazon SQS is a helpful design pattern due to offloading state.
========================================
7.
Question 7
Why would you use a command-line tool (CLI) to invoke an AWS Lambda function?
You got it! Command-line tools are an effective way to do rapid prototyping.
========================================
8.
Question 8
What is a good use case for serverless?
You got it! Serverless is ideal for Data Engineering work because a data pipeline is event-based.
========================================
9.
Question 9
Why is serverless also called FaaS or Function as a Service?
You got it! Serverless technology is the ability to use functions at scale.
========================================
10.
Question 10
Why are containers often involved in serverless architectures?
You got it! Containers map closely to the concept of Function as a Service.