Oracle Cloud Infrastructure Foundations 2020 Associate — Question 23
Which gateway can be used to provide internet access to an Oracle Cloud infrastructure compute instance in a private subnet?
Answer options
- A. Internet Gateway
- B. NAT Gateway
- C. Service Gateway
- D. Dynamic Routing Gateway
Correct answer: B
Explanation
The correct answer is B, as a NAT Gateway allows outbound internet access for instances in a private subnet while keeping them secure from inbound traffic. The Internet Gateway is not suitable for private subnets, a Service Gateway is used for accessing Oracle services, and a Dynamic Routing Gateway is for connecting to on-premises networks, not for internet access.