Practical-Applications-of-Prompt Exam Questions & Answers
WGU Practical Applications of Prompt QFO1 • WGU
100% money-back guarantee
Sample Practical-Applications-of-Prompt Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
Part of a person's prompt to an AI chatbot is: "You are a lawyer." Which effective prompt component does this demonstrate?
The instruction 'You are a lawyer' is a classic example of assigning a Persona to an AI model. In prompt engineering, a persona is a specified role or identity that the AI is asked to adopt. This technique is highly effective because it triggers the model to prioritize certain linguistic patterns, professional jargon, and specialized knowledge bases associated with that specific role. By telling the AI to act as a lawyer, the user is signaling that the tone should be formal, the reasoning should be analytical, and the output should reflect legal standards and structures.
Assigning a persona helps narrow the 'probabilistic space' of the AI's responses. Instead of providing a generic answer, the model will attempt to provide an answer that a legal professional would likely give. This is different from 'Instructions,' which tell the AI what to do (e.g., 'Write a contract'), or 'Context,' which provides the background facts (e.g., 'This is for a small business in Ohio'). The persona provides the voice and perspective through which the information is filtered. Utilizing personas is a core strategy in prompt engineering to ensure that the output matches the professional or creative expectations of the user.
What is one example of a task in which natural language processing (NLP) algorithms are employed?
Natural Language Processing (NLP) is a branch of AI that focuses on the interaction between computers and human language. One of its most practical and widespread applications is Textual data cleaning. When dealing with large datasets of unstructured text---such as customer reviews, social media posts, or support tickets---the data is often 'noisy,' containing typos, slang, irrelevant HTML tags, or inconsistent formatting.
NLP algorithms are used to standardize this data through techniques like tokenization (breaking text into words), stemming or lemmatization (reducing words to their root form), and 'stop word' removal (filtering out common words like 'the' or 'is' that don't add semantic value). This cleaning process is essential before any higher-level analysis, such as sentiment analysis or topic modeling, can take place. If the data isn't cleaned, the resulting AI model will be less accurate. Unlike 'Numerical data cleaning' (Option D), which deals with outliers or missing values in numbers, textual data cleaning requires an understanding of linguistic rules and context, which is the core strength of NLP. Effective prompt engineering often involves asking an AI to perform these cleaning tasks to prepare a dataset for more complex reasoning or summarization.
Which strategy is effective for a company to promote the ethical use of AI?
The most effective strategy for promoting ethical AI is to foster collaboration among diverse stakeholders. Ethics in AI is not a purely technical problem that can be 'solved' with code; it is a socio-technical challenge that requires input from various perspectives, including ethicists, legal experts, social scientists, engineers, and, most importantly, the communities affected by the AI.
Diverse collaboration helps identify 'blind spots' that a homogenous technical team might miss. For example, a developer might not realize that a specific data feature is a proxy for race or gender, but a sociologist or a community advocate might recognize it immediately. By bringing these voices together, a company can develop 'Ethics by Design' frameworks that proactively address bias, transparency, and safety issues before the AI is deployed. This approach aligns with the principle of 'Multidisciplinary Oversight,' ensuring that the AI's goals are aligned with human values. Relying purely on the AI to solve its own ethical dilemmas (Option A) is dangerous, as the AI lacks a true moral compass. Instead, human-led collaboration ensures that technology remains a servant to societal well-being.
What is a risk associated with failing to include a goal when writing a prompt?
Failing to include a clear goal creates a significant risk of receiving inaccurate responses. In the context of AI, 'inaccuracy' doesn't just mean a factual error; it also refers to an output that is 'off-target' for the user's intent. Without a goal (the specific outcome the user wants to achieve), the AI is forced to make assumptions about what the user wants. These assumptions are often based on the most common patterns in its training data, which may not align with the user's actual needs.
For example, if a user provides context about a product but doesn't state the goal (e.g., 'Write a product description,' 'Critique this product,' or 'Compare this product to X'), the AI might simply summarize the text provided. This response is 'inaccurate' because it fails to fulfill the user's unspoken requirement. This lack of direction leads to a 'hallucination of intent,' where the AI provides a response that is technically coherent but practically useless. Clearly defining the goal is the most effective way to anchor the AI's logic, ensuring that the generated content is accurate in terms of both facts and function.
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?
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.
Get access to all 50 verified questions with detailed answers.
Unlock All Practical-Applications-of-Prompt Questions