Unit 6: Serverless and Microservices Architectures - Subjective Questions

INT364 — Cloud Architecture And Implementation-Ii • Practice Questions with Detailed Answers

20 questions

1

Define serverless computing. Explain its major characteristics and clarify why the term serverless does not mean that servers are absent.

2

Explain the major architectural considerations involved in deciding whether an application should use a serverless architecture.

3

Describe how an event-driven serverless application works using AWS Lambda. Give examples of event sources.

4

Explain the important components and execution lifecycle of an AWS Lambda function.

5

Describe the methods available for packaging and deploying AWS Lambda functions. What is the purpose of a Lambda layer?

6

Analyze Lambda concurrency, automatic scaling, cold starts, and the techniques used to control their impact.

7

Explain how AWS Identity and Access Management should be applied to secure an AWS Lambda-based application.

8

Why should Lambda functions be designed as stateless and idempotent components? Explain suitable state-management and failure-handling techniques.

9

Explain the role of Amazon API Gateway in extending the functionality of AWS Lambda applications.

10

Distinguish among REST APIs, HTTP APIs, and WebSocket APIs in Amazon API Gateway.

11

Describe the complete request-response flow between an API Gateway endpoint and a Lambda function, including error handling and cross-origin resource sharing.

12

Discuss authentication, authorization, throttling, caching, and observability mechanisms for an API Gateway-based serverless API.

13

Explain how microservices can be implemented using AWS container services. Include the roles of Amazon ECR, Amazon ECS, Amazon EKS, and AWS Fargate.

14

Compare the Amazon ECS EC2 launch type with AWS Fargate for running microservices.

15

Differentiate Amazon ECS and Amazon EKS as container orchestration platforms.

16

Explain service discovery, load balancing, and synchronous versus asynchronous communication in an AWS microservices architecture.

17

Discuss data-management challenges in microservices and explain suitable patterns for maintaining consistency.

18

Apply the six AWS Well-Architected Framework pillars to a serverless application.

19

Explain how reliability and cost optimization can be improved in a Lambda and API Gateway architecture.

20

Design a serverless order-processing system on AWS and justify how the design follows microservices and Well-Architected principles.