1Z0-1072-25 Question 17
Single answerYou have launched your first Linux-based compute instance in Oracle Cloud Infrastructure 2025 and assigned it an ephemeral public IP. You want to host a simple website on port 80 (HTTP), but you are unable to connect to the instance from the internet. Which additional step must you take to enable inbound HTTP traffic to your instance?
- A
Add an ephemeral public IP to your route table for inbound traffic.
- B
Open port 80 in the relevant security list or network security group for the instance's subnet.
- C
Configure a reserved public IP instead of an ephemeral public IP.
- D
Use a regional load balancer to forward HTTP traffic to the instance.
Show answer and explanation
Correct answer: B
Explanation
By default, Oracle Cloud Infrastructure uses security lists or network security groups (NSGs) to control inbound and outbound traffic for subnets. Attaching an ephemeral public IP to an instance makes it reachable from the internet, but unless port 80 is explicitly opened in the security list or NSG, external clients cannot connect. Refer to OCI documentation on 'Managing Network Security� for best practices on configuring security lists and NSGs.
- A. Incorrect.
Incorrect. A route table defines how traffic is sent out of a subnet to a destination. You do not add IP addresses to it for inbound traffic, and this would not open port 80.
- B. Correct.
Correct. Even if the instance has a public IP, you must allow inbound traffic on port 80 through its subnet's security list or network security group. This is required to permit external clients to connect to the instance over HTTP.
- C. Incorrect.
Incorrect. A reserved public IP simply provides a persistent public IP address. It does not automatically open the required ports or update firewall rules.
- D. Incorrect.
Incorrect. While a load balancer could be used to route traffic, simply deploying one does not solve the inaccessible port issue on the instance. You still need to allow inbound traffic on port 80 at the instance� subnet or NSG level.