LinkedIn skill assessment answers and questions – AWS Lambda
एडब्ल्यूएस लैम्ब्डा is a popular service that allows you to run code without provisioning or managing servers. It is also one of the skills that employers look for when hiring cloud computing professionals. If you want to ace the LinkedIn skill assessment for AWS Lambda, you need to prepare well and practice the questions and answers.
इस ब्लॉग पोस्ट में, I will share with you some of the questions and answers that I have collected from various sources and verified by myself. These questions and answers will help you test your knowledge and skills on AWS Lambda and boost your confidence for the assessment. Read on to learn more about एडब्ल्यूएस लैम्ब्डा and how to pass the लिंक्डइन कौशल मूल्यांकन.
Q1. How can you increase the CPU resources for your Lambda?
- Increase the configured CPU value
- Increase the configured timeout value
- Increase the configured memory value
- Increase the configured concurrency value
How can additional code or content be provided for your Lambda?
Q2.- ब्लाकों
- layers
- aliases
- handlers
How can Step Functions call Lambdas?
Q3.- in sequence
- both of these answers
- neither of these answers
- in parallel
Which AWS CLI command invokes a function?
Q4.- aws lambda invoke –function ReturnBucketName outputfile.txt
- aws lambda execute –function-name ReturnBucketName outputfile.txt
- aws lambda invoke –function-name ReturnBucketName outputfile.txt
- aws lambda execute –function ReturnBucketName outputfile.txt
What adds tracing capabilities to a Lambda?
Q5.- AWS Trace
- CloudStack
- CloudTrail
- AWS X-Ray
You need to build a continuous integration/deployment pipeline for a set of Lambdas. तुम्हे क्या करना चाहिए?
Q6.- Create configuration files and deploy them using AWS CodePipeline.
- Create CloudFormation templates and deploy them using AWS CodeBuild
- Create configuration file and deploy using AWS CodeBuild
- Create CloudFormation templates and deploy them using AWS CodePipeline.
What can you use to monitor function invocations?
क्यू 7.- एपीआई गेटवे
- S3
- एसएएस
- CloudTrail
It is AWS best practice to enable Lambda logging by which of these methods.
क्यू 8.- Use S3 metrics and CloudWatch alarms
- Create custom metrics within your Lambda code.
- Create custom metrics within your CloudWatch code.
- Use Lambda metrics and CloudWatch alarms.
What may be provided for environment variables?
प्रश्न 9.- an SSL certificate
- a bitmask
- an AWS KMS key
- an HTTP protocol
Lambdas allow for running of what other things?
प्र10.- binaries.
- ये सभी उत्तर
- executables
- Shell scripts
In what style must you write Lambda code?
प्रश्न 11.- MVC
- आभासी
- stateless
- protocol
How can a developer provide Lambda code?
प्र12.- by uploading a .zip file
- ये सभी उत्तर
- by editing inline
- from an S3 bucket
You are performance-testing your Lambda to verify that you set the memory size adequately. Where do you verify the execution overhead?
प्रश्न 13.- CLoudWatch logs
- DynamoDB logs
- S3 logs
- Lambda logs.
What facilitates continuous delivery of Lambdas?
प्र14.- CodeStack
- ElasticStack
- Mobile Hub
- CodeDeploy
How are computing resources allocated to Lambdas?
प्रश्न 15.- proportionally
- equally
- periodically
- daily
You can restrict the scope of a user’s permissions by specifying which two items in an IAM policy?
प्र16.- resources and users
- resources and conditions
- events and users
- events and conditions
What does Lambda logging include?
प्रश्न 17.- logging streams
- rotating streams
- logging events
- advancing log groups
What can AWS Amplify NOT do for a Lambda?
प्रश्न 18.- create a Lambda
- be an event source
- assign an IAM role
- delete a Lambda
How do you author a Lambda in a programming language that AWS does not support?
क्यू19.- Create a Lambda function with a custom runtime and reference the function in your Lambda
- Create a Lambda layer with a custom runtime and reference the layer in your lambda
- You cannot use Lambda in this situation
- Create a Lambda function with a custom runtime
What are listed downstream resources based on?
प्र20.- the execution policy
- the Lambda configuration
- the Lambda nodes
- the IAM user
Which is an equivalent and valid tag for a pair of Lambdas?
प्र21.- department:बिक्री,department:बिक्री
- department:बिक्री,department:sales
- aws:demo;aws:demo
- aws:demo;aws:DEMO
Outbound connections from Lambdas must be _
.
प्र22. - neither of these answers
- UDP/IP
- TCP/IP
- both of these answers
How are CloudWatch actions configured?
प्र23.- automatically
- none of these answers
- manually
- ad hoc
You are testing your stream-based application and the associated Lambda. AWS best practice advises you to test by varying what?
प्र24.- stream and record sizes
- stream and shard sizes
- batch and record sizes
- batch and shard sizes
You need to make your Lambda available to services in multiple VPCs. What do you do?
प्रश्न25.- Place each subnet in a VPC. Associate all subnets to your Lambda.
- Place all subnets in a VPC. Associate all subnets to your Lambda.
- Configure your Lambda to be available to multiple VPCs.
- Configure all application VPCs to be peered.
How is the cost associated with Lambda function calculated?
प्र26.- number of function calls
- amount of code run
- compute time
- amount of infrastructure used
What is the fastest way to get started with Lambda?
प्र27.- Author a Lambda from scratch.
- Use a blueprint.
- Use a .zip deployment package.
- Use the serverless app repository.
Where is the disk space allocated for Lambda functions?
प्रश्न 28.- /tmp
- /default
- /temp
- /ds
How do you stop a running Lambda that is stuck in a recursive loop?
प्र29.- Delete the function.
- Set the function concurrent execution limit to 0 while you update the code.
- Reset the function.
- Set the function concurrent execution limit to 100 while you update the code.
What is AWS best practice for Lambda configuration?
क्यू30.- Overprovision memory to run your functions faster and reduce your costs. Do not overprovision your function timeout settings.
- Overprovision memory and your function timeout settings to run your functions faster and reduce your costs.
- Do not overprovision memory. Overprovision your function timeout settings to run your functions faster and reduce costs.
- Do not overprovision memory. Do not overprovision your function timeout settings to run your functions faster and reduce costs.
Basic Lambda permissions include permissions for what?
प्रश्न31.- removing log groups
- none of these answers
- creating log groups
- updating log groups
How are environment variables stored?
प्र32.- DynamoDB tables
- key-value pairs
- S3 buckets
- none of these answers
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?
प्रश्न 33.- S3
- एपीआई गेटवे
- X-Ray
- डायनेमोडीबी
You are creating a Lambda to trigger on change to files in an S3 bucket. Where should you put the bucket name?
प्रश्न34.- in the Lambda function code
- in a Lambda environment variable
- in the Lambda tags
- in another S3 bucket
What action is needed before you can test a Lambda?
क्यू35.- Deploy the Lambda
- Export the function
- none of these answers
- Configure a test event
What kind of packages can you use with Node.js for Lambdas?
प्र36.- Fleece
- NPM
- none of these answers
- Pod
Lambdas are monitored by default using which service?
प्रश्न37.- CloudTrail
- क्लाउडवॉच
- CloudFormation
- LogWatch
What can trigger a Lambda function execution?
प्रश्न 38.- a table definition
- queue isolation
- STS Write
- an SNS topic
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?
प्र39.- POST
- “All object create events”
- PUT
- COPY
To make Lambdas more testable, it is AWS best practice to separate which of these?
क्यू40.- Lambda configuration from logging code
- Lambda handler from logging code
- Lambda handler from core logic
- Lambda configuration from core logic
What is included in an exported Lambda deployment package?
प्र41.- YAML definition
- CloudFormation stack configuration
- SAML deployment stack
- Zip file of all related files
When can you change the execution role of a Lambda?
प्र42.- only at creation
- only before deployment
- कभी नहीँ
- anytime via configuration
What is the relationship between SAM template and CloudFormation template files?
प्रश्न 43.- 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.
- SAM templates are a superset of CloudFormation templates. SAM templates include additional resource types.
- CloudFormation templates are a superset of SAM templates. CloudFormation templates include additional resource types.
- SAM templates are a different name for CloudFormation templates. Both template types include the same resource types.
What service deploys Lambdas regionally?
प्रश्न 44.- EdgeCloud
- CloudEdge
- CloudFront
- CloudStack
What programming language does AWS Lambda support?
क्यू45.- रिवाज़
- ये सभी उत्तर
- जावा
- माणिक
You need to setup a mechanism to put controls in place to notify you when you have a spike in Lambda concurrency. तुम्हे क्या करना चाहिए?
प्र46.- Deploy a CloudTrail alarm that notifies you when function metrics exceed your threshold. Create an AWS budget to monitor costs.
- Deploy a CloudWatch alarm that notifies you when function metrics exceed your threshold. Create an AWS budget to monitor costs.
- Deploy a CloudWatch alarm that notifies you when function metrics exceed your threshold. Create an AWS CostMonitor to monitor costs.
- Deploy a CloudTrail alarm that notifies you when function metrics exceed your threshold. Create an AWS CostMonitor to monitor costs.
You want to minimize cold start time for your Lambda. What do you do?
प्रश्न 47.- Add extra code to check if the transient cache, or the /tmp directory, has the data that you stored.
- Add extra code to check if the permanent cache, or the /cache directory, has the data that you stored.
- Do nothing. AWS minimizes cols start time by default.
- Create a warm-up Lambda that calls your Lambda every minute
When is Lambda code stored encrypted?
प्रश्न 48.- at rest
- at runtime
- at deployment
- non of these answers
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??
प्र49.- at the function level
- at the alias or function level
- at the version, alias, or function level
- at the version or function level
Lambda can read events from which other AWS services? (ref-https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html)
क्यू50.- Kinesis, S3, and SQS
- Kinesis, S3, and SNS
- Kinesis, डायनेमोडीबी, and SNS
- Kinesis, डायनेमोडीबी, and SQS
Explanation
Lambda can used for all services mentioned on the question: Kinesis, S3, SNS, SQS, DynamoDB. But as you can see in the reference, Lambda's responsibility and method invocation can be categorized by Lambda polling and Event Driven (synchronous invocation). When you implement an event-driven architecture, you grant the event-generating service permission to invoke your function in the function's resource-based policy. Then you configure that service to generate events that invoke your function. When you implement a Lambda polling architecture, you grant Lambda permission to access the other service in the function's execution role. Lambda reads data from the other service, creates an event, and invokes your function. According to this analytics, Kinesis-DynamoDB-SQS use same method invocation, Lambda polling.
Via what can a Lambda be called?
प्रश्न51.- ये सभी उत्तर
- a DynamoDB trigger
- an API Gateway
- an S3 bucket event
Explanation (source google)
With DynamoDB Streams, you can trigger a Lambda function to perform additional work each time a DynamoDB table is updated. Lambda reads records from the stream and invokes your function synchronously with an event that contains stream records.
These events are considered synchronous events. Simply put, it means that when somebody is calling an API Gateway, it will trigger your Lambda function. It's a synchronous event because your Lambda function has to respond to the client directly at the end of its invocation.
You can use Lambda to process event notifications from Amazon Simple Storage Service. Amazon S3 can send an event to a Lambda function when an object is created or deleted.
which is use case of lambda ?
52.- Image processing
- वेब अनुप्रयोग
- दोनों
- Neither 1st and 2nd
Events are AWS resources that trigger the Lambda function. What data type is the SAM file Events property?
प्रश्न53.- Integer
- Float
- सरणी
- String
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?
प्रश्न54.- Increase the Lambda function timeout
- Route traffic to API Gateway using a Route 53 alias
- Disable payload compression for the API
- Enable API Gateway stage-level caching
The AWS Serverless Application Model (AWS SAM) is a model that ____ .
प्रश्न55.- defines serverless applications
- associates permissions policies
- creates Lambda functions
- packages deployment artifacts
The code that you want AWS Lambda to invoke as per some defined triggers is known as _.
प्रश्न56.- the event source
- the downstream resource
- the log stream
- the Lambda function
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?
प्रश्न57.- Look directly at the Lambda Logs in CloudWatch
- Send the Lambda failures to a Dead Letter Queue
- Use AWS X-Ray to step through the function
- Use Kinesis to write their own custom logging tool
Lambdas can be created _.
प्र 58.- All of these answers
- शुरूुआत से
- From the app repository
- Using a blueprint
You need to quickly understand execution times for two different Lambda functions with different invocation types: asynchronous and synchronous. What do you do?
प्रश्न59.- Enable tracing, rerun the lambdas, and view in the lambda console
- View the logs in CloudTrail
- View the logs in CloudWatch
- Enable tracing, rerun the Lambdas, and view in the X-Ray console
Which tool would you use to test a Lambda locally?
क्यू 60.- AWS SAM
- AWS CLI
- AWS CloudFormation
- AWS SAM CLI
Your function failed to execute due to a timeout. What type of error is this?
प्रश्न 61.- Caller
- Runtime
- Request
- Account
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?
प्रश्न 62.- Enable Auto Scaling Groups for AWS Lambda to ensure that enough Lambda functions are ready to handle the incoming requests
- Throttle Lambda functions by configuring reserved concurrency, sending the excess traffic to Dead Letter Queues (DLQ) that will be handled when the request volume reduces.
- Look at service limits for Amazon API Gateway and Lambda functions used in order to identify potential bottlenecks and balance performance requirements, लागत, and business impact
- Do nothing. API Gateway and AWS Lambda are managed services that have built-in horizontal scaling, सुरक्षा, and high availability to handle unlimited amount of requests
Explanation
In serverless it is important to understand the service limits of all the services used end to end to understand the level of requests that can be handled.
Can we use pakages with AWS Lambda?
प्रश्न 63.- नहीं, AWS Lambda does not support the use of external packages.
- हां, AWS Lambda supports the use of custom and NPM packages
- AWS Lambda only supports built-in packages.
- Packages can be used but require additional fees.
Are AWS Lambda functions available and to what extent?
प्रश्न 64.- AWS Lambda functions are available 24/7 without any limitations.
- AWS Lambda functions are available but may experience scheduled downtimes.
- AWS Lambda functions are highly available with redundancy and replications.
- AWS Lambda functions are available only during business hours.
Is there any default limit to be applied at a functional level?
प्रश्न 65.- हां, there is a default limit to be applied at a functional level.
- नहीं, there is no default limit to be applied at a functional level.
- The default limit depends on the AWS Lambda service plan.
- Functional limits are set by users during configuration.
How long can an AWS Lambda function execute?
प्रश्न 66.- 60 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- 300 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- 600 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- 30 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
How does AWS Lambda secure my code?
प्रश्न 67.- AWS Lambda stores code in plaintext without encryption
- AWS Lambda encrypts and stores it in Amazon S3.
- AWS Lambda does not provide any security measures for code.
- AWS Lambda relies on third-party security tools for code protection.
Which languages are supported by AWS Lambda?
प्रश्न 68.- अजगर, सी#, JavaScript and Java
- माणिक, पीएचपी, तीव्र
- C++ and Rust
- # HTML and CSS In serverless it is important to understand the service limits of all the services used end to end to understand the level of requests that can be handled.
What does AWS Lambda mean?
प्रश्न 63.- ए) AWS Lambda is a database service offered by AWS.
- बी) AWS Lambda is a serverless computing service provided by AWS.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) AWS Lambda is a machine learning framework developed by AWS.
- डी) AWS Lambda is an IoT platform developed by AWS.
What restrictions apply to AWS Lambda function code?
प्रश्न 64.- ए) Lambda imposes restrictions on the use of outbound network connections.
- बी) Lambda imposes restrictions on trace calls for debugging.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) Lambda allows unlimited TCP port 25 traffic.
- डी) Lambda imposes restrictions on the execution time of functions.
How long can an AWS Lambda function execute?
प्रश्न 65.- ए) 60 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- बी) 300 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) 600 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
- डी) 30 यदि आप ऑडियो को किसी अन्य स्पीकर - या हियरिंग एड में स्थानांतरित करना पसंद करते हैं
How does AWS Lambda secure my code?
प्रश्न 66.- ए) AWS Lambda stores code in plaintext without encryption.
- बी) AWS Lambda encrypts code and stores it in Amazon S3.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) AWS Lambda does not provide any security measures for code.
- डी) AWS Lambda relies on third-party security tools for code protection.
Which languages are supported by AWS Lambda?
प्रश्न 67.- ए) अजगर, सी#, जावास्क्रिप्ट, and Java
- बी) माणिक, पीएचपी, and Swift
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) C++ and Rust
- डी) HTML and CSS
What is the definition of Auto-Scaling?
प्रश्न 68.- ए) Auto-Scaling is a feature that automatically scales AWS Lambda functions.
- बी) Auto-Scaling is a feature that automatically scales AWS EC2 instances.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) Auto-Scaling is a feature that automatically scales AWS S3 storage.
- डी) Auto-Scaling is a feature that automatically scales AWS RDS databases.
Is the infrastructure accessible on which the AWS Lambda runs?
प्रश्न 69.- ए) हां, users have full access to the underlying infrastructure.
- बी) नहीं, AWS Lambda abstracts the underlying infrastructure and does not provide access.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) Users have access to infrastructure but with limited permissions.
- डी) Users can request access to infrastructure from AWS support.
Can I use packages with AWS Lambda?
क्यू 70.- ए) नहीं, AWS Lambda does not support the use of external packages.
- बी) हां, AWS Lambda supports the use of custom and NPM packages.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) AWS Lambda only supports built-in AWS packages.
- डी) Packages can be used but require additional fees.
Are AWS Lambda functions available and to what extent?
प्र71.- ए) AWS Lambda functions are available 24/7 without any limitations.
- बी) AWS Lambda functions are available but may experience scheduled downtimes.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) AWS Lambda functions are highly available with redundancy and replication.
- डी) AWS Lambda functions are available only during business hours.
Is there any default limit to be applied at a functional level?
प्र72.- ए) हां, there is a default limit applied at a functional level.
- बी) नहीं, there is no default limit applied at a functional level.
- कीबोर्ड संशोधक चाबियों का एक समूह है जिसका उपयोग अन्य कुंजियों के व्यवहार को बदलने के लिए किया जा सकता है) The default limit depends on the AWS Lambda service plan.
- डी) Functional limits are set by users during configuration.
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?
प्रश्न 73.- The default 5 mintutes timeout.
- Lambda does not allow vedio encoding.
- s3 transfer bottlenecks
- s3 cannot talk to Lambda
What is an AWS service or application that triggers a Lambda to run?
प्रश्न 74.- an input trigger
- an input event
- an event source
- an event trigger
Explanation
An event source is an AWS service or developer-created application that produces events that trigger an AWS Lambda function to run. Some services publish these events to Lambda by invoking the cloud function directly (for example, Amazon S3).
https://aws.amazon.com/lambda/faqs/#:~:text=An%20event%20source%20is%20an,for%20example%2C%20Amazon%20S3
What does a Lambda need to access DynamoDB tables?
प्रश्न 75.- HTTPS certificate
- IAM role permissions
- DynamoDB SDK
- admin role
उत्तर छोड़ दें
आपको चाहिए लॉग इन करें या रजिस्टर करें एक नई टिप्पणी जोड़ने के लिए .