Oracle
1Z0-403 · Question #99
While configuring TCP Wrappers, you configured a rule for ssh connections. Accidentally, you have put the rule in both /etc/hosts.allow and /etc/hosts.deny files as shown below: 1. /etc/hosts.allow…
The correct answer is D. All the SSH connections to the machine from the example.com domain would be allowed. See the full explanation below for the reasoning.
Question
While configuring TCP Wrappers, you configured a rule for ssh connections. Accidentally, you have put the rule in both /etc/hosts.allow and /etc/hosts.deny files as shown below: 1. /etc/hosts.allow sshd: .example.com 2. /etc/hosts.deny sshd: .example.com What is the result?
Options
- AOnly the SSH connections from other than the example.com domain would be denied.
- BOnly the SSH connections from other than the example.com domain would be allowed.
- CAll the SSH connections to the machine from the example.com domain would be denied.
- DAll the SSH connections to the machine from the example.com domain would be allowed.
How the community answered
(31 responses)- A6% (2)
- B6% (2)
- C3% (1)
- D84% (26)
Community Discussion
No community discussion yet for this question.