Oracle Cloud Infrastructure 2021 Architect Professional — Question 5
You want to replicate data from an on-premises MySQL server to a MySQL DB system. The on-premises MySQL server runs in your corporate network. The MySQL server accepts incoming connections from the Internet on a public IP endpoint.
The DB system runs in Oracle Cloud Infrastructure. The DB system endpoint is connected to a private subnet of a VCN.
Which network configuration is required?
Answer options
- A. Configure an OCI network load balancer to accept incoming connections on a public IP and route to the DB system private IP address.
- B. Create a service gateway in the VCN and configure the DB system subnet to route Internet-bound traffic to the service gateway.
- C. Create an Internet gateway in the VCN and configure the DB system subnet to route Internet-bound traffic to the Internet gateway.
- D. Create a NAT gateway in the VCN and configure the DB system subnet to route Internet-bound traffic to the NAT gateway.
Correct answer: C
Explanation
The correct answer is C because an Internet gateway is essential for enabling the DB system in a private subnet to access the Internet for outbound traffic. Options A and B are incorrect as they do not provide the necessary Internet access for the DB system, while option D involves a NAT gateway, which is not suitable for direct Internet-bound traffic in this scenario.