<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ashutosh Verma</title>
    <description>The latest articles on DEV Community by Ashutosh Verma (@atinfosec).</description>
    <link>https://dev.to/atinfosec</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2491151%2F36563174-5cfc-418d-b591-3834ac350e01.png</url>
      <title>DEV Community: Ashutosh Verma</title>
      <link>https://dev.to/atinfosec</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atinfosec"/>
    <language>en</language>
    <item>
      <title>Prompt Engineering For Developers - In a Nutshell</title>
      <dc:creator>Ashutosh Verma</dc:creator>
      <pubDate>Thu, 15 Jan 2026 05:31:18 +0000</pubDate>
      <link>https://dev.to/atinfosec/prompt-engineering-for-developers-in-a-nutshell-1bh</link>
      <guid>https://dev.to/atinfosec/prompt-engineering-for-developers-in-a-nutshell-1bh</guid>
      <description>&lt;h2&gt;
  
  
  Two type of LLM
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Base LLM (Pre-trained LLMs)&lt;/strong&gt; - Base LLMs undergo pre-training on massive unlabeled text datasets to predict the next word or token, gaining broad language understanding and knowledge. These models excel at tasks like text completion or generation but often respond loosely to prompts, producing generalized or unpredictable outputs without specific guidance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instruction Tuned LLM&lt;/strong&gt; - Instruction-tuned LLMs start from a base model and undergo supervised fine-tuning on datasets of instruction-response pairs, teaching them to follow explicit user directives like “summarize” or “explain.” This process, often enhanced by reinforcement learning from human feedback (RLHF), improves precision, reduces hallucinations, and enables better handling of diverse tasks such as question-answering or step-by-step reasoning.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Guidelines
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Principle-1: Write clear and specific instructions&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use delimiters&lt;/strong&gt; - such as triple quotes, backticks, angle brackets etc. to define what are instructions and what is the actual text on which task is to be performed in your prompt&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ask for structured output&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Check whether conditions are satisfied, check assumptions are required to do the task&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Few-shot prompting&lt;/strong&gt; - Give successful examples of completing tasks, then ask model to perform the task&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Principle-2: Give model time to think&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Specify the steps to complete a task&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Step-1: ______&lt;/p&gt;

&lt;p&gt;Step-2: ______&lt;/p&gt;

&lt;p&gt;……&lt;/p&gt;

&lt;p&gt;Step-N: ______&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Instruct the model to workout its own solution before rushing to a conclusion&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Ask model to solve the problem itself first, then compare with your given solution. &lt;/p&gt;

&lt;p&gt;For example, to solve a maths problem give the question first then ask model to solve the question first and also give your solution for comparison in your prompt&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;LLM might not have memorized the information it has seen while training. So sometimes it gives plausible response but not actually true&lt;/li&gt;
&lt;li&gt;Hallucinations → Make statements that sound plausible but not true&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Iterative Prompt Development
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiw9wxasvydumcjeve9zj.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiw9wxasvydumcjeve9zj.webp" alt=" " width="800" height="380"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Source: deeplearning.ai&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt guidelines&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Be clear and specific&lt;/li&gt;
&lt;li&gt;Analyze why result does not give desired output&lt;/li&gt;
&lt;li&gt;Refine the idea and the prompt&lt;/li&gt;
&lt;li&gt;Repeat&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;→ Iteratively refine the prompt for the length and style&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Iterative Process&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Try something&lt;/li&gt;
&lt;li&gt;Analyze where the result does not give what you want&lt;/li&gt;
&lt;li&gt;Clarify instructions, give more time to think&lt;/li&gt;
&lt;li&gt;Refine prompts with a batch of examples&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  LLM Capabilities
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Summarizing&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inferring&lt;/strong&gt; → Identifying sentiments, identifying emotions, identifying anger, Extracting something, inferring topics from a text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transforming&lt;/strong&gt; → Translation, Tone transformation, Format conversion (e.g. - JSON to HTML), Spellcheck/grammar check&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expanding&lt;/strong&gt; → e.g. Customize the automated reply to a customer email&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chatbot&lt;/strong&gt; → Setting Role: system/assitant/user while chatting with the model&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhj8k7egtect48aw3emub.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhj8k7egtect48aw3emub.webp" alt=" " width="800" height="490"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Source: deeplearning.ai&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Reference: &lt;a href="https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/" rel="noopener noreferrer"&gt;https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>beginners</category>
      <category>llm</category>
    </item>
    <item>
      <title>How I Prepared for the AWS Cloud Practitioner Exam</title>
      <dc:creator>Ashutosh Verma</dc:creator>
      <pubDate>Mon, 15 Sep 2025 18:11:51 +0000</pubDate>
      <link>https://dev.to/atinfosec/how-i-prepared-for-the-aws-cloud-practitioner-exam-38f</link>
      <guid>https://dev.to/atinfosec/how-i-prepared-for-the-aws-cloud-practitioner-exam-38f</guid>
      <description>&lt;p&gt;Amazon Web Services (AWS) has always fascinated me with its brilliantly designed and impeccably organized cloud ecosystem. Every time I explore AWS, I am struck by how seamlessly all its components come together to create a reliable, scalable, and innovative platform. Its thoughtful architecture and vast array of services never cease to inspire awe, revealing the power and elegance behind one of the most transformative technologies of our time.&lt;/p&gt;

&lt;p&gt;For a long time, I have aspired to earn an AWS certification, but my limited knowledge held me back. Determined to change that, I began researching AWS certifications to understand which path would best suit my beginner level. That’s when I discovered the AWS Certified Cloud Practitioner exam—a perfect starting point for newcomers like me seeking to build a strong foundation in cloud computing.&lt;/p&gt;

&lt;p&gt;While exploring other people’s experiences with the AWS Certified Cloud Practitioner exam, I came across several highly recommended instructors, and one name that stood out was Stephane Maarek. Curious, I read up on him and his comprehensive course. Then, one day while browsing Udemy, I saw his course, bundled with six practice test papers, offered at a discounted price. Without hesitation or second thoughts about how I would find the time to study, I seized the opportunity and purchased the course.&lt;/p&gt;

&lt;p&gt;I began the course in June, immersing myself fully and taking handwritten notes—which I love—because writing helps me retain information better. To help with last-minute revision, I created a mind map on Miro, allowing me to quickly review and connect key concepts before the exam. After completing 4 to 5 sections, I went on a week-long trip, and upon returning, a busy spell at work made it challenging to find study time. Despite these interruptions, I resumed the course in August and was proud to complete it within the same month.&lt;/p&gt;

&lt;p&gt;Eager to take the exam as soon as possible, I crafted a strategic study plan. The course consisted of around 15 sections, so I grouped them into clusters of 2-3 based on their length and content. Since I could only study after office hours with about 2-3 hours available each day, I balanced each group thoughtfully—pairing a section that was easier to digest with one that was more challenging, or mixing shorter sections with longer ones. This approach helped me manage my study sessions effectively and keep the momentum going.&lt;/p&gt;

&lt;p&gt;In addition to covering the course material, I made it a point to find some free moments at work to review practice question dumps available on &lt;a href="https://github.com/kananinirav/AWS-Certified-Cloud-Practitioner-Notes/blob/master/practice-exam/practice-exam-1.md" rel="noopener noreferrer"&gt;Github&lt;/a&gt;. This helped me gain a clearer understanding of the exam pattern and types of questions. Whenever I encountered new or challenging topics, I took the initiative to research them further online, deepening my grasp of the subject.&lt;/p&gt;

&lt;p&gt;In the second week, I scheduled my exam for Sunday and committed to tackling all six practice papers—one each day of the week. I took each test in strict exam mode, completing it within the allotted 1.5 hours. After submitting each paper, I carefully reviewed my mistakes and studied the provided explanations. For every AWS service I encountered, I made detailed notes and researched a high-level overview online, using tools like Perplexity to deepen my understanding.  On Sunday, I took the exam at the testing center, passed, and received my certification on the same day.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tips for Preparing for the AWS Certified Cloud Practitioner Exam&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Get Hands-On Experience&lt;/strong&gt;&lt;br&gt;
Practice with popular and useful AWS services like EC2, Lambda, CloudWatch, CloudTrail, ECS, Route 53, and others. Hands-on experience helps reinforce concepts better than just reading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Focus on a High-Level Overview&lt;/strong&gt;&lt;br&gt;
Avoid getting overwhelmed by diving too deep into numerous white papers and documentation. Aim to understand the core concepts and purpose of each service since the exam tests your overall understanding. Detailed reading can come later when working on real projects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Follow Stephane Maarek &lt;a href="//udemy.com/course/aws-certified-cloud-practitioner-new/"&gt;Course&lt;/a&gt; &lt;/strong&gt;&lt;br&gt;
The course by instructor Stephane Maarek is comprehensive and covers almost all topics needed for the exam. His structured approach is highly recommended.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Review Official Exam Guidelines&lt;/strong&gt; &lt;br&gt;
After finishing the course, check the official AWS Certified Cloud Practitioner exam page and carefully read the in-scope services section to ensure you’re aligned with the exam requirements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Associate Keyword Definitions&lt;/strong&gt;&lt;br&gt;
Link every service with a concise keyword or definition to aid memorization, for example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS Config:&lt;/strong&gt; record configuration of resources&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Organizations:&lt;/strong&gt; multi-account management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudFormation:&lt;/strong&gt; infrastructure automation with YAML templates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Neptune:&lt;/strong&gt; Graph database&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;6. Learn From Others’ Experiences&lt;/strong&gt;&lt;br&gt;
Read blogs and experiences shared by other exam takers to explore various strategies. Choose the one that fits your learning style and personality best.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7urx12ld2upb29y0gp7q.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7urx12ld2upb29y0gp7q.jpg" title="My handwritten notes" alt="Handwritten Notes" width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtkma86kdpqome5sgz06.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtkma86kdpqome5sgz06.png" title="Certificate" alt="Certificate" width="800" height="617"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>learning</category>
      <category>beginners</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
