Serverless Architecture for Storing Application Data | AWS Certified Solutions Architect - Associate Exam

Services for Storing Application Data

Prev Question Next Question

Question

You want to host a new website on AWS.

As a Solutions architect, you have been given a task to design a serverless architecture for the website.

Which of the following services are suitable to store the application data? (Select TWO.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - A and C.

Both Simple Storage Service and DynamoDB are serverless in AWS for which you do not need to maintain servers.

For more information on S3 and DynamoDB, please refer to the links below:

https://aws.amazon.com/s3/ https://aws.amazon.com/dynamodb/ https://aws.amazon.com/serverless/ https://aws.amazon.com/getting-started/projects/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/

As a Solutions architect, when designing a serverless architecture for a website, it is essential to choose the right storage services that meet the requirements of the application. In this case, we are looking for services that can store the application data.

Out of the given options, two services that are suitable for storing application data in a serverless architecture are:

A. DynamoDB: Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB is an excellent choice for storing application data that requires frequent read-write operations, high scalability, and high availability. It can store structured, semi-structured, and unstructured data in tables. DynamoDB provides automatic scaling, backup and restore, and security features, making it a suitable choice for hosting a serverless website.

C. Simple Storage Service (S3): Amazon S3 is an object storage service that is used to store and retrieve any amount of data, at any time, from anywhere on the web. It is highly durable and reliable, making it a popular choice for storing static website files such as images, videos, and HTML pages. S3 provides features like versioning, lifecycle policies, and access control, which makes it suitable for storing application data that requires high durability and low latency.

Options B and D are not suitable for storing application data in a serverless architecture:

B. EBS volumes are attached to EC2 instances, and in a serverless architecture, EC2 instances are not used, so EBS is not a suitable option for storing application data.

D. AWS RDS is a managed relational database service that can be used to store structured data in a variety of database engines. However, in a serverless architecture, it is recommended to use DynamoDB instead of RDS, as DynamoDB provides better scalability, availability, and performance for a serverless application.

In summary, suitable options for storing application data in a serverless architecture are DynamoDB and S3, whereas EBS volumes and AWS RDS are not recommended for this purpose.