Search test library by skills or roles
⌘ K

Adaface Sample Prompt Engineering Questions

Here are some sample Prompt Engineering questions from our premium questions library (10273 non-googleable questions).

Skills

Visualization & BI Tools

Microsoft & Power Platform

Integration & Middleware

Cybersecurity & Networking

Oracle Technologies

🧐 Question

Easy

JSON Prompt Design
JSON structure
Prompt crafting
Data types
Solve
You are asked to create a prompt for a language model that outputs JSON data for a company's employee database. The JSON must include an employee's ID, name, age, and whether they are currently active. Consider how you might structure your prompt given these fields. Identify the best prompt design.
Example JSON output:
            {
               "ID": "123",
               "Name": "John Doe",
               "Age": 30,
               "Active": true
            }
Which prompt structure would most effectively guide the language model to generate the correct JSON format?
            A: Create JSON objects for employees with fields: ID, Name, Age, Active. ID should be a string.
            B: Generate JSON data: ID, Name, Age, Active. ID is a number.
            C: Output JSON: ID (string), Name, Age (integer), Active (boolean).
            D: Make JSON: ID, Name, Age, Active. ID is always number.
            E: Design JSON response: ID, Name, Age, Active with clear typing.
            F: Provide JSON example: Employee data with structured fields.

Medium

Temperature Settings
Temperature calibration
Generative behavior
Output variability analysis
Solve
Consider the following prompt given to an LLM:
            
            System Prompt: "You are a creative writing assistant helping authors develop character descriptions. Use vivid imagery and engaging language to bring characters to life."
            Main Prompt: "Write a character description for a mysterious librarian with the following traits:
            
            Works in an ancient library
            Has silver hair and green eyes
            Knows secrets about forbidden books
            Appears to be in their 40s but seems much older
            Always wears a pendant with strange symbols"
            
            Three outputs were generated with different temperature settings:
Output A:
            "The librarian possesses silver hair and green eyes. Age appears to be approximately 40 years. Works in an ancient library facility. Has knowledge of restricted book collections. Wears jewelry featuring symbolic markings. Maintains professional demeanor while handling library materials."
            Output B:
            "Elara moves through the ancient library like a ghost haunting familiar halls, her silver hair catching moonbeams that slip through Gothic windows. Those emerald eyes hold centuries of secrets—too many secrets for someone who claims only four decades of life. The obsidian pendant at her throat pulses with runes that predate any known language, and when she speaks of the forbidden texts, her voice carries the weight of ages. There's something unsettling about how she never seems surprised by anything, as if she's been waiting lifetimes for each visitor to find their way to her domain."
            Output C:
            "Meet Elara, the enigmatic keeper of knowledge whose silver locks frame a face that defies time itself. Her piercing green eyes seem to peer directly into your soul, holding secrets that could unravel reality. The ancient library around her creaks with whispered stories, and she alone holds the keys to the forbidden sections where dangerous truths slumber. The mystical pendant adorning her neck bears symbols older than civilization, pulsing with otherworldly energy that hints at her true nature."
Which temperature setting was most likely used for each output?
            A) Output A (T=0.1), Output B (T=1.0), Output C (T=0.5)
            B) Output A (T=0.5), Output B (T=0.1), Output C (T=1.0)
            C) Output A (T=0.1), Output B (T=0.5), Output C (T=1.0)
            D) Output A (T=1.0), Output B (T=0.5), Output C (T=0.1)
            E) Output A (T=0.5), Output B (T=1.0), Output C (T=0.1)
🧐 Question 🔧 Skill

Easy

JSON Prompt Design
JSON structure
Prompt crafting
Data types

2 mins

Prompt Engineering
Solve

Medium

Temperature Settings
Temperature calibration
Generative behavior
Output variability analysis

2 mins

Prompt Engineering
Solve
🧐 Question 🔧 Skill 💪 Difficulty ⌛ Time
JSON Prompt Design
JSON structure
Prompt crafting
Data types
Prompt Engineering
Easy 2 mins
Solve
Temperature Settings
Temperature calibration
Generative behavior
Output variability analysis
Prompt Engineering
Medium 2 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1200+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️