Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Free Resources

Difficulty IndexLearn — Free ChaptersIT GlossaryFree Tools & LabsStudy GuidesCareer RoadmapsBrowse by VendorCisco Command ReferenceCCNA Scenarios

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Prompt Engineering practice sets

1Z0-1127 Prompt Engineering • Complete Question Bank

1Z0-1127 Prompt Engineering — All Questions With Answers

Complete 1Z0-1127 Prompt Engineering question bank — all 0 questions with answers and detailed explanations.

120
Questions
Free
No signup
Certifications/1Z0-1127/Practice Test/Prompt Engineering/All Questions
Question 1mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 2mediummultiple choice
Read the full Prompt Engineering explanation →

A data scientist is designing a prompt to generate a structured report with sections for Summary, Findings, and Recommendations. Which output format specification in the prompt would be MOST effective?

Question 3hardmultiple choice
Read the full Prompt Engineering explanation →

A developer notices that a Cohere Command model occasionally generates contradictory statements in the same response when asked to reason step-by-step. Which technique is designed to address inconsistency by generating multiple reasoning paths and selecting the most consistent answer?

Question 4easymultiple choice
Read the full Prompt Engineering explanation →

Which parameter controls the creativity and randomness of a model's output by adjusting the probability distribution before sampling the next token?

Question 5mediummultiple choice
Read the full Prompt Engineering explanation →

An engineer is using the ReAct pattern to build a reasoning agent. The agent should first reason about the user query, then call an external API, and finally incorporate the API result into a final answer. Which prompt structure best implements this pattern?

Question 6hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is tasked with reducing hallucinations in a document-grounded generation task using Cohere Command R. Which system prompt component is MOST effective for enforcing that the model only uses provided documents?

Question 7easymultiple choice
Read the full Prompt Engineering explanation →

In few-shot prompting, what is the primary purpose of including examples in the prompt?

Question 8mediummultiple choice
Read the full Prompt Engineering explanation →

A developer creates a prompt for a code generation task but the output often contains syntax errors. Which adjustment to the prompt is MOST likely to improve correctness?

Question 9easymultiple choice
Read the full Prompt Engineering explanation →

Which prompt engineering technique asks the model to explain its reasoning process step-by-step before arriving at the final answer?

Question 10hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants the model to adopt a strict, professional tone for a financial report generation task. Which prompt component should be used to set this tone and persona?

Question 11mediummultiple choice
Read the full Prompt Engineering explanation →

A user repeatedly gets the same phrase output by the model. Which parameter adjustment is MOST likely to reduce such repetitive patterns?

Question 12mediummultiple choice
Read the full Prompt Engineering explanation →

A team is prompting a model to translate English to French. They notice the model occasionally mixes French with other Romance languages. Which prompt refinement strategy would MOST likely improve language consistency?

Question 13mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer is designing a prompt for legal document analysis. The model should output JSON with a specific structure. Which TWO practices are essential to include in the prompt?

Question 14mediummulti select
Read the full Prompt Engineering explanation →

A developer is using Cohere Command R with document-grounded generation. Which THREE elements must be included in the prompt to enable effective document grounding?

Question 15hardmulti select
Read the full Prompt Engineering explanation →

A prompt engineer is iteratively refining a prompt for a summarization task. Which THREE practices should she adopt to improve prompt performance systematically?

Question 16easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants to ensure the model outputs a JSON object with specific keys. Which prompt component is most appropriate to specify this requirement?

Question 17mediummultiple choice
Read the full Prompt Engineering explanation →

A practitioner is developing a legal document summarization system and needs to reduce hallucinations. Which prompting technique is most effective for improving factual accuracy by exploring multiple reasoning paths?

Question 18hardmultiple choice
Read the full Prompt Engineering explanation →

A developer is using the Cohere Command model via OCI Generative AI and wants to ground responses in a specific uploaded document. Which syntax should be used in the preamble to enable document-grounded generation?

Question 19easymultiple choice
Read the full Prompt Engineering explanation →

Which parameter controls the randomness of the model's output by scaling the probability distribution before sampling?

Question 20mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is designing a system prompt for a customer support agent. The goal is to ensure the agent always responds in a polite, professional tone and never provides medical advice. Which approach best achieves this?

Question 21hardmultiple choice
Read the full Prompt Engineering explanation →

An AI application uses chain-of-thought prompting to solve math problems. The team observes that the model sometimes arrives at correct answers but with flawed reasoning. Which technique can specifically help by aggregating multiple reasoning paths?

Question 22mediummultiple choice
Read the full Prompt Engineering explanation →

Which prompt pattern is most suitable when a user needs to generate a structured report following a specific template every time?

Question 23mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is testing different versions of a prompt to improve accuracy on a classification task. Which practice is most appropriate for systematic refinement?

Question 24easymultiple choice
Read the full Prompt Engineering explanation →

Which prompting technique involves providing the model with a few examples of input-output pairs within the prompt to guide its behavior?

Question 25hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer notices that the model sometimes generates outputs that include parts of the system prompt or user message verbatim. This is likely a symptom of which common prompt failure?

Question 26mediummultiple choice
Read the full Prompt Engineering explanation →

In OCI Generative AI, when using the Cohere Command model, which parameter is used to discourage the model from repeating the same phrases?

Question 27easymultiple choice
Read the full Prompt Engineering explanation →

A developer wants the model to generate a bullet list of steps to troubleshoot a network issue. Which output format specification should be included in the prompt?

Question 28mediummulti select
Read the full Prompt Engineering explanation →

A data scientist is designing a prompt for code generation and needs to reduce the likelihood of the model generating incorrect or hallucinated code. Which two parameter adjustments are most effective? (Choose two.)

Question 29mediummulti select
Read the full Prompt Engineering explanation →

An organization maintains a library of prompt templates for various use cases. Which three practices are essential for effective prompt management? (Choose three.)

Question 30hardmulti select
Read the full Prompt Engineering explanation →

A prompt engineer is troubleshooting a chatbot that consistently fails to follow instructions when the user includes adversarial input. Which two strategies can mitigate prompt injection attacks? (Choose two.)

Question 31mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 32easymultiple choice
Read the full Prompt Engineering explanation →

What is the primary purpose of setting the 'top-k' parameter in an LLM?

Question 33hardmultiple choice
Read the full Prompt Engineering explanation →

A developer is using a Cohere Command model via OCI Generative AI. They want the model to generate responses strictly in JSON format for a specific task, but the model sometimes outputs additional explanatory text. Which prompt engineering technique is MOST effective?

Question 34mediummultiple choice
Read the full Prompt Engineering explanation →

A data scientist wants to generate a concise summary of a long legal document. The model should output a bullet list of key points. Which prompt component is LEAST important for this task?

Question 35mediummultiple choice
Read the full Prompt Engineering explanation →

Which prompting technique involves generating multiple independent reasoning paths and then selecting the most common answer?

Question 36hardmultiple choice
Read the full Prompt Engineering explanation →

An OCI Generative AI user notices that a model generates repetitive phrases when summarizing technical articles. Which parameter adjustment is MOST likely to reduce this repetition?

Question 37easymultiple choice
Read the full Prompt Engineering explanation →

What is the main advantage of using chain-of-thought (CoT) prompting over standard few-shot prompting for complex reasoning tasks?

Question 38mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is testing two versions of a prompt for a content generation task. They want to measure which version produces more factual and concise outputs. Which evaluation approach is BEST?

Question 39mediummultiple choice
Read the full Prompt Engineering explanation →

Which of the following is a common prompt injection vulnerability?

Question 40hardmultiple choice
Read the full Prompt Engineering explanation →

A developer uses a Cohere Command model with a preamble: 'You are a helpful assistant that answers questions based on the provided document.' They also include a user message with a query and a relevant document excerpt. However, the model often ignores the document and uses its own knowledge. Which improvement is MOST effective?

Question 41easymultiple choice
Read the full Prompt Engineering explanation →

In prompt engineering, what is the role of a system prompt?

Question 42mediummultiple choice
Read the full Prompt Engineering explanation →

A team wants to use a prompt pattern that combines reasoning with acting, where the model alternates between thinking and taking actions (e.g., tool calls). Which pattern fits this requirement?

Question 43mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer is designing a system to answer customer queries using OCI Generative AI. They want to ensure the model's responses are concise, accurate, and consistent. Which TWO prompt engineering practices should they implement? (Select two.)

Question 44hardmulti select
Read the full Prompt Engineering explanation →

An OCI user is troubleshooting a prompt that sometimes produces outputs containing offensive language. The prompt uses a system prompt to set a professional tone. Which THREE steps should the user take to mitigate this issue? (Select three.)

Question 45mediummulti select
Read the full Prompt Engineering explanation →

A company uses OCI Generative AI to generate product descriptions in XML format. The engineer wants to improve adherence to the XML schema. Which THREE prompt components are most critical? (Select three.)

Question 46mediummultiple choice
Read the full Prompt Engineering explanation →

A data scientist wants to generate a response that lists top-3 product features in a bulleted format with no introductory text. Which prompt engineering technique should be used?

Question 47easymultiple choice
Read the full Prompt Engineering explanation →

What is the primary benefit of using a system prompt to set the persona and tone before the user message?

Question 48mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is using Cohere Command to answer questions grounded in internal technical manuals. They want to ensure the model only answers based on the provided documents and does not use its pre-trained knowledge. Which Cohere-specific technique should be applied?

Question 49hardmultiple choice
Read the full Prompt Engineering explanation →

An AI engineer is designing a prompt that requires the model to solve a complex math problem. They want the model to explore multiple reasoning paths and then aggregate the final answer. Which prompting technique BEST fits this requirement?

Question 50mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer notices that the model's output frequently repeats the same phrases. Which parameter adjustment is MOST likely to reduce this repetition?

Question 51easymultiple choice
Read the full Prompt Engineering explanation →

What is the PRIMARY purpose of the 'stop sequences' parameter in text generation?

Question 52mediummultiple choice
Read the full Prompt Engineering explanation →

A team wants to create a prompt library for their organization's LLM applications. Which practice is MOST important for maintaining prompt quality over time?

Question 53hardmultiple choice
Read the full Prompt Engineering explanation →

During iterative refinement, a prompt engineer tests two prompt variants on the same 100 inputs and measures accuracy. Variant A yields 85% accuracy, Variant B yields 82%. However, Variant B's outputs are more concise and preferred by users. What should the engineer do NEXT?

Question 54easymultiple choice
Read the full Prompt Engineering explanation →

Which of the following is an example of a prompt template?

Question 55mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants to reduce the model's tendency to generate overly creative or off-topic responses when summarizing financial reports. Which parameter adjustment is MOST appropriate?

Question 56hardmultiple choice
Read the full Prompt Engineering explanation →

Which scenario BEST describes a prompt injection vulnerability?

Question 57mediummultiple choice
Read the full Prompt Engineering explanation →

A developer needs to extract structured data from news articles in JSON format, but the model occasionally outputs extra fields or omits required fields. Which prompt engineering approach would MOST reliably enforce the exact schema?

Question 58mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer is designing a system that generates step-by-step recipes for users. Which TWO prompt patterns are MOST relevant for this task?

Question 59hardmulti select
Read the full Prompt Engineering explanation →

A team is troubleshooting a chatbot that sometimes outputs harmful content despite having a system prompt with safety instructions. Which THREE measures should they implement to reduce the risk?

Question 60mediummulti select
Read the full Prompt Engineering explanation →

A company wants to use Cohere Command for a customer support chatbot that references a knowledge base. The chatbot must maintain conversational context across multiple turns. Which TWO Cohere-specific features should they use?

Question 61mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 62easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants to generate a JSON object from an LLM response. Which prompt component is MOST critical to ensure the output is valid JSON?

Question 63mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is using Cohere Command R in OCI to build a question-answering system over a large set of documents. They want the model to generate answers grounded in the provided documents. Which syntax should they use in the prompt to properly ground the model's responses?

Question 64hardmultiple choice
Read the full Prompt Engineering explanation →

An LLM application generates product descriptions. The output is sometimes repetitive (e.g., 'innovative' appears multiple times). Which parameter adjustment is MOST likely to reduce this repetition without harming creativity?

Question 65easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineering team is designing a system prompt for a chatbot that should adopt a professional and concise tone. Which prompt pattern is BEST suited for this requirement?

Question 66mediummultiple choice
Read the full Prompt Engineering explanation →

A data scientist is using OCI Generative AI to generate synthetic data for training. They observe that the model's outputs lack diversity and often repeat the same phrases. Which combination of parameter adjustments would BEST increase output diversity?

Question 67hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is developing a multi-step reasoning application using the ReAct pattern. The model sometimes outputs incomplete reasoning or forgets to perform an action. Which improvement to the prompt is MOST likely to address this issue?

Question 68mediummultiple choice
Study the full Python automation breakdown →

A team is building a code generation assistant that should output Python code without any explanations. They want to ensure the model only returns the code block. Which prompt strategy is MOST effective?

Question 69mediummultiple choice
Read the full Prompt Engineering explanation →

An application uses an LLM to summarize legal documents. The summaries sometimes include hallucinations (details not in the original text). Which prompt engineering technique is MOST effective at reducing hallucinations?

Question 70hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is designing a system that generates SQL queries from natural language. The model sometimes produces unsafe queries (e.g., DROP TABLE). Which constraint in the system prompt would BEST mitigate this risk?

Question 71easymultiple choice
Read the full Prompt Engineering explanation →

A developer wants the LLM to solve a math problem by reasoning step by step. Which prompting technique should they use?

Question 72mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is iteratively refining a prompt for a product review summarizer. They want to test which prompt version yields the most accurate summaries. Which approach should they use?

Question 73mediummulti select
Read the full Prompt Engineering explanation →

A company is building a chatbot that must maintain a professional tone and avoid discussing off-topic subjects. Which TWO prompt engineering approaches should they combine to enforce these requirements?

Question 74hardmulti select
Read the full Prompt Engineering explanation →

A prompt engineer is using the self-consistency technique to improve answer reliability. Which THREE steps are essential when implementing self-consistency?

Question 75mediummulti select
Read the full Prompt Engineering explanation →

A prompt library manager wants to implement version control for prompt templates used across multiple applications. Which THREE practices should they adopt?

Question 76mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 77easymultiple choice
Read the full Prompt Engineering explanation →

What is the primary purpose of setting a low temperature (e.g., 0.1) when generating text with an LLM?

Question 78hardmultiple choice
Read the full Prompt Engineering explanation →

A developer is using Cohere Command R+ via OCI Generative AI and wants to ground answers in a provided set of documents using the `documents` parameter. Which prompt structure ensures the model correctly adheres to the documents?

Question 79mediummultiple choice
Read the full Prompt Engineering explanation →

An AI engineer is designing a prompt to generate a report summary. The prompt currently says: 'Summarize the following text.' The output is often too verbose. Which modification would best enforce a concise, bullet-list format?

Question 80easymultiple choice
Read the full Prompt Engineering explanation →

Which prompting technique involves providing the model with a small set of input-output examples within the prompt to guide its behavior?

Question 81hardmultiple choice
Read the full Prompt Engineering explanation →

A data scientist is using self-consistency decoding to improve the accuracy of a reasoning task. Which of the following best describes the process?

Question 82mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants the LLM to adopt the persona of a 'friendly customer support agent' for all interactions. Which approach is most effective?

Question 83mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is tuning parameters for a text-generation model and wants to reduce the likelihood of the same phrase appearing repeatedly. Which parameter should be adjusted?

Question 84easymultiple choice
Read the full Prompt Engineering explanation →

What is the primary goal of chain-of-thought prompting?

Question 85mediummultiple choice
Read the full Prompt Engineering explanation →

A developer notices that an LLM occasionally generates harmful or biased responses despite a system prompt instructing it to be safe. Which technique can help mitigate this at inference time without retraining?

Question 86hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is designing a ReAct pattern prompt to enable an LLM to use external tools. Which of the following is a key characteristic of the ReAct pattern?

Question 87mediummultiple choice
Read the full Prompt Engineering explanation →

An organization wants to ensure that prompts submitted to an LLM do not contain sensitive customer data. Which practice is most effective?

Question 88mediummulti select
Read the full Prompt Engineering explanation →

A data scientist is iteratively refining a prompt for a text classification task. Which TWO practices are essential for systematic prompt improvement?

Question 89hardmulti select
Read the full Prompt Engineering explanation →

A developer is using tree-of-thought prompting to solve a complex planning problem. Which THREE characteristics are typical of tree-of-thought?

Question 90easymulti select
Read the full Prompt Engineering explanation →

Which TWO of the following are common prompt failures?

Question 91mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 92easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants the LLM to output a list of countries in a specific JSON format with fields 'country_code' and 'name'. Which prompt component should be used to define this structure?

Question 93hardmultiple choice
Read the full Prompt Engineering explanation →

When using Cohere Command models on OCI Generative AI, a developer wants to ground a response based on a provided document. Which syntax should be used to embed document content in the prompt?

Question 94mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is using chain-of-thought prompting to solve a multi-step math problem. The model produces an incorrect final answer, but the intermediate reasoning steps appear logical. Which technique should be applied to improve accuracy?

Question 95easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants the model to adopt a formal and authoritative tone when generating financial reports. Which approach is MOST effective?

Question 96mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is using a prompt template that includes placeholders like {context} and {question}. They want to version these templates for A/B testing. Which practice is BEST for managing prompt templates?

Question 97hardmultiple choice
Read the full Prompt Engineering explanation →

During iterative prompt refinement, a team evaluates two prompt variants on 100 test queries. Variant A scores 85% accuracy but occasionally generates offensive content. Variant B scores 80% accuracy with no safety issues. Which evaluation criterion should take priority for a customer-facing application?

Question 98mediummultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer wants to generate a poem in a specific rhyming scheme (ABAB). Which combination of prompt components is LEAST likely to succeed?

Question 99easymultiple choice
Read the full Prompt Engineering explanation →

Which parameter controls the randomness of the model's output by adjusting the probability distribution of the next token?

Question 100hardmultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer is designing a system that must extract structured data from unstructured text. The model occasionally outputs extra text beyond the required JSON. Which parameter should be adjusted to enforce strict output format?

Question 101mediummultiple choice
Read the full Prompt Engineering explanation →

A developer is using the ReAct pattern to build a reasoning agent. Which of the following best describes the two main steps in this pattern?

Question 102easymultiple choice
Read the full Prompt Engineering explanation →

Which prompting technique involves providing the model with a small number of input-output examples within the prompt to guide its behavior?

Question 103mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer is refining a prompt that currently produces outputs with excessive repetition. Which TWO parameters can be adjusted to reduce repetition? (Choose two.)

Question 104hardmulti select
Read the full Prompt Engineering explanation →

A team is building a legal document summarization system using OCI Generative AI. They need to ensure high accuracy and adherence to strict output formatting. Which THREE practices should they adopt? (Choose three.)

Question 105mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer is testing a new prompt for a Q&A system. The prompt includes ambiguous wording that causes the model to answer inconsistently. Which TWO steps should the engineer take to resolve this? (Choose two.)

Question 106mediummultiple choice
Read the full Prompt Engineering explanation →

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

Question 107easymultiple choice
Read the full Prompt Engineering explanation →

Which prompt engineering technique involves providing the model with a few input-output examples within the prompt to guide its response?

Question 108hardmultiple choice
Read the full Prompt Engineering explanation →

A developer is using the Cohere Command model to build a Q&A system that must ground answers in provided documents. Which syntax should be used to indicate the document text in the user message?

Question 109mediummultiple choice
Read the full Prompt Engineering explanation →

When tuning the temperature parameter for a text generation task, which effect does setting temperature to 0.1 have compared to 0.9?

Question 110easymultiple choice
Read the full Prompt Engineering explanation →

A prompt engineer notices that the model's responses are frequently repetitive and contain redundant phrases. Which parameter adjustment is MOST likely to reduce this repetition?

Question 111hardmultiple choice
Read the full Prompt Engineering explanation →

A developer is using the Cohere Command R model with a preamble set to "You are a helpful assistant." The user message contains a question. The model's response is factual but lacks detail. To encourage more comprehensive answers, which modification should be made?

Question 112easymulti select
Read the full Prompt Engineering explanation →

A prompt engineer wants to use chain-of-thought prompting to improve arithmetic reasoning. Which TWO steps are essential for implementing this technique?

Question 113mediummulti select
Read the full Prompt Engineering explanation →

Which TWO parameters directly control the randomness and diversity of generated tokens?

Question 114mediummulti select
Read the full Prompt Engineering explanation →

A company is building a code generation assistant. They want the model to output only valid JSON and to avoid any natural language explanations. Which TWO settings should be applied?

Question 115hardmulti select
Read the full Prompt Engineering explanation →

A prompt engineer is using the ReAct pattern to enable the model to reason and act (e.g., call tools). Which THREE components are essential in the prompt to implement ReAct correctly?

Question 116mediummulti select
Read the full Prompt Engineering explanation →

Which THREE are common prompt failures that can degrade model performance?

Question 117hardmulti select
Read the full Prompt Engineering explanation →

A team is iteratively refining a prompt for a summarization task. Which THREE activities are essential for effective iterative prompt refinement?

Question 118easymulti select
Read the full Prompt Engineering explanation →

Which TWO are benefits of using few-shot prompting compared to zero-shot prompting?

Question 119mediummulti select
Read the full Prompt Engineering explanation →

A prompt engineer wants to use the self-consistency technique to improve answer reliability. Which THREE steps are part of implementing self-consistency?

Question 120mediummulti select
Read the full Prompt Engineering explanation →

Which TWO are best practices for prompt management in production environments?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

1Z0-1127 Practice Test 1 — 25 Questions→1Z0-1127 Practice Test 2 — 25 Questions→1Z0-1127 Practice Test 3 — 25 Questions→1Z0-1127 Practice Test 4 — 25 Questions→1Z0-1127 Practice Test 5 — 25 Questions→1Z0-1127 Practice Exam 1 — 20 Questions→1Z0-1127 Practice Exam 2 — 20 Questions→1Z0-1127 Practice Exam 3 — 20 Questions→1Z0-1127 Practice Exam 4 — 20 Questions→Free 1Z0-1127 Practice Test 1 — 30 Questions→Free 1Z0-1127 Practice Test 2 — 30 Questions→Free 1Z0-1127 Practice Test 3 — 30 Questions→1Z0-1127 Practice Questions 1 — 50 Questions→1Z0-1127 Practice Questions 2 — 50 Questions→1Z0-1127 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Prompt EngineeringOCI Generative AI ServiceLLM FundamentalsLangChain and AI Application DevelopmentFundamentals of Large Language ModelsUsing OCI Generative AI ServiceBuilding LLM Applications with RAG and Vector SearchDeploying and Managing Generative AI on OCI

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Prompt Engineering setsAll Prompt Engineering questions1Z0-1127 Practice Hub