SELF TEST

The following questions will help measure your understanding of the material presented in this chapter.

Understanding Core Files

1. Which two tools can you use to read the segment map of a process or core file?

A. pstack

B. mdb

C. pmap

D. gproc

2. Which of the following segment types is backed by a file?

A. anon

B. heap

C. text

D. stack

3. How does a program normally induce a segmentation fault?

A. By executing an instruction the CPU doesn’t support

B. By accessing an unpopulated area of the program map

C. By executing an instruction in the wrong part of the map

D. By linking in the wrong segment with the dynamic linker

Generating Core Files

4. Which of the following is not an embedded variable supplied by the coreadm utility?

A. %m, ...

Get OCA Oracle Solaris 11 System Administration Exam Guide (Exam 1Z0-821) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.