
Ultimate access to all questions.
In your current project, you have a Lambda function that needs to connect to a PostgreSQL database hosted on Amazon RDS within your Virtual Private Cloud (VPC). The function must utilize Node.js drivers for the database connection. Taking this into consideration, what are the steps you need to follow to bundle your Lambda function including the necessary Node.js dependencies for the PostgreSQL connection?
A
Upload the code through the AWS console and upload the dependencies as a zip
B
Put the function and the dependencies in one folder and zip them together
C
Zip the function as-is with a package.json file so that AWS Lambda can resolve the dependencies for you
D
Zip the function and the dependencies separately and upload them in AWS Lambda as two parts