At ValidExamDumps, we consistently monitor updates to the Amazon DVA-C02 exam questions by Amazon. Whenever our team identifies changes in the exam questions,exam objectives, exam focus areas or in exam requirements, We immediately update our exam questions for both PDF and online practice exams. This commitment ensures our customers always have access to the most current and accurate questions. By preparing with these actual questions, our customers can successfully pass the Amazon AWS Certified Developer - Associate exam on their first attempt without needing additional materials or study guides.
Other certification materials providers often include outdated or removed questions by Amazon in their Amazon DVA-C02 exam. These outdated questions lead to customers failing their Amazon AWS Certified Developer - Associate exam. In contrast, we ensure our questions bank includes only precise and up-to-date questions, guaranteeing their presence in your actual exam. Our main priority is your success in the Amazon DVA-C02 exam, not profiting from selling obsolete exam questions in PDF or Online Practice Test.
A developer is creating an application that uses an AWS Lambda function to transform and load data from an Amazon S3 bucket. When the developer tests the application, the developer finds that some invocations of the Lambda function are slower than others.
The developer needs to update the Lambda function to have predictable invocation durations that run with low latency. Any initialization activities, such as loading libraries and instantiating clients, must run during allocation time rather than during actual function invocations.
Which combination of steps will meet these requirements? (Select TWO.)
A company is concerned that a malicious user could deploy unauthorized changes to the code for an AWS Lambda function. What can a developer do to ensure that only trusted code is deployed to Lambda?
Requirement Summary:
Prevent unauthorized code changes in AWS Lambda
Ensure only trusted code is deployed
AWS Lambda supports Code Signing:
You can configure code signing in Lambda using AWS Signer
Packages must be digitally signed and verified against the signing profile
Rejects unauthorized/modified packages automatically
Evaluate Options:
A . Trusted code option in CodeDeploy
No such feature exists for Lambda
CodeDeploy is more for EC2/On-Prem/Containers, not Lambda code signing
B . Define code signing config + use AWS Signer
This is exactly how AWS enforces trusted code deployment
Attach a code signing configuration to the Lambda function
Use AWS Signer to digitally sign deployment packages
C . Link to KMS to sign code
KMS is not used to sign Lambda packages
KMS is for data encryption, not application code integrity
D . Set KmsKeyArn
This configures data encryption, not code signing
Lambda code signing: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
AWS Signer overview: https://docs.aws.amazon.com/signer/latest/developerguide/what-is-signer.html
A developer is building a serverless application by using AWS Serverless Application Model (AWS SAM) on multiple AWS Lambda functions. When the application is deployed, the developer wants to shift 10% of the traffic to the new deployment of the application for the first 10 minutes after deployment. If there are no issues, all traffic must switch over to the new version.
Which change to the AWS SAM template will meet these requirements?
A company requires that all applications running on Amazon EC2 use 1AM roles to gam access to AWS services. A developer is modifying an application that currently relies on 1AM user access keys stored in environment variables to access Amazon DynamoDB tables using boto, the AWS SDK for Python.
The developer associated a role with the same permissions as the 1AM user to the EC2 instance, then deleted the 1AM user. When the application was restarted, the AWS
Access Denied Exception messages started appearing in the application logs. The developer was able to use their personal account on the server to run DynamoDB API commands using the AWS CLI.
What is the MOST likely cause of the exception?
A company runs an application on AWS The application uses an AWS Lambda function that is configured with an Amazon Simple Queue Service (Amazon SQS) queue called high priority queue as the event source A developer is updating the Lambda function with another SQS queue called low priority queue as the event source The Lambda function must always read up to 10 simultaneous messages from the high priority queue before processing messages from low priority queue. The Lambda function must be limited to 100 simultaneous invocations.
Which solution will meet these requirements'?
Lambda Concurrency:The 'maximum concurrency' setting in event source mappings controls the maximum number of simultaneous invocations Lambda allows for that specific source.
Prioritizing Queues:Setting a lower maximum concurrency for the 'high priority queue' ensures it's processed first while allowing more concurrent invocations from the 'low priority queue'.
Batching:Batch size settings affect the number of messages Lambda retrieves from a queue per invocation, which is less relevant to the prioritization requirement.
Lambda Concurrency:https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html