[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-310865-105":59,"doc-detail-310865-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","xk0-005-practice-questions-linux-administration","XK0-005 - Practice Questions - Linux Administration","","XK0-005 practice questions for Linux administration topics, focused on command selection and correct configuration behavior. Scenarios cover SSH root access troubleshooting with permission denied errors, LVM storage expansion workflow using the right first command, time correction for a fast system clock, and firewall rules for temporarily allowing internal DNS plus HTTP/HTTPS traffic. Additional questions address Linux user password and permission issues, Ansible directory ownership changes, process termination with forced signals, counting files via command pipelines, and adding users to groups. Includes an SSH public key authentication concept question.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/xk0-005-practice-questions-linux-administration/310865/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/xk0-005-practice-questions-linux-administration/310865.png","ImageObject",300,407,{"name":92,"@type":93},"Margaret","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-21","2026-09-20",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Which SSH-related fix most likely enables a root user to log in over SSH after a Permission denied error?","Question",{"text":112,"@type":113},"Use the option D, enabling root login over SSH using a key to log in as root, after reviewing the SSH service configuration output.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is the first command to run to add a new disk to LVM storage expansion?",{"text":117,"@type":113},"Run pvcreate first (option C) to initialize the new disk as a physical volume for LVM.",{"name":119,"@type":110,"acceptedAnswer":120},"What command corrects a Linux system clock that is 37 minutes fast?",{"text":121,"@type":113},"Use timedatectl (option C) to fix the clock issue based on the provided multiple-choice options.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},310865,1789997518,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":4},137451207643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Free Questions for XK0-005  \nShared by Patrick on 02-09-2025  \nFor More Free Questions and Preparation Resources  \nCheck the Links on Last Page  \nQuestion 1  \nQuestion Type: MultipleChoice  \nA Linux administrator attempts to log in to a server over SSH as root and receives the following error message: Permission denied, please try again. The administrator is able to log in to the console of the server directly with root and conﬁrms the password is correct. The administrator reviews the conﬁguration of the SSH service and gets the following output:  \nA- Log out other user sessions because only one is allowed at a time. B- Enable PAM and conﬁgure the SSH module.  \nC- Modify the SSH port to use 2222.  \nD-Use a key to log in as root over SSH.  \nAnswer:  \nBased on the above output, which of the following will most likely allow the administrator to log in over SSH to the server?  \nOptions:  \nD  \nQuestion 2  \nQuestion Type: MultipleChoice  \nAn administrator added a new disk to expand the current storage. Which of the following commands should the administrator run ﬁrst to add the new disk to the LVM?  \nOptions:  \nA-vgextend B- lvextend C- pvcreate  \nD- pvresize  \nAnswer:  \n\n| C\u003Cbr>Question 3 |\n| --- |\n| Question Type: MultipleChoice |\n| An administrator logs in to a Linux server and notices the clock is 37 minutes fast. Which of the following commands will ﬁx the issue?\u003Cbr>Options: |\n| A- hwclock B- ntpdate C-timedatectl D- ntpd-q\u003Cbr>Answer: |\n| B\u003Cbr>Question 4 |\n| Question Type: MultipleChoice |\n| A Linux administrator is testing a web application on a laboratory service and needs to temporarily allow DNS and [HTTP/](HTTP/) [HTTPS](HTTPS) traﬃc from the internal network. Which of the following commands will accomplish this task?\u003Cbr>Options: |\n\nA- ﬁrewalld--add-service=dns, [http](http), [https--zone=internal](https--zone=internal)  \nB- iptables--enable-service='dns|[http|](http|) [https](https)' --zone=internal  \nC- ﬁrewall-cmd--add-service={dns, [http](http), [https} --zone=internal](https} --zone=internal)[ ](https} --zone=internal)D-systemctl mask ﬁrewalld--for={dns, [http](http), [https} --zone=internal](https} --zone=internal)  \nAnswer:  \n\n| C\u003Cbr>Question 5 |\n| --- |\n| Question Type: MultipleChoice |\n| An administrator set up a new user account called \"test\". However, the user is unable to change their password. Given the following output:\u003Cbr>\u003Cbr>Which of the following is the most likely cause of this issue?\u003Cbr>Options: |\n\nA-The SUID bit is missing on the /bin/passwd ﬁle.  \nB-The password provided by the user 'test' does not meet complexity requirements. C-The user 'test' already changed the password today.  \nD-The password has been disabled for user 'test'.  \nAnswer:  \nQuestion 6  \nQuestion Type: MultipleChoice  \nA Linux administrator tries to install Ansible in a Linux environment. One of the steps is to change the owner and the group of the directory /opt/Ansible and its contents. Which of the following commands will accomplish this task?  \nOptions:  \nB  \nQuestion 7  \nA-groupmod-g Ansible-n /opt/Ansible B-chown-R Ansible:Ansible /opt/Ansible C-usermod-aG Ansible /opt/Ansible D-chmod-c /opt/Ansible  \nAnswer:  \nQuestion Type: MultipleChoice  \nUser1 reports \"access denied\" errors while trying to execute app. Given the following outputs:  \nWhich of the following options will remediate this issue?  \nOptions:  \nA- Providing execute permissions to user1 in the ACL  \nB- Modifying the permissions for others to grant read, write, and execute C-Adding user1 to the wheel group  \nD- Moving app to a diﬀerent folder  \nAnswer:  \n\n| A\u003Cbr>Question 8 |\n| --- |\n| Question Type: MultipleChoice |\n| An administrator is trying to terminate a process that is not responding. Which of the following commands should the administrator use in order to force the termination of the process?\u003Cbr>Options: |\n| A- kill PID\u003Cbr>B- kill-1 PIDC- kill-9 PIDD- kill-15 PID\u003Cbr>Answer: |\n| C\u003Cbr>Question 9 |\n| Question Type: MultipleChoice |\n| A systems administrator is w","cbCaiiYqGdcVcdHs","https://ap.wps.com/l/cbCaiiYqGdcVcdHs","pdf",414414,"English","# Question 1\n# Question 2\n# Question 3\n# Question 4\n# Question 5\n# Question 6\n# Question 7\n# Question 8\n# Question 9\n# Question 10\n# Question 11","[{\"question\":\"Which SSH-related fix most likely enables a root user to log in over SSH after a Permission denied error?\",\"answer\":\"Use the option D, enabling root login over SSH using a key to log in as root, after reviewing the SSH service configuration output.\"},{\"question\":\"What is the first command to run to add a new disk to LVM storage expansion?\",\"answer\":\"Run pvcreate first (option C) to initialize the new disk as a physical volume for LVM.\"},{\"question\":\"What command corrects a Linux system clock that is 37 minutes fast?\",\"answer\":\"Use timedatectl (option C) to fix the clock issue based on the provided multiple-choice options.\"}]","XK0-005 - Practice Questions - Linux Administration | PDF",1789891047,23]