Oracle Cloud Infrastructure 2019 Developer Associate — Question 10

You are designing a two-tier web application in Oracle Cloud Infrastructure (OCI). Your clients want to access the web servers from anywhere, but want to prevent access to the database servers from the Internet.
Which is the recommended way to design the network architecture?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows web servers to be accessible from the internet while consolidating both server types in a single subnet. Options A and C incorrectly suggest creating private subnets for database servers, which is not necessary for the client's requirements. Option B does not provide internet access for web servers due to the lack of a proper gateway association.