Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU D685 Practical Applications of Prompt Engineering OA2 Practice Exam ACTUAL EXAM 2026/2027 | WGU D685 Prompt Engineering | Verified Q&A | Pass Guaranteed - A+ Graded

Rating
-
Sold
-
Pages
23
Grade
A+
Uploaded on
09-05-2026
Written in
2025/2026

Pass your WGU D685 Practical Applications of Prompt Engineering OA2 Practice Exam with confidence using this complete 2026/2027 actual exam featuring exam-style questions and detailed rationales for prompt engineering certification at Western Governors University. This verified resource covers key topics including prompt design principles and best practices, zero-shot, few-shot, and chain-of-thought prompting techniques, optimization of prompts for large language models (LLMs), evaluation metrics for prompt effectiveness, ethical considerations in prompt engineering, and real-world applications in content generation, code generation, and data analysis. Each question includes detailed rationales and elaborated solutions to ensure mastery of all D685 OA2 prompt engineering competencies. Backed by our Pass Guarantee. Download now.

Show more Read less
Institution
WGU D685 Practical Applications Of Prompt Engineer
Course
WGU D685 Practical Applications of Prompt Engineer

Content preview

WGU D685 Practical Applications of Prompt
Engineering OA2 Practice Exam ACTUAL
EXAM 2026/2027 | WGU D685 Prompt
Engineering | Verified Q&A | Pass
Guaranteed - A+ Graded

Section 1: Foundational Prompt Engineering Techniques (15 Questions)

Q1: A student submits the following zero-shot prompt to a language model: "Write a business email."
The model generates a generic, unfocused message. Which adjustment most improves this prompt
using foundational prompt engineering principles?

A. Add more adjectives like "professional" and "concise"

B. Specify role, audience, purpose, tone, and key points to cover [CORRECT]

C. Increase the temperature setting to 0.9

D. Submit the same prompt three times and average the outputs

Correct Answer: B

Rationale: The original prompt fails on multiple WGU D685 rubric criteria: no role definition (who is
writing), no audience specification (who receives it), no purpose (why), no tone (how), and no content
requirements (what). Option B addresses all five elements of effective prompt structure. Option A adds
vague descriptors without structural clarity. Option C increases randomness, worsening consistency.
Option D is computationally wasteful and doesn't fix the underlying prompt deficiency.

Q2: A data analyst needs to classify customer support tickets into categories: Billing, Technical, Account,
or General. They provide this prompt with three examples of each category, then ask the model to
classify a new ticket. This technique is best described as:

A. Zero-shot prompting

B. Few-shot prompting [CORRECT]

C. Chain-of-thought prompting

D. Fine-tuning

,Correct Answer: B

Rationale: Few-shot prompting provides exemplars (input-output pairs) within the context window to
guide the model's pattern recognition without parameter updates. The analyst included three examples
per category—classic few-shot structure per WGU D685 Module 2. Zero-shot (A) provides no examples.
Chain-of-thought (C) requires reasoning steps in exemplars. Fine-tuning (D) involves gradient descent
training, not in-context learning.

Q3: A developer is designing a prompt for a medical coding assistant. The system instruction states: "You
are a certified medical coder with 10 years of experience. Use ICD-10-CM guidelines. When uncertain,
ask clarifying questions rather than guessing." This design primarily leverages which prompt engineering
component?

A. Temperature manipulation

B. Role-based system prompting with explicit behavioral constraints [CORRECT]

C. Top-p nucleus sampling

D. Token length optimization

Correct Answer: B

Rationale: The prompt establishes a specific role (certified medical coder), domain expertise (10 years),
knowledge constraints (ICD-10-CM), and behavioral guardrails (clarify vs. guess)—exemplifying role-
based system prompting with constraint application. Temperature (A) and top-p (C) are inference
parameters, not prompt content. Token optimization (D) is unrelated to this structure.

Q4: A prompt engineer wants a model to solve a complex multi-step math problem by showing its
reasoning before giving the final answer. Which technique should they use?

A. Zero-shot prompting with temperature 0

B. Chain-of-thought prompting with explicit reasoning request [CORRECT]

C. Few-shot prompting with only final answers in examples

D. Tree-of-thoughts with parallel reasoning paths

Correct Answer: B

Rationale: Chain-of-thought (CoT) prompting explicitly requests intermediate reasoning steps (e.g.,
"Let's think step by step" or "Show your work"), improving accuracy on complex reasoning tasks by 40-
100% per WGU D685 research citations. Zero-shot (A) without CoT trigger underperforms. Few-shot
with only answers (C) misses the reasoning demonstration. Tree-of-thoughts (D) is over-engineered for a
single linear math problem.

, Q5: [SELECT-ALL-THAT-APPLY] Which elements should be included in a well-structured system prompt
for a healthcare documentation assistant? (Select all that apply.)

A. Role definition and domain expertise [CORRECT]

B. Output format specifications (e.g., SOAP note structure) [CORRECT]

C. Prohibited content and safety guardrails [CORRECT]

D. The user's specific medical history for personalization

Correct Answer: A, B, C

Rationale: Per WGU D685 Module 1, effective system prompts require: (A) role definition to activate
relevant domain knowledge, (B) output format specifications to ensure structured, parseable responses,
and (C) safety guardrails to prevent harmful outputs. Option D is incorrect because system prompts
should contain universal instructions applicable to all users; personal medical history belongs in user
prompts to maintain privacy and context separation.

Q6: A model generates inconsistent outputs for the same prompt across multiple runs. Which inference
parameter adjustment would most improve output determinism?

A. Increase temperature to 1.0

B. Set temperature to 0.0 and use fixed seed if available [CORRECT]

C. Increase top-p to 0.95

D. Decrease max_tokens to 50

Correct Answer: B

Rationale: Temperature controls randomness in token sampling: 0.0 = deterministic (greedy decoding),
higher values = more random. For consistent outputs, temperature 0.0 is essential per WGU D685
inference parameter guidelines. Increasing temperature (A) or top-p (C) increases variability.
Max_tokens (D) truncates output length without affecting consistency.

Q7: A prompt engineer is designing a tree-of-thoughts approach for strategic business planning. The
model generates multiple reasoning paths, evaluates each against criteria, then selects the best. What is
the primary advantage of this technique over standard chain-of-thought?

A. Reduced token consumption

B. Exploration of multiple hypotheses with self-evaluation and backtracking [CORRECT]

C. Faster inference speed

D. Elimination of hallucinations

Written for

Institution
WGU D685 Practical Applications of Prompt Engineer
Course
WGU D685 Practical Applications of Prompt Engineer

Document information

Uploaded on
May 9, 2026
Number of pages
23
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • prompt design principles
  • eth
$16.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StuviaFastPass Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
263
Member since
3 year
Number of followers
83
Documents
3266
Last sold
1 day ago
StuviaFastPass

"Welcome to stuviafastpass, your trusted source for comprehensive nursing education materials. Our mission is to empower aspiring and current nurses with the knowledge and tools they need to succeed in their healthcare careers, make a step to excel well in your exam thank you and welcome all.

3.3

36 reviews

5
11
4
5
3
8
2
6
1
6

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions