AWS Lambda - top questions - Certified Developer exam
Published: 2022-09-10 06:16:11

Hello Cloud Learners,
In the process of preparing for the exam, I find examples of questions on the Internet. I will post them here and on my site all topics at once, along with explanations.
I hope this will be helpful to those who want to quickly go over the questions on each topic, as I plan to do.

> **When working with a published version of the AWS Lambda function, you should note that the _____.**

1. Use the AWS Management Console to create and configure the cluster.
2. Create a cron job to schedule the cluster deployment using the `_aws cloudformation deploy_` command
3. Create a configuration file with the .config extension and place it into the .ebextensions folder in the application package.
4. Build an AWS Lambda function that polls to the ElasticBeanstalk environment deployments and create and configure the Amazon ElastiCache cluster.


> **A developer is building a streamlined development process for Lambda functions related to S3 storage.The developer needs a consistent, reusable code blueprint that can be easily customized to manage Lambda function definition and deployment, the S3 events to be managed and the Identity Access Management (IAM) policies definition.**
> **Which of the following AWS solutions offers is best suited for this objective?**

1. [AWS Software Development Kits (SDKs)](https://aws.amazon.com/developer/tools/)
2. [AWS Serverless Application Model (SAM)](https://aws.amazon.com/serverless/sam/) templates
3. [AWS Systems Manager](https://aws.amazon.com/systems-manager/)
4. [AWS Step Functions](/en/tags/step-functions/)


> **A developer is adding sign-up and sign-in functionality to an application. The application is required to make an API call to a custom analytics solution to log user sign-in events**
> **Which combination of actions should the developer take to satisfy these requirements? (Select TWO.)**

1. Use Amazon Cognito to provide the sign-up and sign-in functionality
2. Use AWS IAM to provide the sign-up and sign-in functionality
3. Configure an AWS Config rule to make the API call triggered by the post-authentication event
4. Invoke an Amazon API Gateway method to make the API call triggered by the post-authentication event
5. Execute an AWS Lambda function to make the API call triggered by the post-authentication event


**A developer is designing a web application that allows the users to post comments and receive a real-time feedback.**

**Which architectures meet these requirements? (Select TWO.)**

1. Create an AWS AppSync schema and corresponding APIs. Use an Amazon DynamoDB table as the data store.
2. Create a WebSocket API in Amazon API Gateway. Use an AWS Lambda function as the backend and an Amazon DynamoDB table as the data store
3. Create an AWS Elastic Beanstalk application backed by an Amazon RDS database. Configure the application to allow long-lived TCP/IP sockets.
4. Create a GraphQL endpoint in Amazon API Gateway. Use an Amazon DynamoDB table as the data store.
5. Enable WebSocket on Amazon CloudFront. Use an AWS Lambda function as the origin and an Amazon Aurora DB cluster as the data store


> **A food delivery company is building a feature that requests reviews from customers after their orders are delivered. The solution should be a short-running process that can message customers simultaneously at various contact points including email, text, and mobile push notifications.**
> **Which approach best meets these requirements?**

1. Use EventBridge with Kinesis Data Streams to send messages. 
2. Use a Step Function to send SQS messages.
3. Use a Lambda function to send SNS messages.
4. Use AWS Batch and SNS to send messages.


> - Notes about **AWS Lambda** can be found [here]() and [here](https://romankurnovskii.com/en/docs/aws-certified-developer-associate/lambda/)
> - Full set with questions on all topics and explanation can be found [here](https://romankurnovskii.com/en/docs/aws-certified-developer-associate/questions/)