Machine-translated by Google. Questions are authored in English.
Top

Security Questions and Answers

1.

Consider that B wants to send a message \(m\) that is digitally signed to A. Let the pair of private and public keys for A and B be denoted by \(K_{x}^{-}\) and \(K_{x}^{+}\) for \(x = A, B\), respectively. Let \(K_{x}(m)\) represent the operation of encrypting \(m\) with a key \(K_{x}\) and \(H(m)\) represent the message digest. Which one of the following indicates the CORRECT way of sending the message \(m\) along with the digital signature to A?

Exam Year(s)

GATE CS - 2016,

Answer: B

The correct way is \(\{m, K_{B}^{-}(H(m))\}\).

A digital signature is made with the sender's private key: B hashes the message and encrypts the digest with \(K_{B}^{-}\), then sends it with \(m\). A decrypts the signature with B's public key \(K_{B}^{+}\), hashes the received \(m\) herself and compares. A match proves the message came from B (only B has \(K_{B}^{-}\)) and was not altered.

Encrypting with B's public key proves nothing, since anyone has it. A's private key is unknown to B. \(K_{A}^{+}(m)\) gives confidentiality, not a signature, and has no digest.

Please log in or register to report this question.

2.

Anarkali digitally signs a message and sends it to Salim. Verification of the signature by Salim requires

Exam Year(s)

GATE CS - 2016,

Answer: A

Salim needs Anarkali’s public key.

A digital signature is created with the signer’s private key, which only Anarkali holds, and verified with the matching public key, which anyone can obtain. Successful verification proves the message came from the holder of that private key and was not altered.

Anarkali’s private key is used for signing, and Salim must never have it. Salim’s own keys play no part in verifying Anarkali’s signature; they would be used if Anarkali were encrypting a message for Salim, or if Salim signed something himself.

Please log in or register to report this question.

3.

Which router command allows you to view the entire contents of all access lists?

Answer: C

Correct answer: Router# show access-lists

show access-lists displays every list on the router with all its entries and the match counters against each, which is what makes it the first command for checking whether a list is doing what was intended. It is a privileged exec command, so the prompt must show the hash rather than the angle bracket - which is what rules out the user-mode options.

Please log in or register to report this question.

Answer: A

The first thing to check in a question like this is the access-list number. Right away, you can see that the second option is wrong because it is using a standard IP access-list number. The second thing to check is the protocol. If you are filtering by upper-layer protocol, then you must be using either UDP or TCP; this eliminates the fourth option. The third and last answers have the wrong syntax.

Please log in or register to report this question.

5.

What router command allows you to determine whether an IP access list is enabled on a particular interface?

Answer: C

Correct answer: show ip interface

show ip interface reports the IP configuration of each interface, including the lines stating which access list is applied inbound and which outbound - so it answers where a list is applied. show access-lists answers the different question of what the lists contain, and neither of the other two commands exists.

Please log in or register to report this question.

6.

Which of the following are valid ways to refer only to host 172.16.30.55 in an IP access list?

1.172.16.30.55 0.0.0.255

2.172.16.30.55 0.0.0.0

3.any 172.16.30.55

4.host 172.16.30.55

5.0.0.0.0 172.16.30.55

6.ip any 172.16.30.55

Answer: B

Correct answer: 2 and 4

Both refer to exactly one host. The wildcard 0.0.0.0 requires every bit of the address to match, and the host keyword is shorthand for precisely that - IOS accepts either and displays the second form. Option 1 uses 0.0.0.255, which matches the whole 172.16.30.0 subnet, and options 3, 5 and 6 are not valid syntax at all.

Please log in or register to report this question.

7.

You are working on a router that has established privilege levels that restrict access to certain functions. You discover that you are not able to execute the command show running-configuration. How can you view and confirm the access lists that have been applied to the Ethernet 0 interface on your router?

Answer: D

The only command that shows which access lists have been applied to an interface is show ip interface Ethernet 0. The command show access-lists displays all configured access lists, and show ip access-lists displays all configured IP access lists, but neither command indicates whether the displayed access lists have been applied to an interface.

Please log in or register to report this question.

8.

You need to create an access list that will prevent hosts in the network range of 192.168.160.0 to 192.168.191.0. Which of the following lists will you use?

Answer: C

The range of 192.168.160.0 to 192.168.191.0 is a block size of 32. The network address is 192.168.160.0 and the mask would be 255.255.224.0, which for an access list must be a wildcard format of 0.0.31.255. The 31 is used for a block size of 32. The wildcard is always one less than the block size.

Please log in or register to report this question.

9.

You want to create a standard access list that denies the subnet of the following host: 172.16.144.17/21. Which of the following would you start your list with?

Answer: B

First, you must know that a /21 is 255.255.248.0, which is a block size of 8 in the third octet. Counting by eight, this makes our subnet 144 in the third octet, and the wildcard for the third octet would be 7 since the wildcard is always one less than the block size.

Please log in or register to report this question.

Answer: C

Correct answer: One access list may be configured, per direction, for each layer 3 protocol configured on an interface.

The limit is one list per protocol per direction per interface - so an interface can carry an inbound and an outbound IP list at once, and separate lists again for any other routed protocol running on it. Needing two IP lists in the same direction means the two sets of rules must be combined into one, which is why the order of entries within a list matters so much.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Security Questions and Answers || Security MCQ Questions and Answers || Security GK Questions and Answers || Security GK MCQ Questions || Security Multiple Choice Questions and Answers || Security GK || GK on Security || Computer Networking Questions and Answers || Computer Networking MCQ Questions and Answers || Computer Networking GK Questions and Answers || GK on Computer Networking