Oracle Cloud Infrastructure 2021 Architect Professional — Question 4
A MySQL DB system has an endpoint in an OCI VCN subnet. The VCN is not configured with VCN peering, VPN access, and FastConnect. You want to connect to the MySQL DB system directly from an OCI Cloud Shell session.
Which two are true? (Choose two.)
Answer options
- A. You must attach the Cloud Shell session to a VCN subnet that can connect to the MySQL DB system.
- B. You must install mysql client programs in the Cloud Shell session.
- C. The MySQL DB system subnet must be in the Cloud Shell tenancy home region.
- D. The VCN subnet of the Cloud Shell session must have a Service Gateway in its route table.
- E. The VCN subnet of the Cloud Shell session must have an Internet Gateway in its route table.
Correct answer: A, B
Explanation
Answer A is correct because the Cloud Shell session must be in a subnet that can reach the MySQL DB system. Answer B is also correct since the mysql client is necessary to interact with the MySQL database. The other options are incorrect as they pertain to networking configurations that are not required for this specific connection scenario.