<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pankaj K on Medium]]></title>
        <description><![CDATA[Stories by Pankaj K on Medium]]></description>
        <link>https://medium.com/@pankaj.davim?source=rss-83909dbe2020------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rHiMXaCMx-vLi9c88VvFTA.jpeg</url>
            <title>Stories by Pankaj K on Medium</title>
            <link>https://medium.com/@pankaj.davim?source=rss-83909dbe2020------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:05:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pankaj.davim/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Solutions Architect- Associate [Roadmap for preparation]]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/pankaj-khuranas-blog/aws-solutions-architect-associate-roadmap-for-preparation-32c15a23184b?source=rss-83909dbe2020------2"><img src="https://cdn-images-1.medium.com/max/750/1*ohz2S1ls92Y1lbycj6EO2g.jpeg" width="750"></a></p><p class="medium-feed-snippet">After completing a couple of Google Cloud Certifications, I decided to expand my footprints in Cloud and enter the dominant world of AWS&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/pankaj-khuranas-blog/aws-solutions-architect-associate-roadmap-for-preparation-32c15a23184b?source=rss-83909dbe2020------2">Continue reading on Pankaj Khurana’s Blog »</a></p></div>]]></description>
            <link>https://medium.com/pankaj-khuranas-blog/aws-solutions-architect-associate-roadmap-for-preparation-32c15a23184b?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/32c15a23184b</guid>
            <category><![CDATA[solution-architect]]></category>
            <category><![CDATA[aws-architect]]></category>
            <category><![CDATA[aws-certified]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Mon, 24 Feb 2020 21:34:58 GMT</pubDate>
            <atom:updated>2020-02-25T00:16:26.788Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Pragmatic RESTful API — Design Principles]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/pankaj-khuranas-blog/pragmatic-restful-api-design-principles-1c12f2bc85f3?source=rss-83909dbe2020------2"><img src="https://cdn-images-1.medium.com/max/715/1*hvVvV-c0bzq9l78fBmlKjA.jpeg" width="715"></a></p><p class="medium-feed-snippet">This is nearly impossible that you haven&#x2019;t come across the term &#x2018;Rest API&#x2019; if you have ever thought about getting data from other sources&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/pankaj-khuranas-blog/pragmatic-restful-api-design-principles-1c12f2bc85f3?source=rss-83909dbe2020------2">Continue reading on Pankaj Khurana’s Blog »</a></p></div>]]></description>
            <link>https://medium.com/pankaj-khuranas-blog/pragmatic-restful-api-design-principles-1c12f2bc85f3?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c12f2bc85f3</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[api-design]]></category>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Mon, 02 Sep 2019 04:36:00 GMT</pubDate>
            <atom:updated>2019-09-02T04:43:15.028Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Google Cloud Professional Data Engineer — Roadmap for preparation]]></title>
            <link>https://medium.com/globallogic-cloud-and-devops-blogs/google-cloud-professional-data-engineer-roadmap-for-preparation-94e881d43382?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/94e881d43382</guid>
            <category><![CDATA[big-data-services]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[data-engineer]]></category>
            <category><![CDATA[google-cloud-ml]]></category>
            <category><![CDATA[big-data-solutions]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Thu, 07 Feb 2019 19:30:42 GMT</pubDate>
            <atom:updated>2019-02-07T19:30:42.326Z</atom:updated>
            <content:encoded><![CDATA[<h3>Google Cloud Professional Data Engineer — Roadmap for preparation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*AN0AsI6q4ZOVprcFmiE2rg.png" /></figure><p>After being certified as Google Cloud Professional Architect, I wanted to continue the momentum and conquer upon “<a href="https://cloud.google.com/certification/data-engineer">Google Cloud Certified — Professional Data Engineer</a>” certification as well. It took me approx 1.5 months (along with my full-time job) realistically to prepare for the cert and to feel confident before giving it a shot.</p><p>For those of you familiar with Google’s Cloud Architect exam, in my opinion, the Data Engineer exam questions are slightly more difficult but the scope is much much smaller. The Data Engineer certification covers a wide range of subjects including Google Cloud Platform data storage, analytical, machine learning, and data processing products. Here is what all is covered:</p><h4>Cloud Storage and Cloud Datastore</h4><p>Surprisingly, these products are not covered much in the exam, perhaps because they are covered more extensively in the Cloud Architect exam. Just know the basic concepts of each product and when it is appropriate (or not appropriate) to use each product, and you should be well covered.</p><h4>Cloud SQL</h4><p>There were surprisingly few questions on this product in the exam. If you have practical experience using the product, you should be fine to answer any questions that may come up. As with questions related to other data storage products, be sure to know in what scenarios it is appropriate to use Cloud SQL and when it would be more appropriate to use Datastore, Bigquery, Bigtable, etc.</p><h4>Bigtable</h4><p>This product is covered quite extensively in the exam. You should at least know the basic concepts of the product, such as</p><ul><li>how to <a href="https://cloud.google.com/bigtable/docs/schema-design">design an appropriate schema and row key</a></li><li><a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes">Instances, Cluster and Nodes</a></li><li>whether Bigtable supports transactions and ACID operations</li><li><a href="https://cloud.google.com/bigtable/docs/cbt-overview">CBT tool</a></li><li><a href="https://cloud.google.com/bigtable/docs/schema-design-time-series">Schema design for time series data</a></li><li><a href="https://cloud.google.com/bigtable/docs/access-control">Access control in Bigtable</a></li><li>what the <a href="https://cloud.google.com/bigtable/quotas">size limits for Bigtable</a> are (cell and row size, maximum number of tables, etc).</li></ul><h4>BigQuery</h4><p>BigQuery will be covered in greater details in exam. If you know BigQuery, you will be able to answer approximately 40% questions in exam. You should know about:</p><ul><li>the basic capabilities of BigQuery and what kind of problem domains it is suitable for.</li><li>BigQuery security and the level at which security can be applied (project and datastore level, but not table or view level)</li><li><a href="https://cloud.google.com/bigquery/docs/partitioned-tables">Partitioned tables</a>, <a href="https://cloud.google.com/bigquery/docs/querying-wildcard-tables">wildcard queries</a> (“backtick” syntax)</li><li><a href="https://cloud.google.com/bigquery/docs/views-intro">Views</a> and their usage scenarios</li><li><a href="https://cloud.google.com/bigquery/docs/storing-data">Importing/Exporting</a> data to/from BigQuery</li><li>have an understanding of the methods available to connect external systems or tools to BigQuery for analytics purposes</li><li>how the BigQuery billing model works, and who gets billed when queries cross project and billing account boundaries</li><li><a href="https://cloud.google.com/bigquery/docs/access-control">Access control in BigQuery</a></li><li>BigQuery <a href="https://cloud.google.com/bigquery/docs/best-practices-costs">best practices</a></li><li><a href="https://cloud.google.com/bigquery/query-plan-explanation">Query plan explanation</a></li><li><a href="https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql">Legacy v/s Standard SQL</a></li></ul><h4>Pub/Sub</h4><p>The exam contains lots of questions on this product, but all reasonably high level so it’s just important to know the basic concepts (topics, subscriptions, push and pull delivery flows, etc). Most importantly you should know when it is appropriate to introduce Pub/Sub as a messaging layer in an architecture, for a given set of requirements.</p><h4>Apache Hadoop</h4><p>Technically not part of Google Cloud Platform, but there are a few questions around this technology in the exam, since it is the underlying technology for Dataproc. Expect some questions on what HDFS, Hive, Pig, Oozie or Sqoop are, but basic knowledge on what each technology is and when to use it should be sufficient.</p><h4>Cloud Dataflow</h4><p>Lots of questions on this product, which is not surprising as it is a key area of focus for Google with regard to data processing on Google Cloud Platform. In addition to knowing the basic capabilities of the product, you will also need to understand concepts like:</p><ul><li><a href="https://beam.apache.org/documentation/programming-guide/#windowing">Windowing</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#watermarks-and-late-data">Watermarks and late data</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#triggers">Triggers</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#applying-transforms">Applying transforms</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#pcollections">PCollections</a>, etc.</li></ul><h4>Cloud Dataproc</h4><p>Not many questions on this besides the Hadoop questions mentioned above. Just be sure to understand the differences between Dataproc and Dataflow and when to use one or the other. Dataflow is typically preferred for a new development, whereas Dataproc would be required if migrating existing on-premise Hadoop or Spark infrastructure to Google Cloud Platform without redevelopment efforts.</p><h4>TensorFlow, Machine Learning, Cloud DataLab</h4><p>The exam contains a significant amount of questions on this. You should understand all the basic concepts of designing and developing a machine learning solution on TensorFlow, including concepts such data correlation analysis in Datalab, and overfitting and how to correct it. Detailed TensorFlow or Cloud ML programming knowledge is not required but a good understanding of machine learning design and implementation is important.</p><h4>Stackdriver</h4><p>A surprising numbers of questions on this, given that Stackdriver is more of an “ops” product than a “data engineering” product. Be sure to know the sub-products of Stackdriver (Debugger, Error Reporting, Alerting, Trace, Logging), what they do and when they should be used.</p><h4>Data Studio</h4><p>Not many questions on this besides <a href="https://support.google.com/datastudio/answer/7020039?hl=en">caching concepts</a>, setting up metrics, dimensions and filters in a report.</p><h3>How Do I Prepare?</h3><p>Here is a number of reference courses that I went through:</p><ul><li><strong>Coursera — </strong><a href="https://www.coursera.org/specializations/gcp-data-machine-learning"><strong>Data Engineering on GCP Specialization</strong></a><strong> Course</strong></li></ul><p>This course is divided into 5 modules with increasing complexity. The courses are driven by<a href="https://www.linkedin.com/in/valliappalakshmanan/"> Valliappa Lakshmanan</a> from Google. He does a pretty great job overall. Modules are shaped initially with slides and discussion, followed by Labs run through <a href="https://codelabs.developers.google.com/">Google Codelabs</a> which is a free to use training platform for hands-on labs in the Google Cloud Platform. I would highly recommend these labs.</p><p>Although, this is the official Google course for the certification, but this will not be enough for the certification.</p><ul><li><strong>Linux Academy — </strong><a href="https://linuxacademy.com/linux/training/course/name/google-cloud-data-engineer"><strong>GCP Data Engineer</strong></a><strong> Course</strong></li></ul><p>This course is driven by <a href="https://www.linkedin.com/in/matthewulasien/">Matthew Ulasien</a> and he did really well in this course. This course is a must do course to understand variety of questions that you may encounter related to <a href="https://cloud.google.com/certification/guides/data-engineer/#sample-case-study">official case studies</a> by Google. Also, the quizzes are good enough to test your readiness for the exam. High recommend this course.</p><ul><li><strong>Cloud Academy — </strong><a href="https://cloudacademy.com/learning-paths/data-engineer-professional-certification-preparation-for-google-83/"><strong>Data Engineer</strong></a><strong> course</strong></li></ul><p>Last week refresher. Greatly covers ML concepts and the related questions you may encounter.</p><ul><li><strong>Official Case Studies</strong></li></ul><p>Google has officially shared 2 <a href="https://cloud.google.com/certification/guides/data-engineer/#sample-case-study">case studies</a>. Read them thoroughly and prepare yourself for all possible questions that may appear. Approx. 20% of exam questions will come from these case studies.</p><ul><li><strong>Official Practice exam</strong></li></ul><p>Once you feel confident enough to go for exam, run over this <a href="https://cloud.google.com/certification/practice-exam/data-engineer">practice exam</a> shared by Google.</p><h3>Additional Resources</h3><ul><li><a href="https://www.youtube.com/playlist?list=PLIivdWyY5sqLq-eM4W2bIgbrpAsP5aLtZ">Google Cloud Next 2017 videos for Big Data and Machine Learning</a></li><li><a href="https://cloud.google.com/certification/data-engineer">Official Data Engineer exam page from Google</a></li><li>Google <a href="https://cloud.google.com/blog/products/data-analytics">Cloud blogs</a></li><li>Google <a href="https://medium.com/google-cloud">Cloud blogs on Medium</a></li><li><a href="http://gcp.solutions/">Sample solutions</a> given by Google</li></ul><p>Best of luck for your preparation and exam :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94e881d43382" width="1" height="1" alt=""><hr><p><a href="https://medium.com/globallogic-cloud-and-devops-blogs/google-cloud-professional-data-engineer-roadmap-for-preparation-94e881d43382">Google Cloud Professional Data Engineer — Roadmap for preparation</a> was originally published in <a href="https://medium.com/globallogic-cloud-and-devops-blogs">GlobalLogic Cloud and DevOps Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Cloud Professional Data Engineer — Roadmap for preparation]]></title>
            <link>https://medium.com/pankaj-khuranas-blog/google-cloud-professional-data-engineer-roadmap-for-preparation-fe4c3c8cc3db?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe4c3c8cc3db</guid>
            <category><![CDATA[data-engineer]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[big-data-services]]></category>
            <category><![CDATA[big-data-solutions]]></category>
            <category><![CDATA[google-cloud-ml]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Mon, 04 Feb 2019 22:05:58 GMT</pubDate>
            <atom:updated>2019-02-04T22:05:58.393Z</atom:updated>
            <content:encoded><![CDATA[<h3>Google Cloud Professional Data Engineer — Roadmap for preparation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*cscEndosE7iPG7-91eStIQ.png" /></figure><p>After being certified as Google Cloud Professional Architect, I wanted to continue the momentum and conquer upon “<a href="https://cloud.google.com/certification/data-engineer">Google Cloud Certified — Professional Data Engineer</a>” certification as well. It took me approx 1.5 months (along with my full-time job) realistically to prepare for the cert and to feel confident before giving it a shot.</p><p>For those of you familiar with Google’s Cloud Architect exam, in my opinion, the Data Engineer exam questions are slightly more difficult but the scope is much much smaller. The Data Engineer certification covers a wide range of subjects including Google Cloud Platform data storage, analytical, machine learning, and data processing products. Here is what all is covered:</p><h4>Cloud Storage and Cloud Datastore</h4><p>Surprisingly, these products are not covered much in the exam, perhaps because they are covered more extensively in the Cloud Architect exam. Just know the basic concepts of each product and when it is appropriate (or not appropriate) to use each product, and you should be well covered.</p><h4>Cloud SQL</h4><p>There were surprisingly few questions on this product in the exam. If you have practical experience using the product, you should be fine to answer any questions that may come up. As with questions related to other data storage products, be sure to know in what scenarios it is appropriate to use Cloud SQL and when it would be more appropriate to use Datastore, Bigquery, Bigtable, etc.</p><h4>Bigtable</h4><p>This product is covered quite extensively in the exam. You should at least know the basic concepts of the product, such as</p><ul><li>how to <a href="https://cloud.google.com/bigtable/docs/schema-design">design an appropriate schema and row key</a></li><li><a href="https://cloud.google.com/bigtable/docs/instances-clusters-nodes">Instances, Cluster and Nodes</a></li><li>whether Bigtable supports transactions and ACID operations</li><li><a href="https://cloud.google.com/bigtable/docs/cbt-overview">CBT tool</a></li><li><a href="https://cloud.google.com/bigtable/docs/schema-design-time-series">Schema design for time series data</a></li><li><a href="https://cloud.google.com/bigtable/docs/access-control">Access control in Bigtable</a></li><li>what the <a href="https://cloud.google.com/bigtable/quotas">size limits for Bigtable</a> are (cell and row size, maximum number of tables, etc).</li></ul><h4>BigQuery</h4><p>BigQuery will be covered in greater details in exam. If you know BigQuery, you will be able to answer approximately 40% questions in exam. You should know about:</p><ul><li>the basic capabilities of BigQuery and what kind of problem domains it is suitable for.</li><li>BigQuery security and the level at which security can be applied (project and datastore level, but not table or view level)</li><li><a href="https://cloud.google.com/bigquery/docs/partitioned-tables">Partitioned tables</a>, <a href="https://cloud.google.com/bigquery/docs/querying-wildcard-tables">wildcard queries</a> (“backtick” syntax)</li><li><a href="https://cloud.google.com/bigquery/docs/views-intro">Views</a> and their usage scenarios</li><li><a href="https://cloud.google.com/bigquery/docs/storing-data">Importing/Exporting</a> data to/from BigQuery</li><li>have an understanding of the methods available to connect external systems or tools to BigQuery for analytics purposes</li><li>how the BigQuery billing model works, and who gets billed when queries cross project and billing account boundaries</li><li><a href="https://cloud.google.com/bigquery/docs/access-control">Access control in BigQuery</a></li><li>BigQuery <a href="https://cloud.google.com/bigquery/docs/best-practices-costs">best practices</a></li><li><a href="https://cloud.google.com/bigquery/query-plan-explanation">Query plan explanation</a></li><li><a href="https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql">Legacy v/s Standard SQL</a></li></ul><h4>Pub/Sub</h4><p>The exam contains lots of questions on this product, but all reasonably high level so it’s just important to know the basic concepts (topics, subscriptions, push and pull delivery flows, etc). Most importantly you should know when it is appropriate to introduce Pub/Sub as a messaging layer in an architecture, for a given set of requirements.</p><h4>Apache Hadoop</h4><p>Technically not part of Google Cloud Platform, but there are a few questions around this technology in the exam, since it is the underlying technology for Dataproc. Expect some questions on what HDFS, Hive, Pig, Oozie or Sqoop are, but basic knowledge on what each technology is and when to use it should be sufficient.</p><h4>Cloud Dataflow</h4><p>Lots of questions on this product, which is not surprising as it is a key area of focus for Google with regard to data processing on Google Cloud Platform. In addition to knowing the basic capabilities of the product, you will also need to understand concepts like:</p><ul><li><a href="https://beam.apache.org/documentation/programming-guide/#windowing">Windowing</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#watermarks-and-late-data">Watermarks and late data</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#triggers">Triggers</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#applying-transforms">Applying transforms</a></li><li><a href="https://beam.apache.org/documentation/programming-guide/#pcollections">PCollections</a>, etc.</li></ul><h4>Cloud Dataproc</h4><p>Not many questions on this besides the Hadoop questions mentioned above. Just be sure to understand the differences between Dataproc and Dataflow and when to use one or the other. Dataflow is typically preferred for a new development, whereas Dataproc would be required if migrating existing on-premise Hadoop or Spark infrastructure to Google Cloud Platform without redevelopment efforts.</p><h4>TensorFlow, Machine Learning, Cloud DataLab</h4><p>The exam contains a significant amount of questions on this. You should understand all the basic concepts of designing and developing a machine learning solution on TensorFlow, including concepts such data correlation analysis in Datalab, and overfitting and how to correct it. Detailed TensorFlow or Cloud ML programming knowledge is not required but a good understanding of machine learning design and implementation is important.</p><h4>Stackdriver</h4><p>A surprising numbers of questions on this, given that Stackdriver is more of an “ops” product than a “data engineering” product. Be sure to know the sub-products of Stackdriver (Debugger, Error Reporting, Alerting, Trace, Logging), what they do and when they should be used.</p><h4><strong>Data Studio</strong></h4><p>Not many questions on this besides <a href="https://support.google.com/datastudio/answer/7020039?hl=en">caching concepts</a>, setting up metrics, dimensions and filters in a report.</p><h3><strong>How Do I Prepare?</strong></h3><p>Here is a number of reference courses that I went through:</p><ul><li><strong>Coursera — </strong><a href="https://www.coursera.org/specializations/gcp-data-machine-learning"><strong>Data Engineering on GCP Specialization</strong></a><strong> Course</strong></li></ul><p>This course is divided into 5 modules with increasing complexity. The courses are driven by<a href="https://www.linkedin.com/in/valliappalakshmanan/"> Valliappa Lakshmanan</a> from Google. He does a pretty great job overall. Modules are shaped initially with slides and discussion, followed by Labs run through <a href="https://codelabs.developers.google.com/">Google Codelabs</a> which is a free to use training platform for hands-on labs in the Google Cloud Platform. I would highly recommend these labs.</p><p>Although, this is the official Google course for the certification, but this will not be enough for the certification.</p><ul><li><strong>Linux Academy — </strong><a href="https://linuxacademy.com/linux/training/course/name/google-cloud-data-engineer"><strong>GCP Data Engineer</strong></a><strong> Course</strong></li></ul><p>This course is driven by <a href="https://www.linkedin.com/in/matthewulasien/">Matthew Ulasien</a> and he did really well in this course. This course is a must do course to understand variety of questions that you may encounter related to <a href="https://cloud.google.com/certification/guides/data-engineer/#sample-case-study">official case studies</a> by Google. Also, the quizzes are good enough to test your readiness for the exam. High recommend this course.</p><ul><li><strong>Cloud Academy — </strong><a href="https://cloudacademy.com/learning-paths/data-engineer-professional-certification-preparation-for-google-83/"><strong>Data Engineer</strong></a><strong> course</strong></li></ul><p>Last week refresher. Greatly covers ML concepts and the related questions you may encounter.</p><ul><li><strong>Official Case Studies</strong></li></ul><p>Google has officially shared 2 <a href="https://cloud.google.com/certification/guides/data-engineer/#sample-case-study">case studies</a>. Read them thoroughly and prepare yourself for all possible questions that may appear. Approx. 20% of exam questions will come from these case studies.</p><ul><li><strong>Official Practice exam</strong></li></ul><p>Once you feel confident enough to go for exam, run over this <a href="https://cloud.google.com/certification/practice-exam/data-engineer">practice exam</a> shared by Google.</p><h3>Additional Resources</h3><ul><li><a href="https://www.youtube.com/playlist?list=PLIivdWyY5sqLq-eM4W2bIgbrpAsP5aLtZ">Google Cloud Next 2017 videos for Big Data and Machine Learning</a></li><li><a href="https://cloud.google.com/certification/data-engineer">Official Data Engineer exam page from Google</a></li><li>Google <a href="https://cloud.google.com/blog/products/data-analytics">Cloud blogs</a></li><li>Google <a href="https://medium.com/google-cloud">Cloud blogs on Medium</a></li><li><a href="http://gcp.solutions/">Sample solutions</a> given by Google</li></ul><p>Best of luck for your preparation and exam :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe4c3c8cc3db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pankaj-khuranas-blog/google-cloud-professional-data-engineer-roadmap-for-preparation-fe4c3c8cc3db">Google Cloud Professional Data Engineer — Roadmap for preparation</a> was originally published in <a href="https://medium.com/pankaj-khuranas-blog">Pankaj Khurana’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Task Scheduling made easy by Google Cloud Scheduler — A managed cron service]]></title>
            <link>https://medium.com/pankaj-khuranas-blog/task-scheduling-made-easy-by-google-cloud-scheduler-a-managed-cron-service-136bdf8b3111?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/136bdf8b3111</guid>
            <category><![CDATA[cloud-scheduler]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cron-service-on-gcp]]></category>
            <category><![CDATA[gcp-scheduler]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Thu, 15 Nov 2018 21:22:51 GMT</pubDate>
            <atom:updated>2018-11-15T21:22:51.663Z</atom:updated>
            <content:encoded><![CDATA[<h3>Task Scheduling made easy by Google Cloud Scheduler — A managed cron service</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Ww9kXlGpgnUKf7dgN-wRqQ.jpeg" /></figure><p>Although late in the game but, Google Cloud is getting a managed cron service (though it had manual cron service for app engine) called <strong>Cloud Scheduler</strong>, ought to provide all the functionality of the kind of standard command-line cron service you probably love to hate, but with the reliability and ease of use of running as a managed service in cloud.</p><p><strong>Scheduling Services by major Public Cloud Providers</strong></p><p>AWS rolled out it’s <a href="https://aws.amazon.com/batch/">Batch service</a> (dedicated scheduler service) in late 2016. Microsoft’s <a href="https://azure.microsoft.com/en-us/services/scheduler/">Azure scheduler service</a> became generally available in late 2015. Now, Google Cloud Scheduler is another step in the positive direction by Google to attract enterprise customers which run large quantity of regular batch jobs such as database updates, backups and report generation.</p><p><strong>What is Google Cloud Scheduler?</strong></p><p>Cloud Scheduler is an enterprise grade job scheduler that will help you automate your jobs across various Google Services in a standard fashion and comes with retry mechanisms that you can configure. It can also trigger your jobs in a variety of ways and currently supports invoking a HTTP endpoint, send a message to Cloud Pub/Sub and trigger an internal App Engine URL. This service is in beta at this moment.</p><p><strong>How did we schedule jobs in GCP thus far?</strong></p><p>There were a couple of alternates available in GCP so far to schedule tasks.</p><ol><li>We have <a href="https://cloud.google.com/appengine/docs/standard/java/config/cron">App engine cron service</a> which can be used to schedule a task running on app engine or to raise a pub/sub message which <a href="https://cloud.google.com/solutions/reliable-task-scheduling-compute-engine">may further trigger a task running on compute engine VM</a>.</li><li>We can also have cron setup (using traditional command-line service on unix systems) on a compute engine VM machine as long as we have application running on one VM only. In case of distributed systems, this approach fails.</li></ol><p>All these approaches have some logistical overhead. For one, developers must manage the underlying infrastructure connected with cron and restart jobs manually if one doesn’t complete properly. And checking to see if a cron job has run successfully involves some manual labor. Google Cloud Scheduler claims to mask all this complexity.</p><p><strong>How to use Cloud Scheduler?</strong></p><p>From the GCP console main menu, visit the Cloud Scheduler page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/0*L3ldhjKh6mJUIt7l" /><figcaption>From Google Cloud Console main menu</figcaption></figure><p>Click on Cloud Scheduler option in Tools sub-menu. Since we don’t have any job as yet, we will see a dialog as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/0*uE2yJzhAadmJVuyW" /></figure><p>Click on <strong>Create Job </strong>and fill out the form that appears, see here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/0*TyX7vZa1kcDAKyHw" /></figure><p>Here are a few details about a few key fields shown above:</p><ul><li><strong>Name</strong>: Unique name across all jobs in the project.</li><li><strong>Frequency</strong>: Provide the cron expression using <a href="http://man7.org/linux/man-pages/man5/crontab.5.html">unix-cron format</a>. I kept it as * * * * * since I want to trigger this job every minute.</li><li><strong>Target</strong>: the Cloud Scheduler currently supports App Engine, HTTP and Pub/Sub. We will select Pub/Sub and once this job is triggered (as per schedule), a message will land on Pub/Sub topic, which subscriptions can listen to and start the desired batch job.</li><li><strong>Topic</strong>: pass the topic name. Please do create a topic with same name and a subscription for it.</li><li><strong>Payload</strong>: Pass a test message.</li></ul><p>Now click the <strong>Create </strong>button. This will create the job and job listing would be updated. Now, you can run this job from <a href="https://console.cloud.google.com/">GCP console</a> (as shown below), or from <a href="https://cloud.google.com/scheduler/docs/reference/rest/">Cloud Scheduler API</a>, or from CLI (such as <a href="https://cloud.google.com/shell/">Cloud Shell</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WhiHEnSSQtlt_O4M" /><figcaption>Jobs listing in Google Cloud Scheduler</figcaption></figure><p>You can even view logs of execution from console in stack driver.</p><p>Now, let’s verify the results.</p><ul><li>Go to cloud shell and execute the following command:</li></ul><pre>gcloud pubsub subscriptions pull cron-sub --limit 5</pre><p>Assuming your subscription name is <strong>cron-sub</strong>. You will see some test message results.</p><p><strong>Use Cases Covered</strong></p><p>Now that the scheduling a task/job has become seamless on GCP, it will help automate various enterprise use cases than ever before:</p><ol><li>Say; you have a moderate task (e.g. trigger database backup, trigger CI/CD pipelines, sending emails, trigger push notifications etc) to be performed on a scheduled basis:</li></ol><p>a) you may <a href="https://cloud.google.com/functions/">write a cloud functions</a> for the task functionality.</p><p>b) Use ‘HTTP’ as target while creating a job in Cloud Scheduler and pass cloud function URL to be invoked.</p><p>You could even have complex scheduling like run the Cloud Function every Monday, Wednesday and Friday at 06:00 AM.</p><p>2. Say; you have a heavy duty process (e.g. generate database reports etc) which needs to run on a Compute Engine VM on a scheduled basis:</p><p>a) Write/develop your process in any language of you choice and deploy on a VM.</p><p>b) Create a job on Cloud Scheduler having target as Pub/Sub, which on scheduled time will generate a message on pub/sub topic and it’s subscription can kick start the process on VM.</p><p><strong>Pricing</strong></p><p>Google provides developers with a free quota of three (3) jobs per month, per account. Additional jobs cost $0.10 per month. Note that the free tier is measured at the account level not the project level. For example, if your account has 5 projects with 2 jobs each, you will have 3 free jobs and 7 paid jobs. Follow <a href="https://cloud.google.com/scheduler/pricing">this</a> official pricing page for any changes in pricing in the future.</p><p><strong>Clean up</strong></p><p>Don’t forget to clean up scheduler jobs, pub/sub topic and subscription etc.</p><p>Please feel free to share your feedback or if you want more articles around this topic!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=136bdf8b3111" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pankaj-khuranas-blog/task-scheduling-made-easy-by-google-cloud-scheduler-a-managed-cron-service-136bdf8b3111">Task Scheduling made easy by Google Cloud Scheduler — A managed cron service</a> was originally published in <a href="https://medium.com/pankaj-khuranas-blog">Pankaj Khurana’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automate Infrastructure as Code with GCP Deployment Manager]]></title>
            <link>https://medium.com/pankaj-khuranas-blog/automate-infrastructure-as-code-with-gcp-deployment-manager-747bfc07d839?source=rss-83909dbe2020------2</link>
            <guid isPermaLink="false">https://medium.com/p/747bfc07d839</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cloud-infra-automation]]></category>
            <category><![CDATA[gcp-deployment-manager]]></category>
            <dc:creator><![CDATA[Pankaj K]]></dc:creator>
            <pubDate>Wed, 14 Nov 2018 03:03:27 GMT</pubDate>
            <atom:updated>2018-11-14T03:03:27.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gR9rENvoFQDuu-18FhiEqQ.png" /></figure><p>For any application that we develop, we need some infrastructure which we use to structure / deploy / host / execute the application. Also, with increased scalability demands of the applications these days, infrastructure is also expected to be scalable, reproducible, easy to review. Almost all public cloud providers such as AWS, Azure, or Google Cloud provide their own ‘infrastructure automation’’ tools as part of their offering. Using these tools, you can write infrastructure as code and consider provisioning infrastructure as part of ‘software development’. Because it is software, it should by also version-controlled, tested, and reviewed.</p><p>AWS has ‘Amazon Cloud Formation’, Azure has ‘Azure Resource Manager’, and Google Cloud has “Deployment Manager”. They all provide a way to define your cloud infrastructure resources (using a declarative language) as code which can be put together with application codebase. Also, you can use templates, which allows you to avoid code duplication, and makes it possible to test the same infrastructure code in various stages of deployment.</p><p>In this article, we will focus on Google Cloud Deployment Manager (called DM henceforth) and how you can use DM to automate the configuration of all your GCP resources. As a practical demonstration, we will deploy:</p><ol><li>a VM Machine</li><li>a BigQuery dataset with a sample table</li><li>a pub/sub topic and subscription</li><li>a Google cloud storage bucket</li></ol><p><strong>How Deployment Manager works?</strong></p><p>Before we go practical about creating various GCP resources using Deployment Manager, let’s start with a very quick summary of how it works.</p><p>It has the concept of a deployment, which is a collection of GCP resources that form a logical unit and that are deployed together. Using these deployments, we can provision most of the resources on GCP. Deployment manager supports a wide array of GCP resources. Complete list of allowed resource types is <a href="https://cloud.google.com/deployment-manager/docs/configuration/supported-gcp-types">here</a>. Definition of what resources are needed is written in a deployment configuration YAML file.</p><p><strong>A Quick Practical</strong></p><p>I assume:</p><ol><li>you already have a GCP project and with billing enabled. If not, please follow the instructions defined <a href="https://cloud.google.com/resource-manager/docs/creating-managing-projects">here</a>.</li><li>you already have Google cloud SDK installed (on your local machine). If not installed, please follow the instructions defined <a href="https://cloud.google.com/sdk/install">here</a>.</li><li>you already have git installed on your local machine. If not, please follow the instructions defined <a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git">here</a>.</li></ol><p>Now, clone github repo that I prepared for all code samples to be discussed in this article:</p><pre>$ git clone <a href="https://github.com/pankajwithgit/googlecloud.git">https://github.com/pankajwithgit/googlecloud.git</a></pre><p><strong>Create a Compute Engine VM</strong></p><p>We will create a GCE virtual machine using DM deployment. A very simple definition looks as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5e56055e9b33ba02393fd09f7b907f0/href">https://medium.com/media/f5e56055e9b33ba02393fd09f7b907f0/href</a></iframe><p>Here are few details about the code above:</p><ol><li>config.yaml is a configuration file which defines what all resources that are needed with reference to jinja template file(s).</li><li>vm.jinja is a template file to define all the details related to virtual machine. We define resource name, type and couple of properties. For a VM, properties can be zone, machineType, serviceAccounts, disks etc.</li></ol><p>Here is how we execute this code (assuming you cloned my repo):</p><pre>$ cd deploymentmanager/compute_engine_vm</pre><pre>$ gcloud deployment-manager deployments create test-vm --config config.yaml</pre><p>This will create a new deployment in your GCP project. You can go to ‘Deployment Manager’ section in GCP project to see the deployment (with name as test-vm) we just created. You can also go to Compute Engine to see newly created virtual machine.</p><p><strong>Create a BigQuery Dataset and Table</strong></p><p>Now, let’s move ahead and create a BigQuery Dataset and table. Here is how the code would look like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1568802b97a15d09eb49b32353f93af/href">https://medium.com/media/d1568802b97a15d09eb49b32353f93af/href</a></iframe><p>Here are few details about the code above:</p><ol><li>config.yaml is a configuration file which defines what all resources that are needed with reference to jinja template file(s).</li><li>bigquery.jinja is a template file to define all the details related to BigQuery dataset and table.</li></ol><p>Here is how we execute this code:</p><pre>$ cd deploymentmanager/<a href="https://github.com/pankajwithgit/googlecloud/tree/master/deploymentmanager/big_query">big_query</a></pre><pre>$ gcloud deployment-manager deployments create test-bq --config config.yaml</pre><p>Now, if you can go to BigQuery, you can see the dataset and a employee table created.</p><p><strong>Create a Pub/Sub Topic and it’s Subscription</strong></p><p>Pub/Sub Topic and it’s subscription is next we will create. Here is how the code would look like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/21b727582e8078c8f4d0ecb7aacc9ed4/href">https://medium.com/media/21b727582e8078c8f4d0ecb7aacc9ed4/href</a></iframe><p>Here are few details about the code above:</p><ol><li>config.yaml is a configuration file which defines what all resources that are needed with reference to jinja template file(s).</li><li>pubsub.jinja is a template file to define all the details related to pub/sub Topic and it’s subscription. PS: we have used $(ref…) to refer to topic we actually are creating with same script. This will first create topic and then it’s subscription and there is no need to specify the order.</li></ol><p>Here is how we execute this code:</p><pre>$ cd deploymentmanager/<a href="https://github.com/pankajwithgit/googlecloud/tree/master/deploymentmanager/pub_sub">pub_sub</a></pre><pre>$ gcloud deployment-manager deployments create test-pub-sub --config config.yaml</pre><p>Now, if you go to Pub/Sub service on GCP, you will see 2 resources i.e. Topic and it’s subscription created.</p><p><strong>Create a Cloud Storage Bucket</strong></p><p>Now, we will create a GCS bucket using DM code. A very simple definition looks as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6edba5c1e72465a3dcef1abfa63e361/href">https://medium.com/media/f6edba5c1e72465a3dcef1abfa63e361/href</a></iframe><p>Here are few details about the code above:</p><ol><li>config.yaml is a configuration file which defines what all resources that are needed with reference to jinja template file(s).</li><li>gcs.jinja is a template file to define all the details related to GCS bucket such as name, location and storage class of the bucket.</li></ol><p>Here is how we execute this code:</p><pre>$ cd deploymentmanager/<a href="https://github.com/pankajwithgit/googlecloud/tree/master/deploymentmanager/pub_sub">g</a>cs</pre><pre>$ gcloud deployment-manager deployments create test-gcs --config config.yaml</pre><p><strong>Clean up</strong></p><p>Now that you have created 4 deployments in your GCP project and you may want to delete those. Use following command to delete deployments one by one.</p><pre>$ gcloud deployment-manager deployments delete &lt;deployment-name&gt;</pre><p>Just replace &lt;deployment-name&gt; with name of your deployments. OR you can also delete all 4 deployments together using web console.</p><p><strong>References</strong></p><p>Here are a bunch of references for detailed implementation based on Deployment Manager:</p><ol><li>Official <a href="https://cloud.google.com/deployment-manager/docs/">documentation</a></li><li>Official <a href="https://github.com/GoogleCloudPlatform/deploymentmanager-samples">samples</a></li><li><a href="https://cloud.google.com/deployment-manager/docs/best-practices/">Best practices</a> for using Deployment Manager</li></ol><p><strong>Wrapping up</strong></p><p>Hope you now have a decent understanding of what of Google Cloud Deployment Manager and how to use it. Now, don’t forget to clean up deployments after you have finished experimenting in order to save on your GCP credits :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=747bfc07d839" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pankaj-khuranas-blog/automate-infrastructure-as-code-with-gcp-deployment-manager-747bfc07d839">Automate Infrastructure as Code with GCP Deployment Manager</a> was originally published in <a href="https://medium.com/pankaj-khuranas-blog">Pankaj Khurana’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>