Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← EX200 Practice Hub

EX200 • Practice Test 11

EX200 Practice Test 11 — 15 Questions

Free EX200 practice test — 15 questions with explanations. Set 11. No signup required.

15
Questions
Free
No signup
Certifications/EX200/Practice Test/Set 11
Question 1 of 150 answered
medium

You are tasked with creating a script that reads a list of usernames from /tmp/users.txt, one per line, and creates a home directory for each user using `mkdir /home/$username`. The script is:

#!/bin/bash

while read username; do

mkdir /home/$username done < /tmp/users.txt

However, the script fails for usernames that contain spaces (e.g., 'john smith'). The error is 'mkdir: cannot create directory '/home/john': File exists' and then a separate directory for 'smith'. What is the best fix?

Scored session

Track progress, bookmark weak spots, and get readiness analysis.

Start full session

Practice tests

Scored 10-question sessions with instant feedback and explanations.

EX200 Practice Test 1 — 10 Questions→EX200 Practice Test 2 — 10 Questions→EX200 Practice Test 3 — 10 Questions→EX200 Practice Test 4 — 10 Questions→EX200 Practice Test 5 — 10 Questions→EX200 Practice Exam 1 — 20 Questions→EX200 Practice Exam 2 — 20 Questions→EX200 Practice Exam 3 — 20 Questions→EX200 Practice Exam 4 — 20 Questions→Free EX200 Practice Test 1 — 30 Questions→Free EX200 Practice Test 2 — 30 Questions→Free EX200 Practice Test 3 — 30 Questions→EX200 Practice Questions 1 — 50 Questions→EX200 Practice Questions 2 — 50 Questions→EX200 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Operate running systemsConfigure local storageCreate and configure file systemsDeploy, configure, and maintain systemsManage users and groupsManage securityManage containersCreate simple shell scriptsEssential Tools

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

EX200 Practice HubOperate running systemsConfigure local storageCreate and configure file systemsDeploy, configure, and maintain systems