AWS - LambdaWhich of the following is the correct way to specify memory size for an AWS Lambda function?AMemory size can be any value between 64 MB and 15,360 MBBMemory size must be exactly 512 MBCMemory size must be a multiple of 1 MB, between 128 MB and 10,240 MBDMemory size is fixed and cannot be changedCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall Lambda memory allocation rulesLambda memory must be set in 1 MB increments, starting at 128 MB up to 10,240 MB.Step 2: Eliminate incorrect optionsMemory cannot be any value, fixed, or exactly 512 MB only.Final Answer:Memory size must be a multiple of 1 MB, between 128 MB and 10,240 MB -> Option CQuick Check:Memory size = 1 MB increments [OK]Quick Trick: Memory increments are 1 MB, min 128 MB, max 10,240 MB [OK]Common Mistakes:MISTAKESChoosing any memory size valueAssuming fixed memory sizeIgnoring the 1 MB increment rule
Master "Lambda" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - REST API creation - Quiz 14medium AWS Lambda - Lambda execution model - Quiz 5medium Auto Scaling - Scheduled scaling - Quiz 4medium DynamoDB - Time to live (TTL) for expiration - Quiz 4medium DynamoDB - Time to live (TTL) for expiration - Quiz 7medium Elastic Load Balancing - Health checks configuration - Quiz 1easy Elastic Load Balancing - Application Load Balancer (ALB) - Quiz 1easy Elastic Load Balancing - Health checks configuration - Quiz 2easy RDS and Relational Databases - RDS security (encryption, security groups) - Quiz 13medium RDS and Relational Databases - RDS supported engines - Quiz 9hard