Question
A programmer wants to configure a database to only allow read or write access when requests are coming from specific IP addresses. Which of the following can be used to configure IP addresses to allow access to the database?
- A. Static IP address
- B. Firewall Correct
- C. Dynamic IP address
- D. DNS
Explanation
A firewall (network or host-based, or the firewall rules built into a database service) filters traffic by source IP address, so it can allow only the listed addresses to reach the database port. Static and dynamic IP addresses are ways hosts receive addresses, not access controls. DNS resolves names to addresses and does not restrict who may connect.