nerdexam
Oracle

1Z0-820 · Question #22

The core dump configuration in your non global zone is A user is running a process in a non-global zone (testzone) and the process crashes. The process information is: user1 2663 2618 0 17:46:42…

The correct answer is E. The file will be saved in non-global zone's directory: /var/core/core.bash.2663. Option E is correct because in Oracle Solaris, a non-global zone has its own filesystem namespace, so core dumps generated by processes running within that zone are written to paths inside the zone - /var/core/ in the zone's root - not the global zone's filesystem. The default…

Analyzing and Troubleshooting System Problems

Question

The core dump configuration in your non global zone is A user is running a process in a non-global zone (testzone) and the process crashes. The process information is:

user1 2663 2618 0 17:46:42 pts/2 0:00 /usr/bin/bash When the user's process crashes in testzone, a non-global zone, where will the core dump be saved?

Exhibit

1Z0-820 question #22 exhibit

Options

  • AThe file will be stored in the non-global zone's directory: /var/core/pprocess/core.hash.2663.
  • BThe file will be saved in the global zone's directory: /var/core/core.bash.2663.
  • CA core file cannot be generated in a non-global zone because it shares the kernel with the global zone.
  • DThe file will be stored in the global zone's directory: /var/core/pprocess/core.bash.2663.
  • EThe file will be saved in non-global zone's directory: /var/core/core.bash.2663

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • D
    4% (1)
  • E
    79% (19)

Explanation

Option E is correct because in Oracle Solaris, a non-global zone has its own filesystem namespace, so core dumps generated by processes running within that zone are written to paths inside the zone - /var/core/ in the zone's root - not the global zone's filesystem. The default coreadm naming pattern for per-process core files is core.%f.%p, where %f is the executable name (bash) and %p is the PID (2663), producing core.bash.2663.

Why the distractors fail:

  • A & D invent a pprocess subdirectory and use hash in the filename - neither is a standard Solaris coreadm pattern.
  • B correctly identifies the naming convention but wrongly places the file in the global zone; zone isolation keeps the file inside testzone.
  • C is a plausible-sounding trap - zones do share the kernel, but that does not prevent core file generation; the zone has its own file namespace and processes can absolutely dump core.
  • D doubles down on both errors: wrong zone and wrong path format.

Memory tip: Think "what happens in the zone, stays in the zone." A non-global zone is a virtualized container with its own filesystem view, so all process artifacts - including core dumps - are confined to that zone's directory tree, following the same coreadm naming rules (core.<name>.<pid>) as anywhere else in Solaris.

Topics

#non-global zones#core dumps#process crashes#zone filesystem

Community Discussion

No community discussion yet for this question.

Full 1Z0-820 Practice