IBM AIX Administrator study materials
IBM AIX Administrator study resources

IBM AIX Administrator practice questions

One question at a time. Build your IBM AIX Administrator understanding.

First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.

Continue in the practice tool above to load more questions, 50 at a time.

Question 1AIX 7.2 system administration (topics not enumerated in source)

On AIX 7.2, which command displays the current run level and the previous run level of the system?

  1. uname -r
  2. lslevel
  3. who -r Correct answer.
  4. getconf LEVEL

Explanation

The who -r command reads the utmp record for the current run level and prints the current run level along with the time it was entered and the previous run level. It is the standard way to confirm which init state the LPAR is in after a shutdown or telinit change.

Question 2AIX 7.2 system administration (topics not enumerated in source)

Which AIX file system type is the default for the rootvg file systems created during a 7.2 installation?

  1. jfs2 Correct answer.
  2. nfs
  3. cdrfs
  4. jfs

Explanation

AIX 7.2 creates enhanced journaled file systems (JFS2) by default for rootvg logical volumes, including /, /usr, /var and /home. JFS2 supports dynamic inode allocation and larger file and file system sizes than the legacy JFS.

Question 3AIX 7.2 system administration (topics not enumerated in source)

Which command changes the size of an existing JFS2 logical volume and file system in one step while the file system is mounted?

  1. mkfs -g 1G /data
  2. chlv -s +1G /data
  3. chfs -a size=+1G /data Correct answer.
  4. extendlv /data 1G

Explanation

chfs with the size attribute grows the underlying logical volume and the JFS2 file system together, and JFS2 supports this online. A relative value such as +1G adds to the current size rather than setting an absolute value.

Question 4AIX 7.2 system administration (topics not enumerated in source)

An administrator needs a logical volume to span two physical volumes in a volume group. Which characteristic must be set on the logical volume?

  1. Mirror write consistency enabled
  2. INTER-POLICY set to minimum
  3. MAX PPs per PV greater than the PP count on one disk Correct answer.
  4. PP size set to 64 MB

Explanation

A logical volume can only extend across physical volumes if its maximum PPs per physical volume limit is large enough that no single disk is treated as full. By default this value is often capped, preventing spanning. Inter-policy affects allocation placement, not the ability to span.

Question 5AIX 7.2 system administration (topics not enumerated in source)

Which AIX command reports the physical and logical volume layout, including which physical volumes back a given file system?

  1. df -k
  2. lspv Correct answer.
  3. lsfs
  4. mount

Explanation

lspv lists physical volumes and, with flags, shows the logical volumes and file systems residing on each. df reports space usage of mounted file systems but not the underlying disk mapping.

Question 6AIX 7.2 system administration (topics not enumerated in source)

What does the AIX error log entry with a class of 'S' typically indicate?

  1. A software or operating system error Correct answer.
  2. A network packet drop
  3. A hardware failure detected by a device driver
  4. An informational message about a login

Explanation

Error log classes categorize entries; class S denotes software errors, while class H denotes hardware errors. The errpt command displays these entries with their class so administrators can triage.

Question 7AIX 7.2 system administration (topics not enumerated in source)

Which command produces a detailed, formatted report of error log entries including probable cause and recommended actions?

  1. errclear
  2. errlogger
  3. errpt -a Correct answer.
  4. errdemon

Explanation

errpt -a prints the full detail record for each error, including the description, probable cause, and recommended action fields. The short form without -a gives only the summary line.

Question 8AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to check whether a mirrored rootvg volume is in sync. Which command shows the mirror copy state of logical partitions?

  1. lsvg -p rootvg
  2. lslv -m hdisk0 Correct answer.
  3. lqueryvg -p hdisk0
  4. lspv -l hdisk0

Explanation

lslv -m displays the logical partition to physical partition mapping, including the copies on each physical volume, so stale or missing mirror copies are visible. The other commands show volume group or physical volume membership without per-copy mirror state.

Question 9AIX 7.2 system administration (topics not enumerated in source)

Which file controls the order in which network interfaces are configured at boot on AIX 7.2?

  1. /etc/rc.net Correct answer.
  2. /etc/hosts
  3. /etc/inetd.conf
  4. /etc/resolv.conf

Explanation

The /etc/rc.net script runs at boot and configures network interfaces, routes, and related settings. Administrators can add interface definitions there or use smit tcpip to generate the entries.

Question 10AIX 7.2 system administration (topics not enumerated in source)

Which command displays the routing table on AIX 7.2?

  1. arp -a
  2. entstat -d ent0
  3. ifconfig -a
  4. netstat -rn Correct answer.

Explanation

netstat -rn prints the kernel routing table with numeric addresses, showing destination, gateway, and flags. ifconfig shows interface addresses but not routes, and arp shows the ARP cache.

Question 11AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to change the IP address of an existing interface without rebooting. Which command sequence accomplishes this on AIX 7.2?

  1. chdev -l en0 -a netaddr=newaddr
  2. smitty tcpip then reboot required
  3. rmdev -l en0 then mkdev -l en0
  4. ifconfig en0 down; ifconfig en0 newaddr up Correct answer.

Explanation

Bringing the interface down, assigning the new address with ifconfig, and bringing it back up changes the running address immediately. The change is not persistent unless it is also recorded in /etc/rc.net or via chdev.

Question 12AIX 7.2 system administration (topics not enumerated in source)

Which AIX subsystem manages user and group definitions stored in /etc/passwd and /etc/security/passwd?

  1. Workload Manager
  2. Error logging daemon
  3. Logical volume manager
  4. Security subsystem (users and groups) Correct answer.

Explanation

AIX user and group administration is handled by the security subsystem, with commands such as mkuser, chuser, and lsuser operating on the files under /etc/security. It centralizes authentication and account attributes.

Question 13AIX 7.2 system administration (topics not enumerated in source)

Which command creates a new user account with a specified primary group and home directory on AIX 7.2?

  1. lsuser -g staff jdoe
  2. useradd -g staff -d /home/jdoe jdoe
  3. adduser jdoe
  4. mkuser -g staff -d /home/jdoe jdoe Correct answer.

Explanation

mkuser is the native AIX command for creating users and accepts attributes such as -g for the primary group and -d for the home directory. It updates the security files consistently.

Question 14AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to restrict a user account so it expires on a specific date. Which attribute should be set?

  1. expires Correct answer.
  2. account_locked
  3. pwdwarntime
  4. maxage

Explanation

The expires attribute in /etc/security/user sets the date after which the account cannot log in. It can be set with chuser expires=MMDDhhmmyy or through smit.

Question 15AIX 7.2 system administration (topics not enumerated in source)

Which command lists all installed software packages on an AIX 7.2 system?

  1. lsdev -C
  2. lslpp -l Correct answer.
  3. lscfg -v
  4. lssrc -a

Explanation

lslpp -l lists installed software products and their state and version. It reads the software vital product database, which tracks filesets and packages.

Question 16AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to install a fileset from an installation image on the local DVD. Which command installs it without updating the software database incorrectly?

  1. installp -acgXd /dev/cd0 all Correct answer.
  2. installp -u all
  3. geninstall -u all
  4. lppchk -v

Explanation

installp -a applies software, -c commits it, -g includes prerequisites, -X expands file systems if needed, and -d names the device or directory. The all keyword installs the remaining filesets in the image.

Question 17AIX 7.2 system administration (topics not enumerated in source)

Which AIX facility is used to record a baseline of system configuration for comparison after a change?

  1. snap command Correct answer.
  2. lslpp -L
  3. instfix -i
  4. errpt -a

Explanation

The snap command gathers system configuration and diagnostic information into a compressed file that can be compared or sent to support. It captures many command outputs in one collection.

Question 18AIX 7.2 system administration (topics not enumerated in source)

Which command shows whether a particular APAR or fix is installed on an AIX system?

  1. errpt -t APAR_ID
  2. instfix -ik APAR_ID Correct answer.
  3. lslpp -l APAR_ID
  4. oslevel -s

Explanation

instfix -ik checks the fix database and reports whether a specified APAR or keyword is present. oslevel shows the maintenance level but not individual APAR presence.

Question 19AIX 7.2 system administration (topics not enumerated in source)

Which AIX command is used to change the boot list so the system boots from a specific disk?

  1. mklv -y boot hdisk0
  2. shutdown -r
  3. bosboot -a
  4. bootlist -m normal hdisk0 Correct answer.

Explanation

bootlist -m normal sets the normal-mode boot device order. bosboot creates the boot image, which must exist on the target disk for it to boot, but does not set the boot list.

Question 20AIX 7.2 system administration (topics not enumerated in source)

A system fails to boot and drops to a limited shell. Which file system is most likely not mounting correctly and should be checked first?

  1. /dev
  2. / (root) Correct answer.
  3. /proc
  4. /home

Explanation

If the root file system cannot be mounted or is corrupted, the boot process cannot continue to a full multiuser state. Checking rootvg and the / file system with fsck from a maintenance boot is the first step.

Question 21AIX 7.2 system administration (topics not enumerated in source)

Which command displays the current CPU and memory resource allocation settings for Workload Manager classes?

  1. lsclass
  2. lswlmcfg Correct answer.
  3. wlmstat
  4. lsrsrc

Explanation

lswlmcfg displays the active WLM configuration, including class definitions and their resource shares. wlmstat shows runtime statistics, not the configured allocation values.

Question 22AIX 7.2 system administration (topics not enumerated in source)

Which command shows the paging space usage and the logical volumes configured as paging space?

  1. vmstat -s
  2. svmon -G
  3. lsps -a Correct answer.
  4. lsvg -l rootvg

Explanation

lsps -a lists all paging logical volumes with size, used space, and active state. vmstat and svmon show memory and paging activity but not the paging space definitions.

Question 23AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to add a new paging space logical volume to rootvg. Which command creates it correctly?

  1. chps -s 64 hd6
  2. mkps -s 64 -a rootvg Correct answer.
  3. swapon /dev/lv00
  4. mklv -t paging rootvg 64

Explanation

mkps creates a paging logical volume with the requested number of logical partitions and activates it. mklv creates a raw logical volume but does not format or activate it as paging space.

Question 24AIX 7.2 system administration (topics not enumerated in source)

Which AIX command displays the current system date, time, and time zone?

  1. date Correct answer.
  2. ntpdate -q
  3. timedatectl
  4. hwclock

Explanation

The date command prints the current system date and time, including the configured time zone. AIX does not use timedatectl, which is a systemd utility found on other platforms.

Question 25AIX 7.2 system administration (topics not enumerated in source)

An administrator must schedule a script to run every weekday at 02:00. Which entry in the cron file accomplishes this?

  1. 0 2 * * * /usr/local/bin/job.sh
  2. 2 0 * * 1-5 /usr/local/bin/job.sh
  3. 0 2 * * 1-5 /usr/local/bin/job.sh Correct answer.
  4. 0 2 1-5 * * /usr/local/bin/job.sh

Explanation

The five fields are minute, hour, day of month, month, and day of week. Setting minute 0, hour 2, and day of week 1-5 runs the job at 02:00 Monday through Friday.

Question 26AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to verify which physical volumes make up a volume group and confirm each PV's state. Which command reports the physical volumes belonging to a volume group along with their allocation state?

  1. lspv -l hdisk3
  2. lspv -M hdisk3
  3. lsvg -l datavg
  4. lsvg -p datavg Correct answer.

Explanation

lsvg -p lists every physical volume in the named volume group together with its state (active, missing, removed) and total/free physical partitions, which is exactly the membership-and-state view required. The -l flag lists logical volumes instead, and lspv reports on a single disk rather than group membership.

Question 27AIX 7.2 system administration (topics not enumerated in source)

After extending a logical volume with extendlv, an administrator notices the file system size reported by df has not changed. Which action makes the added space usable by the JFS2 file system?

  1. Run chfs -a size=+<size> on the mounted file system Correct answer.
  2. Run syncvg on the volume group
  3. Run chlv -x on the logical volume
  4. Run redefinevg on the affected disk

Explanation

On AIX, growing the logical volume does not automatically grow a JFS2 file system; chfs with the size attribute (for example size=+1G) expands the file system into the new space, and it can be done online. The other commands manipulate volume group consistency or LV characteristics and never change file system size.

Question 28AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to see how many inodes are in use on a JFS2 file system and whether the file system is running out of them. Which command reports inode usage for mounted file systems?

  1. fsck -n
  2. istat
  3. df -i Correct answer.
  4. du -s

Explanation

df -i reports inode statistics (total, used, free, and percent used) for each mounted file system, which is the direct way to detect inode exhaustion on JFS2. du measures space consumed by directory trees, istat describes a single file's inode, and fsck checks consistency rather than usage.

Question 29AIX 7.2 system administration (topics not enumerated in source)

A file system must be created on a new logical volume and mounted automatically at boot. Which sequence accomplishes this on AIX 7.2?

  1. crlv -v jfs2 -m /data, then mount -a
  2. mkfs -t jfs2 /dev/lv01, then edit /etc/fstab manually
  3. crfs -v jfs2 -d /dev/lv01 -m /data -A yes, then mount /data Correct answer.
  4. chfs -a size=1G /data, then mount /data

Explanation

crfs creates the file system on an existing logical volume, sets the mount point, and with -A yes records it in /etc/filesystems so it mounts at boot; a subsequent mount activates it now. AIX maintains /etc/filesystems rather than /etc/fstab, and the other commands either create the wrong object or assume the file system already exists.

Question 30AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to confirm the AIX release and technology level (TL) installed on a running system. Which command reports the operating system level including TL and service pack?

  1. lslpp -l bos.rte
  2. oslevel -s Correct answer.
  3. uname -p
  4. instfix -i

Explanation

oslevel -s prints the full maintenance level, for example 7200-05-01-2144, encoding version, release, TL, and service pack. uname -p reports processor type, lslpp lists fileset levels, and instfix reports fix installation status, none of which gives the consolidated OS level.

Question 31AIX 7.2 system administration (topics not enumerated in source)

Before applying a TL upgrade, an administrator wants to confirm which filesets would be updated. Which command previews an install from a software source without committing changes?

  1. installp -apXd /dev/cd0 all Correct answer.
  2. installp -u all
  3. smitty nim
  4. lppchk -v

Explanation

installp with -p performs a preview, -a applies, -X expands file systems as needed, and -d names the device or directory source, so combining them previews the update set. The -u flag removes software, lppchk verifies consistency, and smitty nim manages NIM resources rather than previewing a local install.

Question 32AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to determine which fileset owns a particular file on the system. Which command performs this lookup?

  1. lppchk -c /usr/bin/foo
  2. rpm -qf /usr/bin/foo
  3. whichfileset -a /usr/bin/foo
  4. lslpp -w /usr/bin/foo Correct answer.

Explanation

lslpp -w reports which fileset owns a specified file according to the install inventory, and lslpp -f lists the files of a fileset. lppchk verifies consistency, rpm handles RPM packages rather than AIX installp filesets, and whichfileset is not an AIX command.

Question 33AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to roll back a recently applied update to a fileset. Which condition must be true for installp to perform the rollback?

  1. The system was rebooted after the update
  2. The fileset was installed from a NIM resource rather than a local device
  3. The update was committed with COMMIT during installation
  4. The update was applied with the APPLY option and the previous version is still saved Correct answer.

Explanation

installp can reject (roll back) an update only if the software was applied rather than committed, because committing removes the saved previous version. Rebooting or the install source does not affect rollback capability; only the apply/commit decision and retained previous level matter.

Question 34AIX 7.2 system administration (topics not enumerated in source)

An administrator must add a second network interface to an existing AIX system and have it configured at boot. Which command creates the interface definition in the ODM and configures it immediately?

  1. ifconfig en1 10.1.1.5 netmask 255.255.255.0 up
  2. chnamsv -a hostname=host2
  3. mkdev -c if -s EN -t en -a netaddr=10.1.1.5 -a netmask=255.255.255.0 -a state=up Correct answer.
  4. smitty tcpip

Explanation

mkdev with class if builds the interface device definition in the ODM, which persists across reboots, and the state=up attribute configures it at once. ifconfig alone changes only the running state, smitty tcpip is a menu path rather than a command, and chnamsv edits network services entries.

Question 35AIX 7.2 system administration (topics not enumerated in source)

An administrator suspects a duplicate IP address on the LAN. Which command on AIX 7.2 sends an ARP request to check whether an address is already in use?

  1. arping 10.1.1.20 Correct answer.
  2. ping -c 1 10.1.1.20
  3. netstat -rn
  4. entstat -d en0

Explanation

arping issues an ARP request for the target address and reports a reply, which reveals a host already claiming that IP even if ICMP is filtered. ping tests reachability at the IP layer, netstat -rn shows routes, and entstat displays adapter statistics.

Question 36AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to verify which NFS file systems are currently mounted on a client. Which command lists active NFS mounts with their server and mount options?

  1. nfsstat -m
  2. showmount -e
  3. mount -v | grep nfs Correct answer.
  4. exportfs

Explanation

mount -v lists mounted file systems with verbose details including the NFS server and options, and filtering for nfs isolates remote mounts. showmount -e queries a server's exports, exportfs manages server-side exports, and nfsstat -m shows NFS mount statistics rather than a clean mount list.

Question 37AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to export a directory read-only to a specific subnet via NFS. Which file and entry accomplish this?

  1. /etc/filesystems with an entry mounting /data read-only
  2. /etc/networks with a network definition for 10.1.1.0
  3. /etc/hosts with a host entry for the subnet
  4. /etc/exports with an entry such as /data -ro -sec=sys:10.1.1.0/24 Correct answer.

Explanation

On AIX the NFS server export list is /etc/exports, where each line names the directory and the clients or networks plus options such as -ro. /etc/filesystems controls local mounts, and /etc/hosts and /etc/networks supply name resolution data only.

Question 38AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to confirm whether a user's password has expired and when the account was last used. Which command displays password and account aging attributes for a specific user?

  1. passwd -s username
  2. pwdck -y username
  3. lssec -c password username
  4. lsuser -a pwdadm account_locked lastupdate username Correct answer.

Explanation

lsuser with selected attributes reads the user database and reports values such as lastupdate and account lock state for the named user. passwd -s is not the AIX way to inspect aging, pwdck verifies password consistency in bulk, and lssec reads the security stanza but requires a different attribute set to give the same picture.

Question 39AIX 7.2 system administration (topics not enumerated in source)

An administrator wants all members of a project team to share files in a directory with group ownership preserved regardless of who creates a file. Which setting achieves this?

  1. Set the directory permissions to 0777 with chmod
  2. Set the setuid bit on the directory with chmod u+s
  3. Set the sticky bit on the directory with chmod +t
  4. Set the setgid bit on the directory with chmod g+s Correct answer.

Explanation

On a directory, the setgid bit causes newly created files and subdirectories to inherit the directory's group, which keeps shared project files accessible to the whole group. The sticky bit only restricts deletion, setuid on a directory has no such inheritance effect, and 0777 grants broad access without controlling group ownership.

Question 40AIX 7.2 system administration (topics not enumerated in source)

An administrator must confirm the current runlevel of an AIX system and which processes are defined for that level. Which file defines the processes started and stopped at each runlevel?

  1. /etc/rc.tcpip
  2. /etc/environment
  3. /etc/profile
  4. /etc/inittab Correct answer.

Explanation

/etc/inittab is the master configuration that the init process reads; each entry specifies a runlevel and the action to take, so it defines what starts and stops per level. /etc/rc.tcpip is a script invoked from inittab, and the environment and profile files set shell variables for logins.

Question 41AIX 7.2 system administration (topics not enumerated in source)

A system is being repurposed and the administrator must remove all customizations from a device configuration. Which command removes a device definition from the ODM without deleting associated data?

  1. rmdev -l en1
  2. cfgdev -a en1
  3. rmdev -dl en1 Correct answer.
  4. lsdev -Cc adapter

Explanation

rmdev -d deletes the device definition and -l marks the device defined rather than available, so rmdev -dl removes the definition entirely. lsdev only lists devices, and cfgdev configures newly found devices rather than removing them.

Question 42AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to check the health of a disk that may be developing media errors. Which command displays error statistics recorded against a specific disk in the error log?

  1. diag -a
  2. lsdev -Cc disk
  3. lspv hdisk3
  4. errpt -a -j <error-id> Correct answer.

Explanation

errpt with -a gives detailed error log entries and -j filters by error identifier, letting the administrator read the recorded failure data for the disk. lsdev lists devices, diag -a runs diagnostics in a limited mode, and lspv shows physical volume attributes rather than error history.

Question 43AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to capture a snapshot of system configuration that can be compared after a change. Which AIX facility records this baseline?

  1. The errdemon daemon
  2. The cron daemon
  3. The AIX Health Checker inventory or a saved lparstat/lsattr dump compared later Correct answer.
  4. The syslogd facility

Explanation

A configuration baseline is captured by recording the relevant command output or using the system inventory facility, then comparing it with a later capture to spot drift. errdemon collects error log entries, syslogd handles message logging, and cron schedules jobs, none of which by itself compares configurations.

Question 44AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to see the current CPU entitlement and virtual processor settings of a running LPAR. Which command reports these partition resource values?

  1. vmstat 1 5
  2. lparstat -i Correct answer.
  3. lsattr -El sys0
  4. mpstat -d

Explanation

lparstat -i displays the partition's configuration, including entitled capacity, virtual processors, and memory, which is the direct source for these values. lsattr on sys0 shows system attributes, while vmstat and mpstat report runtime performance counters rather than configured entitlement.

Question 45AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to limit how much physical memory a workload partition can consume. Which AIX feature enforces memory limits on a workload partition?

  1. The vmtune command
  2. The ulimit -v setting in /etc/profile
  3. The nice command applied to WPAR processes
  4. Workload Manager with a memory resource set on the WPAR class Correct answer.

Explanation

WLM classes, including the WPAR class, can carry memory resource limits that the kernel enforces for the workload partition. nice adjusts CPU scheduling priority, ulimit -v limits a process's address space rather than partition memory, and vmtune is a legacy tuning command that does not set per-WPAR limits.

Question 46AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to back up a volume group's structure so it can be recreated later. Which command saves the volume group metadata to a file?

  1. backupvg -d /backup datavg
  2. savevg -f /backup/datavg.vg datavg Correct answer.
  3. mksysb -f /backup/rootvg.mksysb
  4. tar -cvf /backup/datavg.tar /dev

Explanation

savevg captures a volume group's structure and file systems into a backup image that restvg can later recreate. mksysb backs up the root volume group as a bootable image, tar archives files, and backupvg is not an AIX command.

Question 47AIX 7.2 system administration (topics not enumerated in source)

An administrator needs to restore a single file from a mksysb image without restoring the entire system. Which approach works on AIX 7.2?

  1. Use restvg to extract the file
  2. Mount the image with mount -o loop and copy the file
  3. List the image with listvgbackup -f and restore the file with restorevgfiles Correct answer.
  4. Run mksysb -r to restore interactively

Explanation

listvgbackup lists the contents of a mksysb or savevg image, and restorevgfiles extracts selected paths from it, allowing a single-file recovery. mksysb creates images rather than restoring them, loop mounting is a Linux technique not used for AIX backup images, and restvg recreates whole volume groups.

Question 48AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to confirm that a scheduled job ran and see any output it produced. Which location typically holds cron job output when no redirection is specified?

  1. Mail for the user who owns the crontab entry Correct answer.
  2. The /etc/cron.d output directory
  3. The /var/adm/cron/log file only
  4. The system error log via errpt

Explanation

By default cron mails any output from a job to the user who owns the crontab entry, so checking that user's mail reveals job output. The cron log records job start and end events but not program output, and errpt and /etc/cron.d do not collect job stdout.

Question 49AIX 7.2 system administration (topics not enumerated in source)

An administrator is troubleshooting a hung process and needs to know which system call it is blocked in. Which tool provides this information on AIX?

  1. topas -P
  2. procstack or the trace facility on the process Correct answer.
  3. vmstat -s
  4. lslpp -w

Explanation

procstack shows the call stack of a process, and the trace facility can record system calls, both of which reveal where a process is blocked. topas summarizes performance, lslpp queries software ownership, and vmstat -s prints cumulative system statistics.

Question 50AIX 7.2 system administration (topics not enumerated in source)

An administrator wants to add swap capacity by creating a new paging space logical volume in a non-root volume group and activating it immediately. Which command creates and activates the paging space?

  1. swapon -a
  2. mklv -t paging -y paging00 datavg 64, then swapon /dev/paging00 Correct answer.
  3. mkps -a paging00 datavg
  4. chps -s 64 paging00

Explanation

mklv with type paging creates the logical volume, and swapon activates it as paging space without a reboot. mkps is an SMIT-assisted path rather than a standalone command, swapon -a activates all defined paging spaces, and chps resizes an existing paging space.