WGU Practical Applications of Prompt (D685) Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

What is a benefit of incorporating detailed descriptions in prompts?



Answer : C

Incorporating detailed descriptions within a prompt is a fundamental practice in prompt engineering that leads to the better articulation of user needs. When a user provides a high level of detail, they are essentially mapping out their mental model for the AI. Generative AI models function by predicting the most statistically likely response based on the input provided; therefore, the more specific the input, the more 'locked in' the AI becomes to the user's specific intent. Detailed descriptions help remove ambiguity, ensuring the AI doesn't have to 'guess' what the user wants.

For example, instead of asking for a 'business plan,' a detailed description would specify the industry, target audience, funding goals, and specific competitive advantages. This allows the AI to align its output exactly with the user's requirements. While detailed prompts can occasionally help reduce certain types of errors (Option B), their primary strength lies in communication clarity. It bridges the gap between a vague idea and a concrete output. In practical applications, this reduces the number of iterations required to reach a final product, as the AI receives a clear set of requirements from the start, leading to a much more useful and tailored result.


Question 2

Which programming software task is well-suited for artificial intelligence?



Answer : D

Artificial Intelligence, particularly Large Language Models (LLMs) trained on vast repositories of public code, has become exceptionally proficient at suggesting code modifications. This task is well-suited for AI because code is inherently structured and follows strict logical and syntactical rules. AI can analyze a snippet of code, identify inefficiencies, detect potential bugs, and suggest more 'pythonic' or optimized ways to achieve the same result. This is often referred to as 'AI-assisted development' or 'copiloting.'

While AI can certainly add comments to scripts, that is a relatively low-level task compared to the complex logic involved in code modification. Specifying project structure and performing user testing often require a high-level architectural understanding and human-centric feedback that AI currently lacks in a holistic sense. Suggesting modifications involves the AI 'understanding' the intent of the code and predicting the next logical sequence or identifying a better algorithm to solve a problem. This capability significantly accelerates the development lifecycle, allowing developers to focus on high-level logic while the AI handles boilerplate code and optimization suggestions. It bridges the gap between raw intent and functional implementation by leveraging the statistical likelihood of code patterns found in high-quality software libraries.


Question 3

An AI model was trained on historical loan data. A loan officer has noticed that the model disproportionately suggests to refuse loans to people who live in a particular area. What is the type of bias described in the scenario?



Answer : D

The scenario describes Algorithmic bias, which occurs when an AI system reflects and potentially amplifies the prejudices or inequalities present in the historical data it was trained on. In this case, if historical lending practices were discriminatory toward specific neighborhoods (a practice known as 'redlining'), the AI model treats the resulting 'denial' patterns as a mathematical rule. It learns that living in a certain zip code is a predictor of loan failure, even if the individual applicants are creditworthy.

This is a major ethical concern in prompt engineering and AI deployment because the 'bias' is not a glitch in the code, but a reflection of systemic human bias encoded into the model's logic. It differs from 'Sampling bias' (which would occur if the model only looked at one city) or 'Measurement bias' (which involves faulty sensors). Algorithmic bias is particularly insidious because it can give discriminatory decisions a 'veneer of objectivity,' making it harder for human operators to spot the unfairness. Addressing this requires rigorous data auditing and the use of 'fairness constraints' to ensure that the AI does not penalize individuals based on protected characteristics or proxy variables like geography.


Question 4

Which key prompt component includes details about the history of a troubleshooting issue with a customer service chatbot?



Answer : D

Details regarding the history of a troubleshooting issue fall under the Context component of a prompt. Context is the 'background information' or the 'situational frame' that allows the AI to understand the 'why' and 'how' of a request. Without context, the AI is essentially working in a vacuum. For a customer service chatbot, knowing the history of a problem (e.g., 'The user has already tried restarting the router and clearing their cache') is essential because it prevents the AI from suggesting solutions that have already failed.

Context provides the necessary data points that ground the AI's logic in reality. While 'Instructions' tell the AI to 'Solve this problem,' the Context provides the specific parameters of the problem itself. It acts as a set of guardrails that steer the AI toward a more relevant and personalized response. In sophisticated prompt engineering, the quality of the output is often directly proportional to the quality of the context provided. By including historical data, user preferences, or specific environmental factors, the user ensures the AI's response is not just a generic suggestion but a targeted solution that accounts for everything that has happened up to that point.


Question 5

A member of a middle pre-algebra class is having a difficult time graphing a line for a homework assignment. In order to get help, the student enters the prompt "help with math" into an AI system. Which change should the student make to the prompt to generate a better outcome?



Answer : A

The student's initial prompt, 'help with math,' is a classic example of an underspecified prompt. To optimize the outcome, the student must give context on why the help is needed. In prompt engineering, context is the information that surrounds the core request to give it meaning. By explaining that they are in a 'middle pre-algebra class' and are specifically struggling with 'graphing a line,' the student provides the AI with the necessary boundaries to provide an age-appropriate and topic-specific explanation.

Without this context, the AI might provide a high-level calculus proof or a simple elementary addition example, neither of which solves the student's problem. Providing context allows the AI to 'zoom in' on the specific pain point. Effective optimization often involves adding the 'what' (graphing a line), the 'who' (a pre-algebra student), and the 'why' (trouble with a homework assignment). This ensures the AI adopts the correct educational level and provides a step-by-step breakdown suitable for a middle schooler, rather than a generic or overly complex mathematical response.


Question 6

A company is developing a customer service chatbot and wants the response to be limited to a specific number of characters because the chatbot is meant to operate through text. What is the focus of this scenario?



Answer : D

This scenario describes the application of Constraints within a prompt. Constraints are the specific boundaries, limitations, or 'rules' that the AI must follow when generating a response. In this instance, the constraint is the character limit. Because the chatbot operates via text (likely SMS or a narrow chat window), long-form responses would be technically or practically problematic. By setting a character limit, the prompt engineer is forcing the AI to prioritize brevity and essential information.

Constraints are vital in professional AI applications to ensure that the output is 'fit for purpose.' They go beyond the general 'Output format' (which might just specify 'a list' or 'an email') by providing hard logical or physical parameters. Other common constraints include 'do not use jargon,' 'avoid mentioning competitors,' or 'write at a fifth-grade reading level.' In the development of customer service bots, constraints help maintain a consistent user experience and ensure that the AI's behavior aligns with the technical requirements of the platform. Managing constraints effectively is one of the most important skills in prompt engineering, as it prevents the AI from becoming too wordy (verbosity) or wandering off-topic.


Question 7

There have been complaints that deepfake videos on a social media platform are being circulated that show public figures making false statements. Which area of ethical concern does this situation demonstrate?



Answer : A

The rise of deepfakes---AI-generated synthetic media that convincingly depicts people saying or doing things they never did---falls squarely under the ethical concern of Misinformation and manipulation. This represents a significant challenge to the 'Information Integrity' of digital platforms. By creating realistic but false content, generative AI can be used to influence elections, damage reputations, or incite social unrest.

This ethical concern highlights the 'dual-use' nature of AI. While the same technology can be used for harmless entertainment or high-end film production, in the hands of bad actors, it becomes a tool for 'cognitive hacking.' Prompt engineering optimization in this context involves developing guardrails within AI models to prevent the generation of content involving public figures or non-consensual imagery. It also involves the use of AI to detect deepfakes by identifying microscopic inconsistencies in pixels or heart-rate signatures that are invisible to the human eye. Addressing misinformation requires a combination of technical watermarking, robust platform policies, and user education to ensure that the boundary between reality and AI-generated fiction remains clear.


Page:    1 / 14   
Total 50 questions