Oracle Cloud Infrastructure 2020 Architect Associate — Question 19
Which statement is true about connecting an OCI compute instance to a Shared Autonomous Database? (Choose the best answer.)
Answer options
- A. A Private Endpoint is required to connect to the Shared-Autonomous Database.
- B. The Autonomous Database must belong to a Network Security Group (NSG).
- C. The Autonomous Database must be in the same VCN and Subnet as the Compute instance.
- D. The OCI compute instance can be used with an Always-Free Autonomous Database account.
- E. The OCI compute instance does not support connecting to a Shared Autonomous Database.
Correct answer: B
Explanation
The correct answer is B because the Autonomous Database must indeed belong to a Network Security Group (NSG) for security and access control. Option A is incorrect as a Private Endpoint is not always required, while C is wrong since the databases do not need to be in the same VCN and Subnet. Option D is misleading as it implies the compute instance is not restricted by account type, and option E is incorrect as OCI compute instances can connect to Shared Autonomous Databases.