LFCS netfilter question

In LFCS exam if I get question about netfilter rule to block/allow incoming connection to a particular port. Do I answer with UFW or IPtables rule?

My understanding of how grading works with LFCS is that you can use any technique that the exam’s Linux distribution will support. So if you had a question like that, you could use iptables commands or UFW, and either technique would pass the grader.