Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle 1Z0-1104-25 Exam - Topic 2 Question 5 Discussion

Actual exam question for Oracle's 1Z0-1104-25 exam
Question #: 5
Topic #: 2
[All 1Z0-1104-25 Questions]

SIMULATION

Task 7: Verify the OCI Certificate with Load Balancer

Verify HTTPS connection to the load balancer by running the following command in Cloud Shell

curl -k https://

Enter the following URL in the web browser:

https://

If prompted with a certificate error, accept the risk and continue.

Verify web page content by ensuring the text, "You are visiting Web Server 1" from the index.html file is displayed in the browser

Show Suggested Answer Hide Answer
Suggested Answer: A

Task 7: Verify the OCI Certificate with Load Balancer

Step 1: Obtain the Public IP of the Load Balancer

Log in to the OCI Console.

Navigate to Networking > Load Balancers.

Click on PBT-CERT-LB-01.

Note the Public IP Address from the load balancer details page.

Step 2: Verify HTTPS Connection Using Cloud Shell

Open the OCI Cloud Shell from the top-right corner of the OCI Console.

Run the following command, replacing <Public IP of PBT-CERT-LB-01> with the public IP you noted:

curl -k https://<Public IP of PBT-CERT-LB-01>

Expected output: You should see the text 'You are visiting Web Server 1' if the connection is successful. The -k flag ignores certificate validation errors (common during initial testing with self-signed or newly issued certificates).

If you encounter an error, ensure the load balancer is active, the listener is configured correctly, and the backend server (PBT-CERT-VM-01) is reachable.

Step 3: Verify in a Web Browser

Open a web browser.

Enter the following URL, replacing <Public IP of PBT-CERT-LB-01> with the public IP you noted:

https://<Public IP of PBT-CERT-LB-01>

If prompted with a certificate warning (e.g., due to a self-signed certificate or untrusted CA), accept the risk and proceed (click 'Advanced' and 'Proceed' or similar, depending on your browser).

Verify that the web page displays the text 'You are visiting Web Server 1' from the index.html file created on PBT-CERT-VM-01.

Step 4: Troubleshoot (if needed)

If the text is not displayed:

Check the load balancer health status under Backend Sets > Health in the OCI Console.

Ensure the security list PBT-CERT-LB-SL-01 allows port 443 and the compute instance security list allows port 80.

Verify the Apache service is running on PBT-CERT-VM-01 by SSHing in and running sudo systemctl status httpd.

Topic 2, Misc. Questions


Contribute your Thoughts:

0/2000 characters
Jeannetta
3 months ago
Yup, saw the "You are visiting Web Server 1" message too!
upvoted 0 times
...
Fairy
3 months ago
Wait, you can just ignore the certificate error? Seems sketchy.
upvoted 0 times
...
Loreta
3 months ago
I got a certificate error, but I accepted the risk and it was fine.
upvoted 0 times
...
Elliot
4 months ago
Just ran the curl command, worked perfectly!
upvoted 0 times
...
Audrie
4 months ago
I thought we shouldn't bypass certificate errors... is that safe?
upvoted 0 times
...
Glenna
4 months ago
I definitely recall needing to see that specific text in the browser. I hope I can remember the exact command syntax when I get to that part!
upvoted 0 times
...
Naomi
4 months ago
I feel a bit uncertain about accepting the risk for the certificate error. Is that really the right approach in this case?
upvoted 0 times
...
Eladia
5 months ago
This seems similar to a practice question we did on verifying SSL certificates with load balancers. I think I need to check the public IP carefully.
upvoted 0 times
...
Sean
5 months ago
I remember practicing with curl commands, but I'm not entirely sure if I should use the `-k` option every time.
upvoted 0 times
...
Vince
5 months ago
I think I've got a good handle on this. I'll follow the steps in the question and verify the HTTPS connection and web page content. If I run into any issues, I'll be sure to ask for clarification.
upvoted 1 times
...
Mirta
5 months ago
Wait, what am I supposed to do if the certificate error pops up? I don't want to just accept the risk without understanding the implications.
upvoted 0 times
...
Tresa
5 months ago
No problem, I've got this. I'll enter the public IP of the load balancer in the web browser and check the web page content to make sure it matches the index.html file.
upvoted 0 times
...
Jestine
5 months ago
Hmm, I'm a little unsure about the certificate error. Should I just accept the risk and continue, or is there something else I need to do?
upvoted 0 times
...
Yesenia
6 months ago
Okay, this looks straightforward. I'll start by running the curl command in the Cloud Shell to verify the HTTPS connection to the load balancer.
upvoted 0 times
...

Save Cancel