AWS Lambda/AWS Lambda MCQ Sample Test,Sample questions

Question:
Basic Lambda permissions include permissions for what?

1.Removing log groups

2.None of these answers

3.Creating log groups

4.Updating log groups

Posted Date:-2022-09-03 08:27:57


Question:
How are CloudWatch actions configured?

1.Automatically

2.None of these answers

3.Manually Ad hoc

4.Manually Ad hoc

Posted Date:-2022-09-03 07:17:55


Question:
How are computing resources allocated to Lambdas?

1.Proportionally

2.Equally

3.Periodically

4.Daily

Posted Date:-2022-09-03 07:08:19


Question:
How are environment variables stored?

1.DynamoDB tables

2.Key-value pair

3.S3 buckets

4.None of these answers

Posted Date:-2022-09-03 08:31:27


Question:
How can a developer provide Lambda code?

1.By uploading a .zip file

2.All of these answers

3.By editing inline

4.From an S3 bucket

Posted Date:-2022-09-03 07:05:40


Question:
How can additional code or content be provided for your Lambda?

1.Blocks

2.Layers

3.Aliases

4.Handlers

Posted Date:-2022-09-03 06:51:50


Question:
How can Step Functions call Lambdas?

1. In sequence

2.Both of these answers

3.Neither of these answers

4.In parallel

Posted Date:-2022-09-03 06:52:41


Question:
How can Step Functions call Lambdas?

1. In sequence

2.Both of these answers

3.Neither of these answers

4.In parallel

Posted Date:-2022-09-03 06:52:42


Question:
How can you increase the CPU resources for your Lambda?

1.Increase the configured CPU value

2.Increase the configured timeout value

3. Increase the configured memory value

4.Increase the configured concurrency value

Posted Date:-2022-09-03 06:50:16


Question:
How do you author a Lambda in a programming language that AWS does not support?

1.Create a Lambda function with a custom runtime and reference the function in your Lambda

2.Create a Lambda layer with a custom runtime and reference the layer in your lambda

3.You cannot use Lambda in this situation

4.Create a Lambda function with a custom runtime

Posted Date:-2022-09-03 07:13:13


Question:
How do you stop a running Lambda that is stuck in a recursive loop?

1.Delete the function.

2.Set the function concurrent execution limit to 0 while you update the code.

3.Reset the function.

4.Set the function concurrent execution limit to 100 while you update the code.

Posted Date:-2022-09-03 08:25:15


Question:
How is the cost associated with Lambda function calculated?

1.Number of function calls

2.Amount of code run

3.Compute time

4.Amount of infrastructure used

Posted Date:-2022-09-03 07:44:55


Question:
In what style must you write Lambda code?

1.MVC

2.Virtual

3.Stateless

4.Protocol

Posted Date:-2022-09-03 07:04:11


Question:
It is AWS best practice to enable Lambda logging by which of these methods.

1.Use S3 metrics and CloudWatch alarms

2.Create custom metrics within your Lambda code.

3.Create custom metrics within your CloudWatch code.

4.Use Lambda metrics and CloudWatch alarms.

Posted Date:-2022-09-03 07:01:38


Question:
Lambdas allow for running of what other things?

1.Binaries.

2.All of these answers

3.Executables

4.Shell scripts

Posted Date:-2022-09-03 07:03:25


Question:
Lambdas are monitored by default using which service?

1.CloudTrail

2.CloudWatch

3.CloudFormation

4.LogWatch

Posted Date:-2022-09-03 08:37:44


Question:
Outbound connections from Lambdas must be _.

1.Neither of these answers

2.UDP/IP

3.TCP/IP

4.Both of these answers

Posted Date:-2022-09-03 07:15:53


Question:
To make Lambdas more testable, it is AWS best practice to separate which of these?

1.Lambda configuration from logging code

2.Lambda handler from logging code

3.Lambda handler from core logic

4.Lambda configuration from core logic

Posted Date:-2022-09-03 08:45:41


Question:
To make Lambdas more testable, it is AWS best practice to separate which of these?

1.Lambda configuration from logging code

2.Lambda handler from logging code

3.Lambda handler from core logic

4.Lambda configuration from core logic

Posted Date:-2022-09-03 08:45:42


Question:
What action is needed before you can test a Lambda?

1.Deploy the Lambda

2.Export the function

3.None of these answers

4.Configure a test event

Posted Date:-2022-09-03 08:35:20


Question:
What adds tracing capabilities to a Lambda?

1.AWS Trace

2.CloudStack

3.CloudTrail

4.AWS X-Ray

Posted Date:-2022-09-03 06:54:12


Question:
What are listed downstream resources based on?

1.The execution policy

2.The Lambda configuration

3.The Lambda nodes

4.The IAM user

Posted Date:-2022-09-03 07:14:08


Question:
What can AWS Amplify NOT do for a Lambda?

1.Create a Lambda

2.Be an event source

3.Assign an IAM role

4.Delete a Lambda

Posted Date:-2022-09-03 07:12:32


Question:
What can trigger a Lambda function execution?

1.A table definition

2.Queue isolation

3.STS Write

4.An SNS topic

Posted Date:-2022-09-03 08:38:32


Question:
What can you use to monitor function invocations?

1.API Gateway

2.S3

3.SAS

4.CLoudTrail

Posted Date:-2022-09-03 06:56:12


Question:
What does Lambda logging include?

1.Logging streams

2.Rotating streams

3.Logging events

4.Advancing log groups

Posted Date:-2022-09-03 07:11:23


Question:
What facilitates continuous delivery of Lambdas?

1.CodeStack

2.ElasticStack

3.Mobile Hub

4.CodeDeploy

Posted Date:-2022-09-03 07:07:36


Question:
What is AWS best practice for Lambda configuration?

1.Overprovision memory to run your functions faster and reduce your costs. Do not overprovision your function timeout settings.

2.Overprovision memory and your function timeout settings to run your functions faster and reduce your costs.

3.Do not overprovision memory. Overprovision your function timeout settings to run your functions faster and reduce costs.

4.Do not overprovision memory. Do not overprovision your function timeout settings to run your functions faster and reduce costs.

Posted Date:-2022-09-03 08:27:02


Question:
What is included in an exported Lambda deployment package?

1.YAML definition

2.CloudFormation stack configuration

3.SAML deployment stack

4.Zip file of all related files

Posted Date:-2022-09-03 08:54:10


Question:
What is the fastest way to get started with Lambda?

1.Author a Lambda from scratch.

2.Use a blueprint.

3.Use a .zip deployment package.

4.Use the serverless app repository.

Posted Date:-2022-09-03 08:23:19


Question:
What is the relationship between SAM template and CloudFormation template files?

1.SAM templates are a superset of CloudFormation templates. SAM templates include additional resource types.

2.SAM templates have some overlap with CloudFormation templates. Both SAM and CloudFormation templates include resource types that are not in the other type of template.

3.CloudFormation templates are a superset of SAM templates. CloudFormation templates include additional resource types.

4.SAM templates are a different name for CloudFormation templates. Both template types include the same resource types.

Posted Date:-2022-09-03 08:48:19


Question:
What kind of packages can you use with Node.js for Lambdas?

1.Fleece

2.NPM

3.None of these

4.Pod

Posted Date:-2022-09-03 08:36:35


Question:
What may be provided for environment variables?

1.An SSL certificate

2.A bitmask

3.An AWS KMS key

4.An HTTP protocol

Posted Date:-2022-09-03 07:02:37


Question:
What programming language does AWS Lambda support?

1.Custom

2. All of these answers

3.Java

4.Ruby

Posted Date:-2022-09-03 08:49:56


Question:
What service deploys Lambdas regionally?

1.EdgeCloud

2.CloudEdge

3.CloudFront

4.CloudStack

Posted Date:-2022-09-03 08:49:07


Question:
When can you change the execution role of a Lambda?

1.Only at creation

2.Only before deployment

3.Never

4.Anytime via configuration

Posted Date:-2022-09-03 08:46:46


Question:
When is Lambda code stored encrypted?

1.At rest

2.At runtime

3.At deployment

4.Non of these

Posted Date:-2022-09-03 06:49:30


Question:
Where is the disk space allocated for Lambda functions?

1./tmp

2./default

3. /temp

4./ds

Posted Date:-2022-09-03 08:24:03


Question:
Which AWS CLI command invokes a function?

1.Aws lambda invoke --function ReturnBucketName outputfile.txt

2.Aws lambda execute --function-name ReturnBucketName outputfile.txt

3.Aws lambda invoke --function-name ReturnBucketName outputfile.txt

4.Aws lambda execute --function ReturnBucketName outputfile.txt

Posted Date:-2022-09-03 06:53:29


Question:
Which is an equivalent and valid tag for a pair of Lambdas?

1.Department:Sales,department:Sales

2.Department:Sales,department:sales

3.Aws:demo;aws:demo

4.Aws:demo;aws:DEMO

Posted Date:-2022-09-03 07:15:05


Question:
You are creating a Lambda to trigger on change to files in an S3 bucket. Where should you put the bucket name?

1.In the Lambda function code

2.In a Lambda environment variable

3.In the Lambda tags

4.In another S3 bucket

Posted Date:-2022-09-03 08:34:28


Question:
You are performance-testing your Lambda to verify that you set the memory size adequately. Where do you verify the execution overhead?

1.CLoudWatch logs

2.DynamoDB logs

3.S3 logs

4.Lambda logs.

Posted Date:-2022-09-03 07:06:22


Question:
You are testing your stream-based application and the associated Lambda. AWS best practice advises you to test by varying what?

1.Stream and record sizes

2.Stream and shard sizes

3.Batch and record sizes

4.Batch and shard sizes

Posted Date:-2022-09-03 07:40:56


Question:
You can restrict the scope of a user's permissions by specifying which two items in an IAM policy?

1.Resources and users

2.Resources and conditions

3.Events and users

4.Events and conditions

Posted Date:-2022-09-03 07:09:59


Question:
You need to build a continuous integration/deployment pipeline for a set of Lambdas. What should you do?

1.Create configuration files and deploy them using AWS CodePipeline.

2.Create CloudFormation templates and deploy them using AWS CodeBuild

3.Create configuration file and deploy using AWS CodeBuild

4.Create CloudFormation templates and deploy them using AWS CodePipeline.

Posted Date:-2022-09-03 06:55:12


Question:
You need to make your Lambda available to services in multiple VPCs. What do you do?

1.Place each subnet in a VPC. Associate all subnets to your Lambda.

2.Place all subnets in a VPC. Associate all subnets to your Lambda.

3.Configure your Lambda to be available to multiple VPCs.

4.Configure all application VPCs to be peered.

Posted Date:-2022-09-03 07:41:50


Question:
You need to make your Lambda available to services in multiple VPCs. What do you do?

1.Place each subnet in a VPC. Associate all subnets to your Lambda.

2.Place all subnets in a VPC. Associate all subnets to your Lambda.

3.Configure your Lambda to be available to multiple VPCs.

4.Configure all application VPCs to be peered.

Posted Date:-2022-09-03 07:42:51


Question:
You need to set an S3 event trigger on your Lambda to respond when data is added to your bucket from another S3 bucket. Which event type do you configure?

1.POST

2.All object create events"

3.PUT

4.COPY

Posted Date:-2022-09-03 08:44:06


Question:
You need to setup a mechanism to put controls in place to notify you when you have a spike in Lambda concurrency. What should you do?

1.Deploy a CloudTrail alarm that notifies you when function metrics exceed your threshold. Create an AWS budget to monitor costs.

2.Deploy a CloudWatch alarm that notifies you when function metrics exceed your threshold. Create an AWS budget to monitor costs.

3.Deploy a CloudWatch alarm that notifies you when function metrics exceed your threshold. Create an AWS CostMonitor to monitor costs.

4.Deploy a CloudTrail alarm that notifies you when function metrics exceed your threshold. Create an AWS CostMonitor to monitor costs.

Posted Date:-2022-09-03 08:51:11


Question:
You need to use a Lambda to provide backend logic to your website. Which service do you use to make your Lambda available to your website?

1.S3

2.API Gateway

3.X-Ray

4.DynamoDB

Posted Date:-2022-09-03 08:32:55


More MCQS

  1. AWS Lambda MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!