An application utilizes a serverless function to handle web requests and needs to retrieve data from a relational database safely contained within a subnet that is not exposed to the public internet. Which step is vital for the serverless function to communicate effectively with the database?
Alter the database settings to make it publicly accessible and thereby simplify function's access to it.
Enhance the computational resources of the function by increasing its allocated memory capacity.
Establish a VPC Peering connection to enable the serverless function hosted on one VPC to access the database in another VPC.
Configure the serverless function with specific network settings that include the VPC ID, subnet identifiers within the VPC, and security group identifiers.