JAMF100 Policies and Scripts 1 — Questions and Answers
Question 1: What is the primary function of a Policy in Jamf Pro?
- To automate management tasks on computers and mobile devices (Correct answer)
- To create inventory reports
- To enroll devices into MDM
- To configure network proxy settings
Correct answer: To automate management tasks on computers and mobile devices
A Policy in Jamf Pro is used to automate management tasks such as installing software, running scripts, and configuring settings on managed computers.
Question 2: Which of the following is a valid built-in trigger for a Jamf Pro policy on computers?
- Screen saver activation
- Recurring Check-In (Correct answer)
- App Store download
- iCloud sync
Correct answer: Recurring Check-In
Recurring Check-In is a standard policy trigger that fires when the Jamf management framework checks in with the Jamf Pro server on its scheduled interval.
Question 3: What execution frequency setting causes a Jamf Pro policy to run only once per computer, regardless of how many users log in?
- Ongoing
- Once every day
- Once per computer (Correct answer)
- Once per user per computer
Correct answer: Once per computer
'Once per computer' ensures the policy runs exactly one time on each computer, tracking by device rather than by user.
Question 4: Which of the following can be used to define the scope of a Jamf Pro policy?
- Configuration profiles only
- Computer groups, individual computers, and users (Correct answer)
- Only individual devices
- Only Active Directory groups
Correct answer: Computer groups, individual computers, and users
Policy scope can include computer groups, individual computers, users, user groups, and departments, providing flexible and granular targeting.
Question 5: Which scripting languages are supported for scripts uploaded to Jamf Pro?
- Python only
- Bash, Python, Perl, and other Unix-compatible scripting languages (Correct answer)
- AppleScript only
- JavaScript and Ruby only
Correct answer: Bash, Python, Perl, and other Unix-compatible scripting languages
Jamf Pro supports any Unix-compatible scripting language including Bash, Python, Perl, and Ruby, as long as the interpreter is present on the target Mac.
Question 6: How many total parameter slots does Jamf Pro provide when calling a script from a policy?
- 4
- 8
- 11 (Correct answer)
- 3
Correct answer: 11
Jamf Pro provides 11 parameter slots: parameters 1–3 are reserved for system values (mount point, computer name, username) and parameters 4–11 are available for custom values.
Question 7: What does setting a script's priority to 'Before' mean within a Jamf Pro policy?
- The script runs before the policy is approved by an admin
- The script runs before other payloads such as package installations in the policy (Correct answer)
- The script receives higher CPU priority
- The script runs at startup before the login window appears
Correct answer: The script runs before other payloads such as package installations in the policy
Setting script priority to 'Before' means the script executes before other policy payloads, such as package installations, run within the same policy.
What is the primary function of a Policy in Jamf Pro?