Oracle Cloud Infrastructure 2020 Architect Associate — Question 52

You have an application server running in a public subnet on a compute instance in US West (us-phoenix-1) region of Oracle Cloud Infrastructure (OCI). The data sitting on this instance needs to be copied to OCI Object storage bucket available in the same region without traversing over the internet. To enable the connectivity between the instance and Object Storage, you created a service gateway with service CIDR of all Object Storage in us-phoenix-1 enabled. You also modified the security rules to allow the desired traffic.
However, when you tried sending the data to the Object Storage bucket, you notice that the data is going over the internet and not via the service gateway.
What could be the possible reason for this behavior?

Answer options

Correct answer: D

Explanation

The correct answer is D because if the route table does not contain a specific route for the object storage service, traffic won't be directed through the service gateway, causing it to go over the internet. Option A is incorrect because IAM policies manage access permissions but do not affect the routing of traffic. Option B is not valid since service gateways are not dependent on availability domains but are tied to the VCN. Option C could lead to security issues, but it does not explain why the traffic would not use the service gateway.