CoreHRx Jobs

Apply in one click, save jobs and take free mock tests.

Register free Log in
Hiring? Post jobs with CoreHRx
My account
user

View & update profile

Generative AI and Prompt Engineering mock test: free online practice

15 to 30 random questions in 15 to 30 minutes, by the level you choose: tokens, sampling, prompts, rag, embeddings, agents, evals, safety. After you submit you get your score, your strong and weak topics, and the right answer with an explanation for every question.

Want to revise first? Read the Generative AI and Prompt Engineering interview questions and answers.

Choose your experience

Free with a CoreHRx Jobs account: you will be asked to sign in or create one first.

What does the Generative AI and Prompt Engineering mock test cover?

The test covers 13 topics across three levels. Each attempt picks 15 to 30 questions at random, by the level you choose, so every attempt is different.

  • Embeddings and Vector Search
  • Evaluation
  • Prompt Patterns
  • Retrieval-Augmented Generation
  • Safety and Prompt Injection
  • Cost and Latency
  • Hallucination and Grounding
  • LLM Basics
  • Tokens and Context Windows
  • Tool Use and Agents
  • Sampling and Temperature
  • Structured Output
  • Fine-tuning vs RAG vs Prompting

Sample Generative AI and Prompt Engineering mock test questions

One question from each level, the way they appear in the test. A new set comes on the 1st of every month. Try it, then open the answer.

  1. FresherLLM Basics

    When people say a model has 7 billion parameters, what are they counting?

    • The number of tokens the model can read in one request
    • The learned weights inside the neural network, set during training
    • The settings such as temperature that you pass with each request
    • The number of words and sub-words in the tokenizer vocabulary
    Show the answer

    Answer: The learned weights inside the neural network, set during training. Parameters are the numbers (weights and biases) the network learns in training; their count is a rough measure of model size. Request settings like temperature, the context window and the vocabulary size are different things.

  2. Intermediate (1-5 years)Fine-tuning vs RAG vs Prompting

    After heavy fine-tuning on legal contracts, a model gets worse at general questions. What is this called?

    • Catastrophic forgetting
    • Quantisation
    • Prompt injection
    • Context overflow
    Show the answer

    Answer: Catastrophic forgetting. Training hard on a narrow dataset can overwrite general abilities learned in pre-training. Mixing in general data, using fewer steps or adapters such as LoRA, and checking general evals all reduce it.

  3. Experienced (5+ years)Tokens and Context Windows

    A team runs a model on inputs far longer than any sequence seen in training, by changing settings only. Why may quality drop?

    • The tokenizer produces different tokens once an input passes the training length
    • It never learned to use positions that far apart, so attention there is unreliable
    • The weights are rewritten for the new length, which erases what the model learned
    • Inputs longer than the training length are always cut down silently to that length
    Show the answer

    Answer: It never learned to use positions that far apart, so attention there is unreliable. Position handling is learned at training lengths; far beyond them, attention patterns are out of distribution. Context-extension methods usually rescale positions and add some long-sequence training to fix this.

Take the full Generative AI and Prompt Engineering mock test: 15 to 30 questions and 15 to 30 minutes, by level.

How is the Generative AI and Prompt Engineering mock test scored?

A question counts as right only when you pick exactly the right option, or all the right options where it says so; a question left blank counts as wrong. Your score is the share of the test's questions you got right (15 to 30, by level). The result also scores every topic, so you know what to revise before the interview.

  • 75% or more in a topica strength
  • 50% to 74%worth a revision
  • Under 50%a topic to work on

Generative AI and Prompt Engineering mock test: questions people ask

Is the Generative AI and Prompt Engineering mock test free?

Yes. The Generative AI and Prompt Engineering mock test is free. You need a free CoreHRx Jobs account to start it, so your score and the topics to work on are saved.

How many questions are in the Generative AI and Prompt Engineering mock test?

It depends on the level: Fresher has 15 questions in 15 minutes, Intermediate has 20 questions in 20 minutes, Experienced has 30 questions in 30 minutes. They are multiple-choice questions picked at random from a larger bank of Generative AI and Prompt Engineering questions at your level, so every attempt is different.

Which Generative AI and Prompt Engineering topics does the test cover?

The questions cover Embeddings and Vector Search, Evaluation, Prompt Patterns, Retrieval-Augmented Generation, Safety and Prompt Injection, Cost and Latency, Hallucination and Grounding, LLM Basics, Tokens and Context Windows, Tool Use and Agents, Sampling and Temperature, Structured Output, Fine-tuning vs RAG vs Prompting. Your result shows how you did in each topic.

Which level should I choose?

Fresher if you are a student or have less than a year of experience, Intermediate for 1 to 5 years at work, and Experienced for 5 years or more.

Can employers see my Generative AI and Prompt Engineering score?

Only your best Generative AI and Prompt Engineering score, and only when it is 60% or more. It shows on the job applications you send on CoreHRx. Lower scores stay private.

Can I take the Generative AI and Prompt Engineering mock test again?

Yes, up to 10 tests a day. Each attempt picks questions you have not seen recently first.

All mock tests