nerdexam
Oracle

1Z0-580 · Question #80

A developer wants to use DTrace in a zone to examine the kernel. What are his options?

The correct answer is C. By using dtrace_proc and dtrace_user privileges he can examine his own code, but not the. How to Use DTrace in a Non-global Zone 1. Use the zonecfg limitpriv property to add the dtrace_proc and dtrace_user privileges. global# zonecfg -z my-zone zonecfg:my-zone> set limitpriv="default,dtrace_proc,dtrace_user" zonecfg:my-zone> exit Depending on your requirements, you…

User and Role Management

Question

A developer wants to use DTrace in a zone to examine the kernel. What are his options?

Options

  • AModify the zone so that he can use DTrace to examine kennel data structures.
  • BAll that's required is to assume the "root" role.
  • CBy using dtrace_proc and dtrace_user privileges he can examine his own code, but not the
  • DBy adding ipc_dac_read and ipc_dac_write privileges to the zone.
  • EChange the zone's file-mac-profile from strict to none to enable the use of DTrace within the zone.

How the community answered

(20 responses)
  • A
    5% (1)
  • C
    80% (16)
  • D
    10% (2)
  • E
    5% (1)

Explanation

How to Use DTrace in a Non-global Zone 1. Use the zonecfg limitpriv property to add the dtrace_proc and dtrace_user privileges. global# zonecfg -z my-zone zonecfg:my-zone> set limitpriv="default,dtrace_proc,dtrace_user" zonecfg:my-zone> exit Depending on your requirements, you can add either privilege, or both privileges. 2. Boot the zone. 3. global# zoneadm -z my-zone boot Log in to the zone. global# zlogin my-zone 4. Run the DTrace program. my-zone# dtrace -l * Oracle Solaris DTrace is a comprehensive, advanced tracing tool for troubleshooting systemic problems in real time. * DTrace helps you understand a software system by enabling you to dynamically modify the operating system kernel and user processes to record additional data that you specify at locations of interest, called probes. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#DTrace#zone privileges#dtrace_proc#dtrace_user

Community Discussion

No community discussion yet for this question.

Full 1Z0-580 Practice