DEV Community

Cover image for AWS Cloud Practitioner Questions | Serverless Solutions Architecture Discussions
Minoltan Issack
Minoltan Issack

Posted on • Originally published at issackpaul95.Medium

AWS Cloud Practitioner Questions | Serverless Solutions Architecture Discussions

Question 1:

A startup company plans to run its application on AWS. As a solutions architect, the company hired you to design and implement a fully Serverless REST API. Which technology stack do you recommend?

Correct Answer: (1) It allows you to handle HTTP requests without managing servers, enabling automatic scaling and cost efficiency. This aligns perfectly with your goal of implementing a serverless architecture, making your API both flexible and easy to maintain.

Question 2:

The following AWS services have an out of the box caching feature, EXCEPT ……………..

Correct Answer: (2) AWS Lambda does not offer an out-of-the-box caching feature, which distinguishes it from other AWS services like API Gateway and DynamoDB that do provide caching capabilities. This understanding of the different functionalities available in AWS services can enhance your expertise in building serverless architectures.

Question 3:

You have a lot of static files stored in an S3 bucket that you want to distribute globally to your users. Which AWS service should you use?

Correct Answer: (2) It is specifically designed as a content delivery network (CDN), which optimizes the distribution of static files globally, ensuring low latency and fast transfer speeds for your users. This capability perfectly aligns with your need to efficiently deliver static content stored in an S3 bucket.

Question 4:

You have created a DynamoDB table in ap-northeast-1 and would like to make it available in eu-west-1, so you decided to create a DynamoDB Global Table. What needs to be enabled first before you create a DynamoDB Global Table?

Correct Answer: (1) It is essential for enabling the replication of data changes across different AWS Regions when creating a Global Table. This functionality aligns with your objective to ensure that your DynamoDB table is consistently updated and available in multiple regions.

Question 5:

You have configured a Lambda function to run each time an item is added to a DynamoDB table using DynamoDB Streams. The function is meant to insert messages into the SQS queue for further long processing jobs. Each time the Lambda function is invoked, it seems able to read from the DynamoDB Stream but it isn't able to insert the messages into the SQS queue. What do you think the problem is?

Correct Answer: (2) For your Lambda function to successfully insert messages into an SQS queue, it must have the appropriate permissions assigned to its execution role. This highlights the importance of ensuring that IAM roles are properly configured to allow Lambda functions access to necessary AWS services.

Question 6:

You would like to create an architecture for a micro-services application whose sole purpose is to encode videos stored in an S3 bucket and store the encoded videos back into an S3 bucket. You would like to make this micro-services application reliable and has the ability to retry upon failures. Each video may take over 25 minutes to be processed. The services used in the architecture should be asynchronous and should have the capability to be stopped for a day and resume the next day from the videos that haven't been encoded yet. Which of the following AWS services would you recommend in this scenario?

Correct Answer: (3) Amazon SQS allows you to queue video encoding tasks, retaining them until you're ready to process them, while EC2 instances can be started and stopped as needed, enabling flexible management of your processing workload. This setup ensures reliability and supports your requirement to pause and resume encoding tasks over time.

Question 7:

You are running a photo-sharing website where your images are downloaded from all over the world. Every month you publish a master pack of beautiful mountain images that are over 15 GB in size. The content is currently hosted on an Elastic File System (EFS) file system and distributed by an Application Load Balancer and a set of EC2 instances. Each month, you are experiencing very high traffic which increases the load on your EC2 instances and increases network costs. What do you recommend to reduce EC2 load and network costs without refactoring your website?

Correct Answer: (4) It acts as a Content Delivery Network (CDN) that reduces load on your EC2 instances by caching and delivering content globally, which leads to lower latency and reduced network costs. This aligns with your objective of efficiently handling high traffic without significant changes to your existing architecture.

Question 8:

An AWS service allows you to capture gigabytes of data per second in real-time and deliver these data to multiple consuming applications, with a replay feature.

Correct Answer: (1) It enables you to efficiently capture and process large volumes of real-time data from multiple sources, making it ideal for applications that require speedy data ingestion and processing. This capability supports the learning objective of understanding scalable solutions for real-time data handling in cloud environments.

Top comments (0)