CompTIA Server+ SK0-005 Practice Question
During an automated post-installation script for a new Linux file server, a systems administrator adds the following Bash segment:
mount_points=(/data /archive /logs)
for d in "${mount_points[@]}"; do
chmod 750 "$d"
done
Assuming no prior declarations or options, which basic data type does the variable mount_points
hold immediately after the first line executes?
A single string containing three space-separated paths
An indexed array containing three strings
An associative array keyed by directory name
A numeric scalar (integer) that will be auto-incremented