| Exam Name: | AWS Certified Developer - Associate | ||
| Exam Code: | DVA-C02 Dumps | ||
| Vendor: | Amazon Web Services | Certification: | AWS Certified Associate |
| Questions: | 546 Q&A's | Shared By: | ishaaq |
A company is planning to securely manage one-time fixed license keys in AWS. The company ' s development team needs to access the license keys in automaton scripts that run in Amazon EC2 instances and in AWS CloudFormation stacks.
Which solution will meet these requirements MOST cost-effectively?
A developer has implemented an AWS Lambda function that inserts new customers into an Amazon RDS database. The function is expected to run hundreds of times each hour. The function and RDS database are in the same VPC. The function is configured to use 512 MB of RAM and is based on the following pseudocode:
def lambda_handler(event, context):
db = database.connect()
db.statement( " INSERT INTO Customers (CustomerName) VALUES (%s) " , event.name)
db.execute()
db.close()
After successfully testing the function multiple times, the developer notices that the execution time is longer than expected.
What should the developer do to improve performance?
A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked when the client sends requests through the ALB.
Why is the Lambda function not being invoked?
A developer previously deployed an AWS Lambda function as a .zip package. The developer needs to deploy the Lambda function as a container.