โ† Back to 18. The Linux System

๐Ÿ“ Authentication in Linux System

๐Ÿ“– From Operating System โ€ข 18. The Linux System โ€ข 10 questions available

Practice MCQs for Authentication in Linux System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

๐Ÿ”„ Last updated: 2026-07-27

2
Easy Questions
5
Medium Questions
3
Hard Questions

๐Ÿ“ Sample Questions

Q1. A system administrator wants to allow SSH connections (port 22) only from the trusted IP 192.168.1.10. Which firewall chain ordering will correctly enforce this rule without exposing the SSH service to other hosts?

๐Ÿ”น A. Place the allow rule in the INPUT chain after a generic denyโ€‘all rule.
๐Ÿ”น B. Place the allow rule in the INPUT chain before the generic denyโ€‘all rule.
๐Ÿ”น C. Place the allow rule in the FORWARD chain before any other rules.
๐Ÿ”น D. Place the allow rule in the OUTPUT chain.

๐Ÿ’ก Difficulty: easy | โœ… Correct: B

Q2. If a routeโ€‘caching entry for destination 10.0.0.5 expires after a period with no hits, what is the most likely effect on an authentication server that relies on that route for client connections?

๐Ÿ”น A. Clients will receive faster responses because the cache is cleared.
๐Ÿ”น B. The server will drop all incoming packets from that destination.
๐Ÿ”น C. Authentication will be bypassed due to missing route information.
๐Ÿ”น D. Increased latency as each new packet requires a full FIB lookup before reaching the server.

๐Ÿ’ก Difficulty: medium | โœ… Correct: A

Q3. An administrator notices that overlapping rules in the INPUT and FORWARD chains allow unauthenticated traffic to reach a protected service. Which configuration change most effectively closes the bypass?

๐Ÿ”น A. Add a denyโ€‘all rule to the OUTPUT chain.
๐Ÿ”น B. Reorder the existing rules in the INPUT chain only.
๐Ÿ”น C. Place a denyโ€‘all rule at the top of both INPUT and FORWARD chains.
๐Ÿ”น D. Disable the FORWARD chain entirely.

๐Ÿ’ก Difficulty: hard | โœ… Correct: A

โฌ†๏ธ View all questions in the quiz below

๐Ÿ”— Related Topics

๐Ÿ“ Linux History๐Ÿ“ The Linux kernel๐Ÿ“ The Linux system๐Ÿ“ Linux distributions๐Ÿ“ Linux licensing
๐Ÿš€ Start Quiz ๐Ÿ“ Practice Mode