<?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>Forem: Łukasz Pracki</title>
    <description>The latest articles on Forem by Łukasz Pracki (@lukaszpracki).</description>
    <link>https://forem.com/lukaszpracki</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%2F3739507%2F477ab2e6-4e5a-46c1-ad4d-91e71e0829fd.jpeg</url>
      <title>Forem: Łukasz Pracki</title>
      <link>https://forem.com/lukaszpracki</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lukaszpracki"/>
    <language>en</language>
    <item>
      <title>The easiest way to pass Google's Generative AI Leader exam</title>
      <dc:creator>Łukasz Pracki</dc:creator>
      <pubDate>Mon, 09 Mar 2026 10:28:18 +0000</pubDate>
      <link>https://forem.com/lukaszpracki/the-easiest-way-to-pass-googles-generative-ai-leader-exam-68a</link>
      <guid>https://forem.com/lukaszpracki/the-easiest-way-to-pass-googles-generative-ai-leader-exam-68a</guid>
      <description>&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%2F9pk6dv6dvc0umcrh50iv.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%2F9pk6dv6dvc0umcrh50iv.png" alt="Google Generative AI Leader certification badge" width="600" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  I've recently passed the Generative AI Leader from Google Cloud and here's what I think is the easiest way to obtain the certification.
&lt;/h4&gt;




&lt;p&gt;First of all, I think that the Gen AI Leader is a very good certification for everybody interested in the topic of Generative AI. If you've already had a chance to play with Gemini, Nano Banana or other Google's tools, and want to find a practical implementation for that new technology in your daily work, that exam is for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In my opinion, you just need two things to pass it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;be familiar with Google's Gen AI tools&lt;/li&gt;
&lt;li&gt;do a quick course on Gen AI from Google's Skills platform&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Be familiar with Google's Gen AI tools
&lt;/h3&gt;

&lt;p&gt;A lot of questions on the exam will test your knowledge of Google's product palette in the Gen AI realm. Therefore, it is a good idea to get familiar with them beforehand. Try Gemini, Nano Banana or just experiment with Google's AI Studio. &lt;br&gt;
Check the different options available in those tools, especially in AI Studio's Playground. Test the different models, tools and advanced settings and understand what they do.&lt;/p&gt;

&lt;p&gt;Links to check out:&lt;br&gt;
&lt;a href="https://gemini.google.com/app" rel="noopener noreferrer"&gt;https://gemini.google.com/app&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aistudio.google.com/" rel="noopener noreferrer"&gt;https://aistudio.google.com/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Do a quick course on Gen AI from Google's Skills platform
&lt;/h3&gt;

&lt;p&gt;Besides practical knowledge it is good to know the basics of how Gen AI works. Google released an excellent set of online courses that present Gen AI in a nutshell. Some of the concepts will sound familiar if you've already played with AI tools, and the rest will be a good supplement, filling up the knowledge gaps.&lt;br&gt;
Each part of the learning path concludes with a one-pager with the most important topics. This is very handy, but in my opinion it is a good idea to browse through the course after completion to look for some keywords that were not included in the one-pagers. &lt;/p&gt;

&lt;p&gt;Links to check out:&lt;br&gt;
&lt;a href="https://www.skills.google/paths/1951" rel="noopener noreferrer"&gt;https://www.skills.google/paths/1951&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;By following those 2 simple steps, you will increase your chances of passing the Generative AI Leader exam significantly. Good luck!&lt;/p&gt;

</description>
      <category>googlecloud</category>
      <category>gcp</category>
      <category>gemini</category>
      <category>ai</category>
    </item>
    <item>
      <title>GCP Undocumented: Fix Error 403: Permission to delete log notification rules denied</title>
      <dc:creator>Łukasz Pracki</dc:creator>
      <pubDate>Thu, 29 Jan 2026 12:56:59 +0000</pubDate>
      <link>https://forem.com/lukaszpracki/gcp-undocumented-fix-error-403-permission-to-delete-log-notification-rules-denied-4d6a</link>
      <guid>https://forem.com/lukaszpracki/gcp-undocumented-fix-error-403-permission-to-delete-log-notification-rules-denied-4d6a</guid>
      <description>&lt;p&gt;&lt;strong&gt;This is a part of a series where I post solutions to problems I solved when working with Google Cloud as a Cloud Engineer. In many cases, I couldn't find those fixes in the Internet myself, and I want to document them to act as a future reference.&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;I'm currently creating some Cloud Monitoring Alerting Policies using Terraform. The policy we'll discuss today is the one for &lt;strong&gt;Service Health&lt;/strong&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%2Fmiusjphfqgzuw3nxctmt.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%2Fmiusjphfqgzuw3nxctmt.png" alt="Google Cloud Service Health" width="800" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Service Health page lets you see any active issues with Google Cloud services affecting your workloads. &lt;/p&gt;




&lt;p&gt;You can easily create an alerting policy from that page, so you can receive a notification almost instantly, when something happens to Google's infrastructure running your applications.&lt;/p&gt;

&lt;p&gt;Here's an example of Terraform code for this alerting policy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;resource "google_monitoring_alert_policy" "service_health_alerts" {
  combiner     = "OR"
  display_name = "Service Health - All incidents, all updates"
  enabled      = true
  notification_channels = [
    google_monitoring_notification_channel.notification-channel-email.name,
  ]
  project     = var.scoping_project
  user_labels = {}

  alert_strategy {
    auto_close           = "1800s"
    notification_prompts = []

    notification_rate_limit {
      period = "300s"
    }
  }

  conditions { [redacted] }
  documentation { [redacted] }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Somehow all went well when I created the policy with code and applied it. The problem started when I tried to apply any changes to the Terraform resource - changes as simple as switching the policy from &lt;code&gt;enabled = true&lt;/code&gt; to &lt;code&gt;enabled = false&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;All I was getting with the &lt;code&gt;terraform apply&lt;/code&gt; command was the following error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;googleapi: Error 403: Permission to delete log notification rules denied (or the resource may not exist).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This exact error was not documented anywhere.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;It took me hours to find out but the solution is quite simple. &lt;/p&gt;

&lt;p&gt;To create the policy from code, I was using the account that had the Owner role on the monitoring project.&lt;/p&gt;

&lt;p&gt;The error came up when the &lt;code&gt;terraform apply&lt;/code&gt; command was issued with a GitHub Actions Service Account, which didn't have an Owner role. &lt;/p&gt;

&lt;p&gt;The Service Account was a Monitoring AlertPolicy Editor on this project, but that was not enough. To work with a Service Health alert policy, it also needed to be a &lt;strong&gt;Logs Configuration Writer&lt;/strong&gt; on the monitoring project.&lt;/p&gt;




&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;p&gt;Here's what I'll take out from this case:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Always verify which account you use to implement changes from the code.&lt;/li&gt;
&lt;li&gt;To create and change the alerting policy for Google Cloud Service Health monitoring, your principal needs two roles: &lt;strong&gt;Monitoring AlertPolicy Editor&lt;/strong&gt; and &lt;strong&gt;Logs Configuration Writer&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>googlecloud</category>
      <category>gcp</category>
      <category>cloudcomputing</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
