A Linux administrator created a new log file in /var/log/newlog to monitor a newly installed application. The administrator is now configuring parameters of the file so it will be rotated on a weekly basis or when it becomes larger than 1MB in size. In addition, five rotations of the file should exist in the /var/log directory.
Which of the following should be added to the /etc/logrotate.conf file to meet this objective?
A. Option A
B. Option B
C. Option C
D. Option D
A user wants to configure the application “myapp” to start on runlevels 2, 3, 4, and 5 every time the system starts. Which of the following commands will accomplish this task?
A. chkconfig --level 2345 myapp on
B. systemctl myapp on 2345
C. chkcinfig myapp --levels 2-5
D. systemctl --levels 2345 on
An administrator is trying to optimize a connection to an off-site NFS server.
Which of the following commands would BEST display the problems with packet sizes between hops on the network?
A. tracepath
B. ping
C. tracert
D. nmap
A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate that the data was not modified since the backup. Which of the following would BEST verify that the data remained the same?
A. Perform a MD5 hash on the data.
B. Perform a SCP from the backup.
C. Perform rsync.
D. Restore from the last full backup.
Which of the following is the MOST common method used to access Windows systems that are running in a cloud provider from a Linux system?
A. SSH
B. NX
C. XRDP
D. VNC
Users are reporting collaborate.company.com is inaccessible from the user VLAN, but there is no issue connecting to the system's web page from the DMZ. Given the following outputs from commands run on the system: Which of the following explains why users are unable to access the system from the user VLAN, and how can the administrator remediate this issue?
A. Users cannot access the system because the IP subnet mask is /24. The remediation for this issue is to set the IP subnet mask to /16.
B. Users cannot access the system because the DNS server has the incorrect IP address. The remediation for this issue is to edit the DNS configuration to point to the correct IP.
C. Users cannot access the system because the connectivity port is running on the incorrect IP. The remediation for this issue is to edit the configuration file to listen on all interfaces.
D. Users cannot access the system because the default gateway has the wrong interface. The remediation for this issue is to set the default gateway to the proper interface.
A systems administrator is attempting to access a server by SSH. The Linux administrator ensures that the SSH keys on the remote server were unable to connect. The following error message is being displayed:
Which of the following needs to be changed on order for the administrator to access the server via SSH?
A. Password
B. SSL
C. SELinux
D. OpenSSH
A server administrator is given the hash of an account password that needs to be synchronized across all servers.
Which of the following will allow the server administrator to configure the account password?
A. Edit the password file.
B. Use the usermod command.
C. Edit the shadow file.
D. Use the passwd command.
Which of the following server roles utilize a heartbeat/polling process? (Choose two.)
A. Proxy
B. Certificate authority
C. Logging
D. File server
E. Cluster
F. Load balancer
Which of the following server roles is MOST appropriate to route files to multifunction devices?
A. Proxy
B. Router
C. Print server
D. Web server
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your XK0-004 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.