StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 5: AI & network operations/management

Writing prompts for a generative AI system: persona, instructions, data classification, output format

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

A prompt is the message you type to a generative AI tool, and the answer you get is only as good as what you ask. A good prompt has four parts: who the AI should act as (for example, an experienced network engineer), exactly what you want it to do, the information it should work from, and how you want the answer laid out, such as a table. It is like ordering at a café: 'something to drink' gets you a random guess, but 'a large iced tea, no sugar, to go' gets exactly what you want. And just as you would not read your bank PIN aloud to the barista, you remove passwords and private details before you paste anything in.

Jenna, a junior engineer at Lakeshore Insurance, has been staring at two routers that refuse to become OSPF neighbors for an hour. She opens the company's approved AI assistant and types 'why is OSPF broken'. Back comes a polite list of ten generic causes, none of which mention her routers. Her first instinct is to paste in both full running configurations, but she pauses: those files contain an authentication key, SNMP community strings and the company's public addresses. How does she write a prompt that gets a precise answer about her actual problem, without handing sensitive data to a tool that is not cleared to hold it?

Start with why prompting matters at all. A generative AI system responds to the prompt you give it, and the quality of its answer depends heavily on how clear that prompt is. A vague request such as 'fix my OSPF' leaves the model to guess the device type, the problem, what you already tried and what kind of answer you want, so it falls back on a generic checklist. A well-structured prompt gets more accurate, more useful output on the first try. The CCNA frames good prompting around a few elements: persona, instructions, context and data, and output format, together with handling data according to its classification.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan