Let's see how much you know about Linux.

Source: Internet
Author: User
Tags imap domain name server file permissions rsync

1. (single choice) the ability to connect a KVM virtual machine directly to a physical network and to communicate with other hosts is () connection mode.
A) NAT Mode
B) Isolation mode
C) Bridging mode br0
D) Route mode

2. (single choice) in the VSFTPD service, control whether the user can download the parameters are?
A) write enable
B) userlist

C) anonymous Enable
D) Download Enable

3. (single choice) when configuring the DNS domain Name service, the administrator performs the cp-p/var/named/named.localhost/var/named/chroot/var/named/ The tarena.com.zone operation, where the option-P function is ().
A) Copy Connection
B) Copy the file permissions together
C) Copy Directory
D) Recursive copy

4. (Single choice) Linux download using anonymous login FTP, the user name is ().
A) Users
B) Anonymous
C) Root
D) vsftp

5. (single choice) in KVM, what is the default connection to allow shared Internet access?
A) NAT Mode
B) Bridging mode
C) Route mode
D) shared mode

6. (single choice) on a Linux server, using Apache as the Web service program, the server name is www.tarena.com, the administrator put all the documents provided externally under the/usr/local/source directory, You want the remote user to be able to access these documents by using the http://www.tarena.com address in the browser, and he needs to set the () settings for Apache.
A) Install the Apache server in the/usr/local/directory
B) Modify the ServerRoot entry value in the Apache configuration file Httpd.comf to "/usr/local/source"
C) Modify the DocumentRoot entry value in the Apache configuration file Httpd.comf to "/usr/local/source"
D) Modify the value of listen in Apache configuration file Httpd.comf to 8000

7. (single choice) How to find the connection file in/etc directory?
A) Find/etc–type D
B) Find/etc–type L

C) Find/etc–name F
D) Find/etc–name L

8. (Single choice) FTP settings prohibit anonymous upload, what should be done
A) Anonymous_enable=no
B) No-anon_passwd=no
C) Anon_upload_enable=no
D) Anon_world_readable_only=no

9. (Single choice) regarding the condition of the PXE network installed, the following statement is wrong ().
A) The client's network card can support the PXE protocol
B) The client's motherboard supports booting from the network
C) There is a DHCP server in the network to assign the address, indicate the download path
D) There is a VSFTPD server in the network, providing the boot program, kernel and other file download

10. (Single-choice) for rsync synchronization is correct to say ().
A) rsync is a standalone service
B) rsync can only be synchronized based on SSH
C) rsync sync identity only Root
D) rsync has no monitoring function

11. (Single choice) FTP data transfer mode has several ().
A) 1
B) 2
C) 3
D) 4

12. (single choice) which of the following is the main configuration file for the Apache service ()
A)/etc/apache.conf
B)/etc/httpd/config.ini
C)/etc/httpd/conf/httpd.conf
D)/etc/srm.conf

13. (Single choice) in the RHEL6 system, the DHCPD service has a line in the main configuration file for option routers 192.168.10.254, which is primarily used to specify the client's ().
A) DNS Address
B) IP Address
C) DHCP server address
D) Default gateway address

14. (Single choice) to export the configuration file for a KVM virtual machine named Myrhel6, you can execute the () command.
A) Virsh Dumpxml myrhel6
B) Virsh list myrhel6
C) Virsh define Myrhel6
D) Virsh Destroy Myrhel6

15. (Single choice) for the DHCP component of the PXE installation server, the filename declaration within the configuration file dhpd.conf is primarily used ().
A) Inform the PXE bootstrapper of the file name
B) Address of the DNS server
C) indicate the address of the TFTP server
D) transfer boot control to yum installation source

16. (Single choice) when building a DNS server in a RHEL6.5 system, to provide a reverse resolution of the 172.30.1.0/24 network segment, the corresponding reverse resolution zone name should be expressed as () when the zone setting is added.
A) 0.1.30.172.in-addr.arpa
B) 1.30.172.in-addr.arpa
C) 172.30.1.in-addr.arpa
D) 172.30.1.rev

17. (Single-choice) when configuring a DNS server, set the type to () to indicate from the zone record.
A) Master
B) Slave
C) hint
D) Forward

18. (Multi-choice) which modes in the Vim editor can be saved to exit?
A) All can
B) Command mode
C) Last-line mode
D) Input mode

19. (Multi-choice) What are the protocols used to dovecot the reception service?
A) POP3
B) IMAP
C) TELNET
D) SMTP

20. (Multiple-choice) lamp, in order to allow PHP page upload not more than 8M of files,/etc/php.ini How to configure?
A) upload_max_filesize=8m
B) post_max_size=8m
C) File_uploads=on
D) Anon-upload_enable=yes

You can test how much you know about Linux systems.

Answer:
(1) C
Resolution: Bridge mode: The guest and host are connected on the same switch, and the physical network card is bridged, which is equivalent to connecting directly to the host. Isolation mode: Guest can access other guest on the same virtual machine switch, but cannot access the external network where host resides. Nat mode: (default) The IP address of the guest gateway to host VIRBR0 allows the virtual machine to share the network connection of the real machine. Routing mode: host acts as a router, enabling forwarding, which requires additional routing of visits between the extranet and guest.

(2) D
Resolution: In Profile/etc/vsftpd/vsftpd.conf, the parameter that controls whether the user has permission to download is download enable.

(3) B
Parse: cp–p source file Destination file (-p parameter is reserved for source file or directory property)

(4) B
Parsing: When using anonymous login FTP under Linux, the user name is anonymous.

(5) A
Resolution: The default Internet connection for KVM is in NAT mode.

(6) C
Resolution: The default value of ServerRoot is the/ETC/HTTPD directory with Apache configuration, logs and other files.
The DocumentRoot value is the root of the Web document.

(7) B
Parse: Finds with Find,-type represents a lookup by type, and L represents a type of connection.

(8) C
Parsing: anon_world_readable_only is whether anonymous users are allowed to download readable documents; anon_upload_enable is whether anonymous users support uploads.

(9) D
Resolution: The NIC ROM must support the PXE protocol, the motherboard supports network boot, DHCP assigns IP address, tells boot server;tftp to provide boot program, kernel and other file download.

(10) D
Resolution: A:rsync is a temporary service that needs to be serviced by a xinetd server. B:rsync can be shared without SSH, which has its own configuration file. The identity of the C:rsync synchronization can be an ordinary user. D: Correct.

(11) B
Parsing: There are two types of FTP data transfer modes: Text mode: ASCII mode, text sequence transmission, binary mode: binary mode, binary sequence transmission.

(12) C
Parsing: Apache Basics

(13) D
Resolution: Option domain-name-servers 192.168.4.5; DNS server
Subnet 192.168.4.0 netmask 255.255.255.0{range 192.168.4.128 192.168.4.228;} IP Address
Option routers 192.168.10.254; default gateway Address

(14) A
Resolution: Virsh Dumpxml Virtual machine Name: Export XML description file
Virsh list Virtual machine name: Lists the running state of the specified virtual machine
Virsh Define XML Description file: Import a new virtual machine
Virsh Destroy virtual machine name: Forces the specified virtual machine to shut down

(15) A
Parse: filename "pxelinux.0" specifies the NIC boot file Next-server 192.168.4.1 indicates the address of the TFTP server

(16) B
Parsing: Name representation format: reverse-order segment address. In-addr.arpa. So the B option is correct.

(17) B
Parse: Master: Define authoritative domain name server; Slave: Define the secondary name server; Hint: when the relevant resolution is not found locally, you can query the root name server; forward: Define a forwarding name server.

(18) Bc
Parsing: The mode that can save exits is command mode and last line mode.

(19) Ab
Resolution: Dovect received the service to use the protocol has pop3,imap.
Features of the POP3 protocol: Download the message from the server and delete the message on the server.
Features of the IMAP protocol: Messages are not downloaded automatically, but the title of the message is displayed. Applies to mobile mail.

(20) AC
Parsing: upload_max_filesize=8m is the upload file maximum is 8m,file_uploads=on means file upload function.

Thanks for watching ~

Let's see how much you know about Linux.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.