linkedin-skill-assessments-quizzes

AWS Lambda

Q1. How can you increase the CPU resources for your Lambda?

Q2. How can additional code or content be provided for your Lambda?

Q3. How can Step Functions call Lambdas?

Q4. Which AWS CLI command invokes a function?

Q5. What adds tracing capabilities to a Lambda?

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

Q7. What can you use to monitor function invocations?

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

Q9. What may be provided for environment variables?

Q10. Lambdas allow for running of what other things?

Q11. In what style must you write Lambda code?

Q12. How can a developer provide Lambda code?

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

Q14. What facilitates continuous delivery of Lambdas?

Q15. How are computing resources allocated to Lambdas?

Q16. You can restrict the scope of a user’s permissions by specifying which two items in an IAM policy?

Q17. What does Lambda logging include?

Q18. What can AWS Amplify NOT do for a Lambda?

Q19. How do you author a Lambda in a programming language that AWS does not support?

Q20. What are listed downstream resources based on?

Q21. Which is an equivalent and valid tag for a pair of Lambdas?

Q22. Outbound connections from Lambdas must be _.

Q23. How are CloudWatch actions configured?

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

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

Q26. How is the cost associated with Lambda function calculated?

Q27. What is the fastest way to get started with Lambda?

Q28. Where is the disk space allocated for Lambda functions?

Q29. How do you stop a running Lambda that is stuck in a recursive loop?

Q30. What is AWS best practice for Lambda configuration?

Q31. Basic Lambda permissions include permissions for what?

Q32. How are environment variables stored?

Q33. 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?

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

Q35. What action is needed before you can test a Lambda?

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

Q37. Lambdas are monitored by default using which service?

Q38. What can trigger a Lambda function execution?

Q39. 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?

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

Q41. What is included in an exported Lambda deployment package?

Q42. When can you change the execution role of a Lambda?

Q43. What is the relationship between SAM template and CloudFormation template files?

Q44. What service deploys Lambdas regionally?

Q45. What programming language does AWS Lambda support?

Q46. 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?

Q47. You want to minimize cold start time for your Lambda. What do you do?

[Reference](https://aws.amazon.com/blogs/compute/new-for-aws-lambda-predictable-start-up-times-with-provisioned-concurrency/

Q48. When is Lambda code stored encrypted?

Reference

Q49. When you use a resource-based policy to give a service, resource, or account access to your function, how can you apply the scope of that permission??

Reference

Q50. Lambda can read events from which other AWS services? (ref-https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html)

Explanation

Q51. Via what can a Lambda be called?

Explanation (source google)

52. which is use case of lambda ?

Q53. Events are AWS resources that trigger the Lambda function. What data type is the SAM file Events property?

Q54. A company is using an API built using Amazon Lambda, Amazon API Gateway, and Amazon DynamoDB in production. The developer has observed high latency during peak periods. Which approach would best resolve the issue?

Q55. The AWS Serverless Application Model (AWS SAM) is a model that ____ .

Q56. The code that you want AWS Lambda to invoke as per some defined triggers is known as _.

Q57. A developer has created a Lambda function to scrub real-time data of extraneous information and then send the scrubbed data to Kinesis for further processing and storage. Some of the data showing up in Kinesis seems to be inaccurate. What’s the best way for the developer to debug this?

Q58. Lambdas can be created _.

Q59. You need to quickly understand execution times for two different Lambda functions with different invocation types: asynchronous and synchronous. What do you do?

Q60. Which tool would you use to test a Lambda locally?

Q61. Your function failed to execute due to a timeout. What type of error is this?

Q62. A company will be modernizing their application which is currently running on Amazon Elastic Cloud Compute (EC2) instances. They have experience with scaling this infrastructure using Amazon EC2 Autoscaling. They want to move to serverless infrastructure consisting of an Amazon API Gateway that triggers Lambda functions. They are consulting you about scaling this new infrastructure. What should the company consider in order to make sure the serverless infrastructure scales to their needs?

Explanation

Q63. Can we use pakages with AWS Lambda?

Q64. Are AWS Lambda functions available and to what extent?

Q65. Is there any default limit to be applied at a functional level?

Q66. How long can an AWS Lambda function execute?

Q67. How does AWS Lambda secure my code?

Q68. Which languages are supported by AWS Lambda?

Q63. What does AWS Lambda mean?

Q64. What restrictions apply to AWS Lambda function code?

Q65. How long can an AWS Lambda function execute?

Q66. How does AWS Lambda secure my code?

Q67. Which languages are supported by AWS Lambda?

Q68. What is the definition of Auto-Scaling?

Q69. Is the infrastructure accessible on which the AWS Lambda runs?

Q70. Can I use packages with AWS Lambda?

Q71. Are AWS Lambda functions available and to what extent?

Q72. Is there any default limit to be applied at a functional level?

Q73. You are using lambda (with large ram allocations) to process videos uploaded to S3 and to convert from their video format to H264. However the operation fails when dealing with particularly large video files. What is the cause of this?

Q74. What is an AWS service or application that triggers a Lambda to run?

Explanation

Q75. What does a Lambda need to access DynamoDB tables?

Q76. Which of the following is true about AWS Lambda pricing?

Explanation

Q77. What is the maximum execution timeout for an AWS Lambda function?

Explanation

Q78. Which of the following triggers can NOT directly invoke a Lambda function?

Explanation

Q79. You work for a company that has an AWS cloud deployment utilizing Lambda functions for various tasks. You need to select the appropriate resource types and sizes for these tasks. How should you optimize the amount of memory configured for Lambda functions on your AWS cloud?

Explanation

Q80. You are running a photo-sharing website using various AWS services. You have an AWS Lambda function that performs image resizing and cropping whenever a user uploads a picture to an S3 bucket. You need to find a way to allow other AWS accounts and services to invoke this function when necessary. What would you do to implement this functionality?

Explanation