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

Linux Foundation LFCA Exam - Topic 2 Question 33 Discussion

Posted by Wilford on Oct 21, 2024 at 04:20 PM

When working on a Linux system with firewalld enabled, how can other systems be allowed to access the HTTPS port on the system in the default firewall zone so that the access is granted immediately and persists across reboots?

Suggested Answer: D

Get Premium LFCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
31 comments · newest first
CO
Corazon 11 months ago
B is outdated, stick with D for firewalld!
PA
Patria 11 months ago
Wait, is D really the right one? Seems too easy!
DA
Daron 12 months ago
I thought it was A at first, but D makes more sense.
TA
Tashia 12 months ago
Totally agree, D is the way to go!
KA
Kati 1 year ago
D is the correct command for firewalld.
EL
Ellsworth 1 year ago
I think the correct command is `firewall-cmd --add-service=https --permanent --reload`, but I’m not 100% certain about the options.
SU
Susy 1 year ago
I’m a bit confused between `firewallctl` and `firewall-cmd`. I feel like I’ve seen both in practice questions.
AL
Alyce 1 year ago
I practiced a similar question, and I believe the `--permanent` flag is important for making changes persist across reboots.
BE
Ben 1 year ago
I think I remember something about using `firewall-cmd` for managing firewalld, but I'm not sure if the syntax is right.
SH
Shayne 1 year ago
No problem, I got this. The firewalld service is the default firewall on modern Linux systems, so the answer has to be C or D. I'll go with D since it mentions making the change permanent.
ES
Estrella 1 year ago
I'm a bit confused by all the different firewall tools. iptables, firewalld, firewall-cmd... which one am I supposed to use here? I'll have to review my notes to make sure I get this right.
JA
Janna 1 year ago
Ah, I've done this before! The answer is definitely D. firewall-cmd is the way to go, and the --permanent option ensures the rule sticks around.
PE
Pearly 1 year ago
Okay, let me see... I think the key is using the firewall-cmd tool and the --permanent option to make the change persist across reboots. But I'm not sure about the exact syntax.
VA
Valene 1 year ago
Hmm, this looks like a firewall configuration question. I'll need to think carefully about the different firewall commands and how they interact with the default zone and persistence.
RE
Renea 2 years ago
I'm going with option D. It's the most straightforward and comprehensive solution to the problem.
PA
Paulina 2 years ago
Haha, option B with iptables? That's like using a sledgehammer to crack a nut. Firewalld is the modern way to manage firewalls on Linux.
DW
Dwight 2 years ago
↳ replying to Paulina
D) firewall-cmd --add-service=https --permanent --reload
RE
Renea 2 years ago
↳ replying to Paulina
C) firewalld --add-service=https
ME
Merri 2 years ago
↳ replying to Paulina
A) firewallctl --add-port=https --reload
AN
Anika 2 years ago
Option D is definitely the way to go. Reloading the firewall after adding the service is crucial to make the changes effective immediately.
SO
Soledad 2 years ago
↳ replying to Anika
Thanks for the reminder, I'll make sure to use firewall-cmd --add-service=https --permanent --reload next time.
CA
Carlota 2 years ago
↳ replying to Anika
Don't forget to include the --permanent flag to ensure the rule persists across reboots.
EL
Eleonore 2 years ago
↳ replying to Anika
I agree, using firewall-cmd with the --add-service option is the correct way to allow access to the HTTPS port.
PA
Paola 2 years ago
↳ replying to Anika
Option D is definitely the way to go. Reloading the firewall after adding the service is crucial to make the changes effective immediately.
GE
Genevive 2 years ago
I agree with Angella, D seems like the correct option for allowing access to the HTTPS port on a Linux system with firewalld enabled.
LA
Lauran 2 years ago
Hmm, option D looks like the correct answer to me. The firewall-cmd command allows you to add the HTTPS service permanently and reload the firewall configuration.
VI
Vincenza 2 years ago
↳ replying to Lauran
User 4: Thanks for the clarification, I'll remember to use firewall-cmd for this in the future.
CO
Cordelia 2 years ago
↳ replying to Lauran
User 3: Agreed, option D is the right choice for allowing access to the HTTPS port on a Linux system with firewalld enabled.
FI
Filiberto 2 years ago
↳ replying to Lauran
User 2: Yes, using firewall-cmd to add the HTTPS service permanently and reload the firewall configuration is the way to go.
AV
Avery 2 years ago
↳ replying to Lauran
User 1: I think option D is the correct answer.
AN
Angella 2 years ago
I think the answer is D, because it includes the --permanent flag to make the change persistent.
0/2000 characters

Save Cancel