1Z0-1067-25 Question 11
Select 2Your organization needs to deploy a new application in Oracle Cloud Infrastructure so it can accept inbound connections from the internet and initiate outbound connections for software updates. You decide to set up the necessary networking components manually. Which two steps should you include to ensure the compute instance can communicate both inbound and outbound through the public internet?
- A
Provision an Internet Gateway in your Virtual Cloud Network (VCN) to allow direct external access.
- B
Use a Dynamic Routing Gateway (DRG) to route requests from the internet directly to your public subnet.
- C
Associate a route table with a route rule directing traffic from the public subnet to the Internet Gateway.
- D
Place the compute instance in a private subnet and rely on a NAT Gateway for incoming connections.
Show answer and explanation
Correct answers: A, C
Explanation
To allow a compute instance to both serve requests from external users and fetch updates from the internet, it must reside in a public subnet with an Internet Gateway attached to the VCN. Additionally, you must define a route rule in the public subnet� route table directing traffic to the Internet Gateway. Refer to Oracle Cloud Infrastructure Networking documentation for details on setting up public and private subnets, gateways, and route tables (https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/overview.htm).
- A. Correct.
Correct. An Internet Gateway is necessary to allow inbound and outbound traffic from the internet to the public subnet in your VCN.
- B. Incorrect.
Incorrect. A DRG primarily facilitates connectivity between an on-premises data center and Oracle Cloud Infrastructure. It is not used for direct internet access.
- C. Correct.
Correct. You must configure a route table to direct traffic from the public subnet to the Internet Gateway in order to allow internet connectivity.
- D. Incorrect.
Incorrect. A NAT Gateway only allows outbound connections from private subnets; it does not enable inbound traffic from the public internet.