Module 2 set 1- Chandan
Module 2 set 1- Chandan
3/28: Which of the following option of ls command can be used to view file inode number?
Options:
○ a
○ l
○ i (correct)
○ R
○ T
7/28: Which protocol is better to use in a client-server system focused on file transfer?
Options:
○ HTTP
○ FTP
○ HTTPS
○ AMQP
○ SMTP
12/28: Which command displays the absolute path to the current directory?
Options:
○ dir
○ cd
○ ls
○ pwd
15/28: Which DNS record converts the host name to an IPv6 address?
Options:
○ AAAA record
○ A record
○ MX record
○ TXT record
16/28 :Which of the following commands can be used to read contents of a text file?
○ more
○ readrc
○ less
○ cat
21/28: find /DirectoryName -type f -exec chmod 0644 {} ; Result of command will be:
○ Set 0644 permissions to files in certain directory
○ Find and remove files with 0644 permissions
○ Find and output files with 0644 permissions
○ Nothing
22/28: What of the following commands may be used for remote connection by SSH with using of specified key and
port?
○ ssh -t rsa -f ~/.ssh/key 192.168.16.@user
○ ssh -p 22 -i key
○ ssh -p 30000 -i ~/.ssh/key [email protected]
○ ssh -t rsa -p3 @192.168.16.2
23/28: Which network mask should you take to divide network 192.168.128.0/25 into the 5 sub-networks efficiently?
○ 255.248.255.0
○ 255.255.128.0
○ 255.255.240.0
○ 255.255.248.0
24/28: How would you set permissions on a newly created script so that it could be executed?
○ chmod u-x script.sh
○ chown u+x script.sh
○ chmod u-x script.sh
○ chown u-x script.sh
25/28: Choose the network ports that are NOT usually used for web services.
○ TCP/443
○ TCP/22
○ UDP/80
○ TCP/8080
○ TCP/80
26/28: Which of the following options can be used to check open TCP ports on a remote host? (Choose all correct
answers)
tracert
Telnet
nc
ping
Ssh
27/28: Which file can you configure to ensure that certain file types are never committed to the local Git repository?
git.ignore
.gitignore
ignore.git
gitignore.txt
28/28: If you would like to download your repository from GitHub to your local environment, your choice will be:
git fork
git commit