Which of the following would allow remote users to access a corporate server? (Choose two.)
A. VPN server
B. SMTP server
C. NTP server
D. SSH server
E. DHCP server
F. File server
A Linux administrator attempts to install the package newprogram.x86_64.rpm using a package manager. The administrator receives a warning indicating the command that was run was using a deprecated package manager. Which of the following commands should the administrator use to avoid the warning and install the newprogram.x86_64.rpm program?
A. # dnf install newprogram.x86_64.rpm
B. # rpm -e newprogram.x86_64.rpm
C. # dpkg -i newprogram.x86_64.rpm
D. # apt-get install newprogram.x86_64.rpm
A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked. Which of the following rules should be added in the firewall to allow this type of connection?
A. firewall-cmd --zone=public --add-port=443/tcp --permanent
B. firewall-cmd --zone=internal --add-port=80/tcp --permanent
C. firewall-cmd --zone=public --add-port=80/tcp --permanent
D. firewall-cmd --zone=internal --add-port=443/tcp --permanent
A Linux administrator is updating iptables rules and is given the following tasks:
1.
Output a list of iptables rules.
2.
Remove all iptables rules.
Which of the following actions should be performed from the terminal console to accomplish these tasks? (Choose two.)
A. iptables -F
B. iptables -L
C. iptables -I
D. iptables -C
E. iptables -A
F. iptables -N
A junior Linux administrator is performing version control on a Git repository. The administrator is given a list of tasks to complete:
1.
List the currently installed Git release.
2.
Show the status reporting of the clone.
Which of the following commands would allow the administrator to complete these tasks? (Choose two.)
A. git clone --progress
B. git clone --recursive
C. git --help
D. git clone --dissociate
E. git --version
F. git clone --shared
Which of the following commands will let a Linux user know the PCI devices that are installed in the system?
A. cat /proc/devices/pci
B. lspci
C. lsdev D. cat /proc/sys/dev
An administrator needs to create a file named hello in the home directory that contains the following text:
it's me!
Which of the following commands would accomplish this goal?
A. mkdir ~/hello touch ~/"it's me!"
B. touch ~/hello echo "it's me!" > ~/hello
C. mv ~/hello cp "it's me!" > ~/hello
D. type ~/hello print "it's me!"
A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command:
echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results? (Choose two.)
A. tcpdump
B. traceroute
C. route
D. iperf
E. ip
F. arp
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?
A. systemctl service on
B. systemctl enable
C. systemctl service enable
D. systemctl on
An administrator is reviewing updates in the master online Git repository and notices a file named .htaccess. The file contains passwords and should only be in the administrator's local repository, not the online one. Which of the following would prevent this file from appearing online in the future?
A. git commit -m "File Update" -x .htaccess
B. sed -i 's/#Preserve Hidden=True/Preserve Hidden=True/g' .git/config
C. chown nobody:nodoby .htaccess
D. echo ".htaccess" >> .gitignore
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.