Dell Prompt Engineering Achievement Free Sample Questions

Description

Covers generative AI and LLM fundamentals, legal and ethical considerations for prompts, prompt structure and the write-refine-test cycle, zero-shot and few-shot prompting, and prompt templates.

12 free sample questions150 in the full practice test

Try simulator

D-PEN-F-A-00 Sample Questions

  1. Question 1

    Beginner

    AI and NLP Fundamentals · Describe Generative AI, LLM and Neural Networks

    A business analyst is exploring artificial intelligence solutions for their enterprise. They need a system capable of creating net-new marketing copy and synthesizing unstructured reports, rather than simply classifying numerical data. Which underlying technology is BEST suited for this requirement?

    Answer and explanation

    Correct answer: B

    Generative AI is designed to produce net-new artifacts, such as text, images, or code, by learning patterns from vast amounts of training data. Traditional or discriminative AI is typically used for classifying data or predicting numerical outcomes (e.g., forecasting sales or identifying spam). Because the analyst needs to create marketing copy and synthesize text, Generative AI (powered by Large Language Models) is the optimal choice.

  2. Question 2

    Intermediate

    AI and NLP Fundamentals · Identify the strengths and limitations of different AI models in the context of prompt engineering

    A developer is using Microsoft Copilot to analyze a 200-page technical manual. Halfway through the conversation, the model begins to 'forget' explicit instructions provided in the very first prompt. What architectural limitation of the AI model is primarily responsible for this behavior?

    Answer and explanation

    Correct answer: C

    Large Language Models have a fixed 'context window' (measured in tokens) which represents the maximum amount of text they can process in a single interaction. When a conversation or document exceeds this limit, the model employs a sliding window approach, effectively 'forgetting' the earliest tokens to make room for new ones. This results in the loss of initial instructions or early document context.

    flowchart LR A[User Prompt + Long Doc] --> B{Exceeds Context Window?} B -- Yes --> C[Truncates Early Tokens] B -- No --> D[Processes Full Context] C --> E[Loss of Initial Instructions] D --> F[Accurate Output]
  3. Question 3

    Beginner

    AI and NLP Fundamentals · Explain what are GPTs and their significance

    True or False: The 'P' in GPT stands for 'Pre-trained', which signifies that the model has already learned language patterns, grammar, and facts from vast amounts of data before being fine-tuned for specific tasks.

    Answer and explanation

    Correct answer: A

    GPT stands for Generative Pre-trained Transformer. The 'Pre-trained' aspect is highly significant because it means the model has already ingested massive datasets to understand the statistical structure of human language. This foundational knowledge allows it to perform a wide variety of tasks out-of-the-box without needing to be trained from scratch for every new application.

  4. Question 4

    Advanced

    AI and NLP Fundamentals · Describe Generative AI, LLM and Neural Networks

    When an LLM generates a highly plausible but completely fabricated legal citation, which foundational characteristic of its neural network architecture is the root cause of this behavior?

    Answer and explanation

    Correct answer: A

    At their core, Large Language Models (LLMs) are complex probabilistic engines based on neural network architectures (specifically Transformers). They generate text by predicting the next most likely token (word or sub-word) based on the preceding context. Because they optimize for statistical probability and linguistic coherence rather than querying a factual database, they can easily piece together a sequence of tokens that looks completely legitimate (like a legal citation) but is entirely fabricated—a phenomenon known as hallucination.

  5. Question 5

    Advanced

    Legal and Compliance Requirements · Discuss legal frameworks in the context of prompts

    A healthcare provider is deploying a prompt engineering initiative using a public instance of ChatGPT to summarize patient discharge notes. The prompt engineer designs a highly effective template that requires pasting the full discharge note, including patient names, SSNs, and medical histories, into the prompt.

    Which legal and ethical framework is explicitly violated by this workflow, and what is the optimal mitigation strategy?

    Answer and explanation

    Correct answer: B

    Pasting Personally Identifiable Information (PII) or Protected Health Information (PHI) into a public LLM instance is a severe violation of data privacy frameworks like HIPAA or GDPR, as public models may use input data for future training. The optimal mitigation strategy, if a public model must be used, is to implement a sanitization layer that redacts or anonymizes all sensitive data before the prompt is sent to the LLM.

    sequenceDiagram participant User participant Sanitizer participant Public LLM User->>Sanitizer: Prompt with PHI/PII Sanitizer->>Public LLM: Anonymized Prompt Public LLM-->>Sanitizer: Summarized Data Sanitizer-->>User: Re-identified Summary
  6. Question 6

    IntermediateMultiple answers

    Legal and Compliance Requirements · Explain the ethical and legal implications that should be considered during prompt development

    A software company uses Copilot to generate large portions of source code for a new commercial product. Which TWO legal and compliance risks must the prompt engineers and legal team consider regarding the generated code? (Select TWO)

    Answer and explanation

    Correct answers: C, D

    LLMs are trained on vast amounts of public data, including open-source repositories. A major legal risk is that the model might generate code that closely matches copyrighted open-source code, potentially violating licenses (like GPL) if used in a closed-source commercial product.

    In many jurisdictions, copyright law requires human authorship. Code generated entirely or primarily by an AI model may not be eligible for copyright protection, meaning the company might struggle to legally protect their product from being copied by competitors.

Register free for 6 more questions

Or unlock all 150 D-PEN-F-A-00 questions with explanations, timed mode and flashcards.