Question 110
A user has many windows and wants an overview of open applications and desktops. Which macOS interface feature helps?
- Finder
- Keychain Access
- Mission Control
- FileVault
Explanation
Correct Answer
C:Mission Control gives a visual overview of open windows and spaces. It organizes workspace navigation rather than terminating unresponsive programs.
Incorrect Answers
A:Finder provides file and folder navigation, copy, and organization in macOS; these are separate tasks: navigating the macOS filesystem graphically is not the same as navigating multiple Mac windows and desktops.
B:Keychain stores passwords, certificates, and credentials for supported macOS applications; that could address inspecting stored Mac authentication credentials, but it would leave the need to navigate multiple Mac windows and desktops unresolved.
D:FileVault provides full-volume encryption for supported macOS startup storage; that could address encrypting data at rest on a Mac laptop, but it would leave the need to navigate multiple Mac windows and desktops unresolved.
Question 111
An application stops responding on a Mac and refuses to close normally. Which user-facing command can terminate it?
- .app application bundle
- .dmg disk image
- Force Quit
- Spotlight search
Explanation
Correct Answer
C:Force Quit ends a hung application without needing a normal close response. Unsaved work in that app may be lost.
Incorrect Answers
A:The APP bundle encapsulates a macOS application's executable and resources; the requirement is to terminate a nonresponsive Mac application; this alternative is primarily used to launch a standalone Mac application bundle.
B:A DMG contains a mountable disk image often used to distribute Mac applications; for terminating a nonresponsive Mac application, Force Quit addresses the stated need; .dmg disk image instead targets mounting a downloaded Mac application image.
D:Spotlight indexes searchable content and launches matching apps or files; to terminate a nonresponsive Mac application, the relevant control is Force Quit; this option addresses finding files and applications through macOS search.
Question 112
A technician needs to browse the Mac's /Users directory and move files between folders with a graphical interface. Which application should be used?
- Finder
- Mission Control
- .dmg disk image
- FileVault
Explanation
Correct Answer
A:Finder provides file and folder navigation, copy, and organization in macOS. It is not the disk-encryption control.
Incorrect Answers
B:Mission Control gives a visual overview of open windows and spaces; to navigate the macOS filesystem graphically, the relevant control is Finder; this option addresses navigating multiple Mac windows and desktops.
C:A DMG contains a mountable disk image often used to distribute Mac applications; the case demands navigating the macOS filesystem graphically, not mounting a downloaded Mac application image.
D:FileVault provides full-volume encryption for supported macOS startup storage; to navigate the macOS filesystem graphically, the relevant control is Finder; this option addresses encrypting data at rest on a Mac laptop.
Question 113
A technician wants the names of files in the current Linux directory. Which shell command should they enter?
- find
- ls
- pwd
- sudo
Explanation
Correct Answer
B:The ls command lists directory entries and supports flags for details and hidden files. It does not itself change the current directory.
Incorrect Answers
A:Find traverses directory trees and selects entries by names, types, or other attributes; ls fulfills the requirement to display Linux directory entries; this selection pertains to locating filenames recursively in Linux.
C:Pwd prints the present working directory's path; the requirement is to display Linux directory entries; this alternative is primarily used to show the current Linux working directory.
D:Sudo runs authorized commands with elevated privileges based on policy; that could address elevating one authorized Linux command, but it would leave the need to display Linux directory entries unresolved.
Question 114
A shell script must report the absolute path of its current working folder. Which Linux command supplies it?
- pwd
- ls
- du -sh
- df -h
Explanation
Correct Answer
A:Pwd prints the present working directory's path. It does not inspect filesystem free space or display process status.
Incorrect Answers
B:The ls command lists directory entries and supports flags for details and hidden files; pwd fulfills the requirement to show the current Linux working directory; this selection pertains to displaying Linux directory entries.
C:Du estimates the size of files or a directory tree; to show the current Linux working directory, the relevant control is pwd; this option addresses estimating storage used by a Linux folder tree.
D:Df shows available and used space for mounted filesystems, with human-readable units using -h; this technique can help to check free space for mounted Linux filesystems, but it does not directly show the current Linux working directory.
Question 115
A log file is large and support must locate lines containing a particular error string. Which utility is suitable?
- find
- grep
- du -sh
- apt
Explanation
Correct Answer
B:Grep searches text for matching patterns and can filter log lines. Its search scope differs from locating files by filename.
Incorrect Answers
A:Find traverses directory trees and selects entries by names, types, or other attributes; although suited to locating filenames recursively in Linux, it is not sufficient for filtering log text by a matching pattern.
C:Du estimates the size of files or a directory tree; du -sh is used to estimate storage used by a Linux folder tree, whereas the case calls for filtering log text by a matching pattern.
D:Apt manages packages and dependencies on Debian-family systems; although suited to installing a repository package on Debian-based Linux, it is not sufficient for filtering log text by a matching pattern.
Question 116
An administrator wants to locate all files named config.yaml under a project tree. Which command fits?
- grep
- ls
- find
- chown
Explanation
Correct Answer
C:Find traverses directory trees and selects entries by names, types, or other attributes. Unlike grep, it searches filesystem objects rather than matching text lines.
Incorrect Answers
A:Grep searches text for matching patterns and can filter log lines; the requirement is to locate filenames recursively in Linux; this alternative is primarily used to filter log text by a matching pattern.
B:The ls command lists directory entries and supports flags for details and hidden files; although suited to displaying Linux directory entries, it is not sufficient for locating filenames recursively in Linux.
D:Chown changes ownership of supported filesystem objects; that is useful for reassigning Linux file ownership; the reported task instead calls for locating filenames recursively in Linux.
Question 117
A Linux web script needs the owner to execute it without giving everyone write access. Which command changes mode bits?
- chown
- sudo
- chmod
- ps aux
Explanation
Correct Answer
C:Chmod changes file permission bits such as owner execute and group write. Ownership changes require a different utility.
Incorrect Answers
A:Chown changes ownership of supported filesystem objects; these are separate tasks: reassigning Linux file ownership is not the same as adjusting file execute and write permissions.
B:Sudo runs authorized commands with elevated privileges based on policy; that is useful for elevating one authorized Linux command; the reported task instead calls for adjusting file execute and write permissions.
D:Ps can list processes in a static snapshot and include users, PIDs, and resource details; to adjust file execute and write permissions, the relevant control is chmod; this option addresses capturing a Linux process listing.
Question 118
A migrated file is owned by root but should belong to the deployment service account. Which command changes the owner?
- chmod
- find
- chown
- df -h
Explanation
Correct Answer
C:Chown changes ownership of supported filesystem objects. It does not merely toggle read or execute permission bits.
Incorrect Answers
A:Chmod changes file permission bits such as owner execute and group write; this option serves adjusting file execute and write permissions rather than reassigning Linux file ownership.
B:Find traverses directory trees and selects entries by names, types, or other attributes; although suited to locating filenames recursively in Linux, it is not sufficient for reassigning Linux file ownership.
D:Df shows available and used space for mounted filesystems, with human-readable units using -h; the requirement is to reassign Linux file ownership; this alternative is primarily used to check free space for mounted Linux filesystems.
Question 119
A Debian-based desktop must install an application from configured distribution repositories. Which package tool applies?
- dnf
- apt
- top
- sudo
Explanation
Correct Answer
B:Apt manages packages and dependencies on Debian-family systems. It uses configured repositories and should be run with authorized privileges.
Incorrect Answers
A:Dnf handles package transactions on Fedora and related distributions; this technique can help to update packages on Fedora Linux, but it does not directly install a repository package on Debian-based Linux.
C:Top continually displays processes and system resource use; to install a repository package on Debian-based Linux, the relevant control is apt; this option addresses observing changing Linux process resource usage.
D:Sudo runs authorized commands with elevated privileges based on policy; the evidence favors apt for installing a repository package on Debian-based Linux, rather than applying sudo to elevate one authorized Linux command.
Question 120
A Fedora workstation needs a managed package update from its repositories. Which package manager is expected?
- dnf
- apt
- pwd
- df -h
Explanation
Correct Answer
A:Dnf handles package transactions on Fedora and related distributions. It is distinct from Debian's apt command family.
Incorrect Answers
B:Apt manages packages and dependencies on Debian-family systems; the evidence favors dnf for updating packages on Fedora Linux, rather than applying apt to install a repository package on Debian-based Linux.
C:Pwd prints the present working directory's path; pwd is used to show the current Linux working directory, whereas the case calls for updating packages on Fedora Linux.
D:Df shows available and used space for mounted filesystems, with human-readable units using -h; the reported need is to update packages on Fedora Linux; df -h is oriented toward checking free space for mounted Linux filesystems.