<?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 Daniel Park on Medium]]></title>
        <description><![CDATA[Stories by Daniel Park on Medium]]></description>
        <link>https://medium.com/@dxnpxrk?source=rss-db6047922afd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BUoHXdnkkPOLn_2MiQsOyA.jpeg</url>
            <title>Stories by Daniel Park on Medium</title>
            <link>https://medium.com/@dxnpxrk?source=rss-db6047922afd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:02:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dxnpxrk/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[How to Make a Interactive Machine Learning Model for FREE with Hugging Faces]]></title>
            <link>https://dxnpxrk.medium.com/how-to-make-a-interactive-machine-learning-model-with-hugging-faces-for-free-beginners-guide-cd524e4f47ee?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd524e4f47ee</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[hugging-face]]></category>
            <category><![CDATA[fastai]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 21:21:38 GMT</pubDate>
            <atom:updated>2024-02-02T00:32:55.018Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B1nqeSCKhXl28tzo" /><figcaption>The (Hugging) Face of Open Sourced Machine Learning | Source: <a href="https://huggingface.co/brand">Hugging Face</a></figcaption></figure><p>Have you ever wanted to make your machine learning model interactive? Have you ever wanted to build your AI portfolio, but not interesting in keeping it inside a Jupyter notebook and a GitHub repository?</p><p>Well worry no more! Deploying your interactive machine learning model with Hugging Face offers a straightforward and effective way to make your models accessible to a wider audience, enabling users to interact with your AI creations in real-time. Hugging Face, a platform renowned for its comprehensive repository of pre-trained models and tools in natural language processing (NLP) and beyond, also provides an infrastructure for deploying machine learning models easily.</p><p>Here’s an introduction to deploying your interactive machine learning model with Hugging Face:</p><h3>1. Preparing Your Model</h3><p>Before deployment, ensure your machine learning model is well-trained, tested, and saved in a format compatible with Hugging Face. For most models, this means converting them into a format like PyTorch, TensorFlow, or ONNX.</p><p>In this example, we will be using a <a href="https://www.kaggle.com/code/jhoward/saving-a-basic-fastai-model/notebook">simple image classification model</a> that identifies cats from dogs created from Jeremy Howard’s <a href="https://www.fast.ai/">fast.ai course</a>. You can run the entire notebook and export a simple model.pkl file which will contain the machine learning model you will deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gCGQVaPaifVhFIi8E21Kg.png" /><figcaption>The view you will deploy on Hugging Faces</figcaption></figure><h3>2. Creating a Hugging Face Account and Space Repository</h3><p>Sign up for a <a href="https://huggingface.co/">Hugging Face account</a> if you haven’t already. It is free and very straightforward.</p><p>In addition, please enable <a href="https://huggingface.co/docs/hub/security-git-ssh">Git over SSH</a> with the provided steps. We need Git in order to upload our model and content to Hugging Faces for deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TyAlkp5tewOGeOnp.png" /><figcaption>Git is a version control system that tracks changes in any set of computer files, often used by developers to keep track of changes and collaborate with other developers | Source: <a href="https://dev.to/suchintan/git-and-github-tutorial-beginner-to-advanced-part-1-32m6">DEV Community</a></figcaption></figure><p>If you don’t know what Git is or where to get started, this is the perfect time to learn! Check out <a href="https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6">my free other article</a> going through step by step on how to set up Git and GitHub for personal use.</p><p>Once registered, create a <a href="https://huggingface.co/new-space">new space</a> for your model. This space repository will host your model files and any associated metadata, making it accessible for deployment.</p><p>In the space, select the Gradio Space SDK. <a href="https://www.gradio.app/">Gradio</a> is a Python library that allows you to quickly create customizable web apps for your machine learning models and data processing pipelines. Optionally, you can select the “Apache 2.0” License which allows others to use, modify, and distribute the licensed software, including creating derivative works, without requiring those derivative works to be licensed under the same terms. Since you will probably not be making money off this space, I suggest this so others can use it for free :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*W08iSUzzLJ4da0kR5VI4cw.png" /><figcaption>These should be your settings for your space | Source: <a href="https://huggingface.co/new-space?sdk=gradio">Hugging Faces</a></figcaption></figure><p>Assuming you have <a href="https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6">set up Git correctly on your computer</a>, copy the SSH clone command after opening up the page and paste it into a terminal on your computer. Do NOT copy the HTTPS link, if you do, you will not be able to upload on Hugging Faces. (I’m not sure why the link is still available)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*zWZaUME41649Crw4wpQg3g.png" /></figure><p>Congratulations, you’re ready to start coding and uploading your model to Hugging Faces through Gradio!</p><h3>3. Preparing to Deploy your Model to Gradio</h3><p>Navigate to your repository through your computer’s terminal. You will see a README and a .gitattributes file in your repository.</p><p>In this folder, upload your export.pkl file.</p><p>Next, in the terminal, write out the following commands to create a virtual environment to keep your libraries and dependencies in.</p><pre># Create a Virtual Enviornment called &quot;venv&quot;<br>python -m venv venv<br><br># Activate the Virtual Enviornment &quot;venv&quot;<br>source venv/bin/activate</pre><p>Then, in the same file directory, create a requirements.txt to keep your dependencies.</p><p>Copy and paste the following contents to the text file:</p><pre>fastai<br>graphviz<br>ipywidgets<br>matplotlib<br>nbdev&gt;=0.2.12<br>pandas<br>scikit_learn<br>azure-cognitiveservices-search-imagesearch<br>sentencepiece<br>torch<br>gradio<br>numpy<br>jupyter</pre><p>Back in the terminal, run the following command to install all the dependencies needed to deploy your project:</p><pre># Installs every dependency listed in requirements.txt<br>pip install -r requirements.txt</pre><p>After installing all your dependencies, run the following command to open Jupyter Notebook and create a new notebook and call it app</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zUMp8yXTF2iiW8A9nCegOQ.png" /><figcaption>In the Jupyter Notebook homepage, you should click on “New” and then “Notebook” to create a new notebook</figcaption></figure><h3>4. Building Your Interactive Web App</h3><p>Now you’re ready to create and upload your machine learning model app! If you are unfamiliar with how Jupyter notebook works, I suggest going through this <a href="https://www.kaggle.com/code/jhoward/jupyter-notebook-101">notebook</a> on Kaggle (again from <a href="https://www.fast.ai/">fast.ai</a>)</p><p>While we did create a notebook for this project, Hugging Faces only accept .py files. While we can work in a .py file, working in notebooks is a better way to develop your model and code as we can iteratively improve rather than blindly writing code into a .py that we cannot execute until the very end.</p><p>However, to make this process very simple, we will be use nbdev : a library to make exporting code from a notebook into a python file very easy.</p><p>In the first cell, copy and paste in the following command that tells the notebook that we have some Python code we want to export.</p><pre>#|default_exp app</pre><p>Next, we will import all the libraries necessary to create our interactive web app.</p><pre>#|export<br>from fastai.vision.all import *<br>import gradio as gr<br><br>print(gr.__version__)</pre><p>Note: you MUST include the #|export portion as this tells nbdev that we want to export all the contents in the cell.</p><p>Then, we can upload our imported model with the following command.</p><pre>#|export<br>learn = load_learner(&#39;model.pkl&#39;)</pre><p>The model.pkl parameter in load_learner may be different depending on where your model is located relative to where the notebook is located.</p><p>Optionally, you can run the following commands to ensure your model is working as intended. The &#39;dog.jpg&#39; file is a file you can download off the internet. In theory, it should open up and display the same picture of the dog you downloaded onto the notebook.</p><pre>im = PILImage.create(&#39;dog.jpg&#39;)<br>im.thumbnail((192,192))<br>im<br><br># TensorImage([Dog, Cat])<br>learn.predict(im)</pre><p>Next, we must create a functions to tell our display and model what the two choices are when identifying the animal in a picture.</p><pre>#|export<br><br># We are saying &#39;cat&#39; is true and &#39;dog&#39; is false.<br>def is_cat(x): return x[0].isupper()<br><br>categories = (&#39;Dog&#39;, &#39;Cat&#39;)<br><br>def classify_image(img):<br>    pred,idx,probs = learn.predict(img)<br>    return dict(zip(categories, map(float,probs)))</pre><p>You can test to make sure your dog (or cat) jpg is identified correctly.</p><pre>classify_image(im)</pre><p>Now finally, you can create the interface with your machine learning model! The items in the examples list are downloadable images off the internet you can use as examples.</p><pre>#|export<br>examples = [&#39;dog.jpg&#39;,&#39;cat.jpg&#39;,&#39;cat-dog.jpg&#39;]<br><br>inft = gr.Interface(fn=classify_image,inputs=&quot;image&quot;,outputs=&quot;label&quot;,examples=examples)<br>inft.launch(inline=False,share=True)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*87QRWdI_P6M1zAz6N3y0tQ.png" /><figcaption>The examples you upload to the repository will show up here</figcaption></figure><p>And lastly, we need to actually export all the wanted code to app.py which Hugging Faces will read!</p><pre>import nbdev<br>nbdev.export.nb_export(&#39;app.ipynb&#39;, &#39;.&#39;)</pre><p>After running your entire notebook, your code should look something like this:</p><pre># AUTOGENERATED! DO NOT EDIT! File to edit: app.ipynb.<br><br># %% auto 0<br>__all__ = [&#39;learn&#39;, &#39;categories&#39;, &#39;examples&#39;, &#39;inft&#39;, &#39;is_cat&#39;, &#39;classify_image&#39;]<br><br># %% app.ipynb 2<br>from fastai.vision.all import *<br>import gradio as gr<br><br>print(gr.__version__)<br><br>def is_cat(x): return x[0].isupper()<br><br># %% app.ipynb 4<br>learn = load_learner(&#39;model.pkl&#39;)<br><br># %% app.ipynb 6<br>categories = (&#39;Dog&#39;, &#39;Cat&#39;)<br><br>def classify_image(img):<br>    pred,idx,probs = learn.predict(img)<br>    return dict(zip(categories, map(float,probs)))<br><br># %% app.ipynb 9<br>examples = [&#39;dog.jpg&#39;,&#39;cat.jpg&#39;,&#39;cat-dog.jpg&#39;]<br><br>inft = gr.Interface(fn=classify_image,inputs=&quot;image&quot;,outputs=&quot;label&quot;,examples=examples)<br>inft.launch(inline=False)</pre><h3>5. Upload Your Interactive Web App to Hugging Faces</h3><p>Now we can upload our code to Hugging Faces. If you’re familiar with the process of add and commiting files, this should be relatively straightforward.</p><p>But not so fast! Before you go ahead and upload your project, you need to enable Git LFS to your project since the model.pkl will be bigger than the maximum file size of a normal commit (10MB).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfdKM4oh-ctceaA7A3m-RQ.png" /><figcaption>We need Git LFS to version large files | Source: <a href="https://git-lfs.com/">Git LFS</a></figcaption></figure><p>First off, download and install the Git command line extension. Once downloaded and installed, set up Git LFS for your user account by running:</p><pre>git lfs install</pre><p>In each Git repository where you want to use Git LFS, add the file types you’d like Git LFS to manage. I also suggest you add the model.pkl directly since sometimes Git doesn’t pick up the *.pkl You can do so with the following commands:</p><pre>git lfs track &quot;*.psd&quot;<br>git lfs track &quot;model.pkl&quot;</pre><p>In .gitattributes , it should look like this:</p><pre>*.pkl filter=lfs diff=lfs merge=lfs -text<br>model.pkl filter=lfs diff=lfs merge=lfs -text</pre><p>Now you can follow the normal series of commands to upload code to a repository.</p><pre># Just an abbreviated step to add all. I personally like to add files one at a time<br>git add -A<br>git commit -m &quot;Full Deployed Machine Learning Model&quot;<br>git push</pre><p>After a couple of minutes, you should have a fully interactive machine learning model on your repository app!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7r-KSBdt53lV1oSTF1DDFA.png" /><figcaption>Here’s mine | Source: <a href="https://huggingface.co/spaces/dxnpxrk/cat-dog-classifier">Daniel Park’s Cat/Dog Classifier</a></figcaption></figure><p>Outside of the example images you put in the notebook, you should be able to upload your own images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNowfVt6jr1lPDofEUD3qw.png" /><figcaption>Pretty sure a tiger is a type of cat… | Source: <a href="https://huggingface.co/spaces/dxnpxrk/cat-dog-classifier">Daniel Park’s Cat/Dog Classifier</a></figcaption></figure><p>Here is the <a href="https://huggingface.co/spaces/dxnpxrk/cat-dog-classifier/tree/main">link to the full repository</a> which you should have built at the end of this article.</p><h3>6. Conclusion</h3><p>Deploying your interactive machine learning model with Hugging Face simplifies the process of making your AI solutions accessible to a global audience. By following these steps, you can create a space where users can directly interact with your models, providing valuable feedback and real-world testing scenarios.</p><p>Outside of a cat and dog classifier, you can use this to create and upload your own machine learning model, such as this Face Mask Detection app I created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9z-xHxSSjUw1My7T0eauw.png" /><figcaption>Yeah, that’s definitely a mask | Source: <a href="https://huggingface.co/spaces/dxnpxrk/face-mask-detection">Daniel Park’s Face Mask Detection</a></figcaption></figure><p>Whether you’re a researcher, developer, or hobbyist, Hugging Face’s deployment tools simplifies the journey of bringing AI solutions from concept to a wide audience, bridging the gap between complex machine learning algorithms and practical, everyday applications.</p><p>I hope you enjoyed this tutorial, leave a comment if you have any questions or have your own model you want to show off.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd524e4f47ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Landed my SWE Internship at Microsoft for 2024]]></title>
            <link>https://dxnpxrk.medium.com/how-i-landed-my-swe-internship-at-microsoft-for-2024-1064cadd32c4?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/1064cadd32c4</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 03:44:41 GMT</pubDate>
            <atom:updated>2023-10-30T03:44:41.399Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Landed my SWE internship at Microsoft for 2024</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7B6hpScEvoumPGjo8avXxw.jpeg" /><figcaption>Microsoft Headquarters in Redmond, WA | Source: <a href="https://en.wikipedia.org/wiki/Microsoft">Wikipedia</a></figcaption></figure><p>Ever since I heard that many Computer Science alumni from my school, Olin, end up working at Microsoft, I had always wanted to work at Microsoft. Especially with Microsoft’s heavy investment in ChatGPT and its heavy expansion in gaming through its acquisition of <a href="https://www.theverge.com/2023/10/13/23791235/microsoft-activision-blizzard-acquisition-complete-finalized">Activision Blizzard</a>, I knew that it was the best time to join the company.</p><p>And the day I received the email notification that I received an internship offer for a software engineering role, I couldn’t contain my excitement. Landing an internship at a tech giant like Microsoft was a dream come true, and I was determined to make the most of this opportunity.</p><p>In this article, I’ll be highlighting my process from submitting my résumé all the way to receiving my offer!</p><h3>Step 1: Applying</h3><p>I began my journey, I received an email <a href="https://sweintern.com/">SWE Intern</a> that the Microsoft SWE Internship Application was open. The site is a great place to stay up to date on internship and new grad postings so you get email notifications whenever a posting goes up. The worst part of the job application season is, in my opinion, not when you fail an interview, but when you miss a job opening that’s only open for a couple of days. If I never applied to Microsoft in the first place, I would have never received the offer, how scary is that! I missed out on many opportunities like this, so I suggest that you avoid this mistake, and be ready to apply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UCp1hGNrlq3X1Nbil9lfFQ.png" /><figcaption>Great Resource to get notified when there are new job postings! | Source: <a href="https://sweintern.com/">SWE Intern</a></figcaption></figure><p>The <a href="https://github.com/SimplifyJobs/Summer2024-Internships">Summer2024-Internships GitHub Repository</a> from Pitt CSC &amp; Simplify is also a great resource!</p><p>For tips on optimizing a software engineer résumé, since in this step you’ll need to submit one, I recommend checking out this résumé writing resource on the Technical Interview Guide and using this résumé scanner on Résumé Worded to improve your resume. The Résumé Scanner tool has up to five free résumé scans per account, and I recommend trying to hit a score of at least 90% (on the free tier) before submitting your résumé.</p><p>With the notification link, I submitted an online application through Microsoft’s official website. At this point, I have applied to Microsoft for the fourth year running including their New Technologists Program, Explore, sxand their regular SWE internship. And now (spoiler alert) I have received an offer to join Microsoft in Summer 2024, it was a path marked by persistence, and it taught me that success often requires unwavering determination; remember, your chance will come when you least expect it, so never give up on your dreams!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KFsTPQzc7ABsLLyE" /><figcaption>The road may seem long, but the most important part of success in job hunting is to never give up! | Photo by <a href="https://unsplash.com/@wantto?utm_source=medium&amp;utm_medium=referral">WantTo Create</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Step 2: Preparing for The Final Round Interviews</h3><p>After a couple of weeks, I got an email notification from Microsoft that I was selected to participate in the final round virtual interviews.</p><p>I prepared for the interviews by studying the Microsoft specific LeetCode questions which you can find online through <a href="https://leetcode.com/company/microsoft/">LeetCode</a> or the many resources online that have company tagged questions like in this <a href="https://github.com/hxu296/leetcode-company-wise-problems-2022/tree/main/companies">GitHub repository</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*iEaS12twjgOiXoqC.png" /><figcaption>NeetCode is an incredible LeetCode studying tool, all for free! | Source: <a href="https://neetcode.io/">NeetCode</a></figcaption></figure><p>If you’re unsure or new to coding interviews, I highly recommend checking out <a href="https://neetcode.io/roadmap">NeetCode’s Roadmap</a> and understanding the problem concepts all the way to Graphs (since JP Morgan almost never asks DP questions for their OA’s.) There is also a <a href="https://www.techinterviewhandbook.org/coding-interview-prep/">Tech Interview Handbook guide</a> on preparing for the “coding” part of coding interviews if you’re curious.</p><p>For general software engineering interview advice, I recommend checking out the <a href="https://www.techinterviewhandbook.org/">Technical Interview Guide</a>, a free interview prep guide made by the <a href="https://www.linkedin.com/in/yangshun/">Yangshun Tay</a>, author of the famous Blind 75 LeetCode List.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*uhfCD1erE4xWyRJf.png" /><figcaption>Amazing Free Resource for all things SWE interviews | Source: <a href="https://www.techinterviewhandbook.org/">Tech Interview Handbook</a></figcaption></figure><p>You can also check out <a href="https://amzn.to/452MoIM">Cracking the Coding Interview from Gayle Laakmann McDowell</a>, which includes all the extensive information you need to know to navigate the often intimidating technical interviews conducted by top technology companies. The book covers a wide range of topics, including data structures, algorithms, system design, behavioral questions, and even in-depth interview strategies for specific big tech companies like Microsoft.</p><p><a href="https://amzn.to/452MoIM">Cracking the Coding Interview: 189 Programming Questions and Solutions</a></p><h3>Step 3: The Final Round Interviews</h3><p>The interview day consisted of<strong> two 45-minute interviews</strong>; the first part dedicated to behavioral questions, where I had to showcase my problem-solving skills through a simple algorithm problem and explain how I have taken initiative in a previous role. According to <a href="https://www.microsoft.com/en-us/about/values">Microsoft values</a>, the company not only values technical proficiency but also qualities like teamwork, adaptability, and communication, which they aim to gauge through these behavioral questions.</p><p><a href="https://amzn.to/452MoIM">Cracking the Coding Interview</a> also includes information about specific company interview processes and what each company expects about of you, including <strong>Microsoft </strong>if you would like to know about the specifics about its interview. (Gayle has triple interned at Microsoft, so I’d take her word for it!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OsOyk14rHj5lesi4" /><figcaption>Understanding the Microsoft Interview Process will get you far! | Photo by <a href="https://unsplash.com/@sawtooth_utopia?utm_source=medium&amp;utm_medium=referral">Matthew Manuel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The second part of the final round focused on a design question related to an A/B test class. While you may be asking. “why are they asking system design questions for an intern role?” <strong>Because the technical knowledge isn’t the important part!</strong> The interview wanted to gauge my ability to approach complex problems methodically, ask insightful questions, brainstorm multiple solutions, make optimized decisions based on the circumstances, and rethink previous solutions based on new features; an extremely valuable skill in a software engineering role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6PrVRvtettJ6NEaB" /><figcaption>Interviews are meant to gauge your thinking process, not your knowledge! | Photo by <a href="https://unsplash.com/@umit?utm_source=medium&amp;utm_medium=referral">Ümit Bulut</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For general knowledge, I highly recommend the <a href="https://amzn.to/3MnSa1b">System Design Interview — An Insider’s Guide</a> by Alex Xu with a focus on <strong>Chapter 3: A Framework for System Design Interviews </strong>which goes in depth of how to approach and what the interviewer is looking for in a system design interview.</p><p><a href="https://amzn.to/3MnSa1b">System Design Interview - An insider&#39;s guide</a></p><h3>Step 4: The Offer &amp; Beyond</h3><p>And only three business days later, I received an internship offer from Microsoft!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*P6DPTdL1X44RGOLLNl3TUQ.png" /><figcaption>Imagine yourself with an email with this headline! It could be you!</figcaption></figure><p>My journey to securing a Software Engineering Internship at Microsoft was filled with excitement, hard work, and determination. The application process were challenging but incredibly rewarding. And while the interview process was only two weeks long, taking inspiration from Picasso himself, I’d say getting the offer took me <strong>a lifetime</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/0*lhXtZrSo17ROKZjE" /><figcaption><em>“My dear, It took me a lifetime to be able to draw this sketch</em>.” — Pablo Picasso | Source: <a href="https://jgcontemporary.art/blogs/news/picassos-napkin-story">JP Contemporary</a></figcaption></figure><p>I encourage aspiring interns to focus not only on technical skills but also on their problem-solving abilities, adaptability, and effective communication when applying to companies like Microsoft. The experience was a stepping stone in my career, and I’m incredibly grateful for the opportunity to learn and grow at a company that has been at the forefront of technological innovation for decades.</p><p>And hopefully, you’ll be able to post your own offer announcement on LinkedIn!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*6MDmWyrfFshfmSyZZReRpA.png" /><figcaption>Hopefully I’ll see you posting one of these soon! | Source: <a href="https://www.linkedin.com/posts/dxnpxrk_swe-microsoftintern-nextchapter-activity-7120768132838735873-os3E?utm_source=share&amp;utm_medium=member_desktop">LinkedIn</a></figcaption></figure><p>In the meantime, feel free to follow me on <a href="https://www.linkedin.com/in/dxnpxrk/">LinkedIn</a> and on <a href="https://dxnpxrk.medium.com/">Medium</a> for more articles on software and tech.</p><p>Good luck to anyone who is thinking about or preparing for their software engineer interviews at Microsoft, and happy learning!</p><p><strong>Disclosure:</strong> <em>This article contains affiliate links. This means that if you click on a product or service link and make a purchase, I may receive a small commission at no extra cost to you. I only recommend products or services that I believe are valuable and relevant to my readers. Your support through these links helps keep this content free. Thank you for your support!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1064cadd32c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey to a JP Morgan & Chase Software Engineer Internship through the Code for Good Hackathon]]></title>
            <link>https://dxnpxrk.medium.com/my-journey-to-a-jp-morgan-chase-software-engineer-internship-through-the-code-for-good-hackathon-b3d8214a32d0?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3d8214a32d0</guid>
            <category><![CDATA[jp-morgan]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[interview-tips]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Sat, 21 Oct 2023 13:48:53 GMT</pubDate>
            <atom:updated>2023-10-30T03:51:42.053Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Landed my SWE internship at JP Morgan Chase &amp; Co. through Code for Good</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7phZM5Qs8Hrm9LtH" /><figcaption>The new Park Ave headquarters is going to be awesome (it will even have a gym!) | Source: <a href="https://nypost.com/wp-content/uploads/sites/2/2022/04/jp-morgan-chase-270-park-key-02.jpg?quality=75&amp;strip=all">NY Post</a></figcaption></figure><p>A few months ago, I completed my summer internship at JP Morgan in the NY Metro area, and as my very first corporate software engineer role, it was an invaluable hands-on experience to work in a professional development environment as well on work on the real-world projects available at JP Morgan. In addition, I’ve also met some fantastic people from the other interns, associates, vice presidents, to all the way up to Jamie Dimon himself!</p><p>With JP Morgan &amp; Chase adopting a tech-first approach in business to compete with not only financial institutions such as Capital One and Bank of America, but with other technology companies, making this is the best time to be a JP Morgan Software Engineer! And knowing internally, the easiest way to get into the firm as a software engineer is through their <a href="https://careers.jpmorgan.com/us/en/students/programs/software-engineer-summer">Software Engineer Internship Program</a>.</p><p>As a Software Intern last summer, I’ll be going into detail of the process from applying to securing your place in the program!</p><h3>Step 0: Before Applying…</h3><p>Before you apply, I recommend completing this <a href="https://www.theforage.com/virtual-internships/prototype/R5iK7HMxJGBgaSbvk/JP-Morgan-Banking-Technology-Virtual-Program">JP Morgan Software Engineering Virtual Internship Experience</a> powered by Forage. It is a job simulation of similar tasks you’d be expected to receive if you were working at JP Morgan, and is legitimate experience you can put on your résumé that not only shows you can work within a software environment, but also demonstrate your interest in the firm.</p><p><a href="https://www.theforage.com/virtual-internships/prototype/R5iK7HMxJGBgaSbvk/JP-Morgan-Banking-Technology-Virtual-Program">Forage</a></p><h3>Step 1: Applying to JP Morgan</h3><p>Probably the most intuitive but most important step, you start the process by applying! Rather than applying directly to the program, I highly recommend applying to the <strong>Software Engineering Program — Code for Good Hackathon</strong>, since that application will put you on the hackathon application list, and most people have an easier time getting the internship through Code for Good than directly.</p><p>Visit <a href="https://careers.jpmorgan.com/us/en/students/programs/code-for-good?search=&amp;tags=location__Americas__UnitedStatesofAmerica">this link</a> to apply or search “JP Morgan Software Engineer Code for Good” on Google to find the opportunity to apply to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nifF5mffy3_-k0g3.jpg" /><figcaption>Social Good Hackathons to develop software for social good | Source:<a href="https://careers.jpmorgan.com/us/en/students/programs/code-for-good?search=&amp;tags=location__Americas__UnitedStatesofAmerica"> JP Morgan Chase Careers</a></figcaption></figure><p>For tips on optimizing a software engineer résumé, since in this step you’ll need to submit one, I recommend checking out this résumé <a href="https://www.techinterviewhandbook.org/resume/">writing resource</a> on the Technical Interview Guide and using this résumé <a href="https://resumeworded.com/">scanner</a> on Résumé Worded to improve your resume. The Résumé Scanner tool has up to five free résumé scans per account, and I recommend trying to hit a score of at least 90% (on the free tier) before submitting your résumé.</p><h3>Step 2: Preparing for the HackerRank Online Assessment</h3><p>And if you follow the steps above by applying to the right opportunity with your good résumé, you will be getting a online assessment (OA). Due to the competitive nature of software engineer internships especially at these large companies, it is imperative to get a perfect score on the online assessment (which is very possible for anyone).</p><p>For general software engineering interview advice, I recommend checking out the <a href="https://www.techinterviewhandbook.org/">Technical Interview Guide</a>, a free interview prep guide made by the <a href="https://www.linkedin.com/in/yangshun/">Yangshun Tay</a>, author of the famous Blind 75 LeetCode List.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*Cg5Gu8L528rTA3_BpmwxPg.png" /><figcaption>Amazing Resource for all things SWE interviews | Source: <a href="https://www.techinterviewhandbook.org/">Tech Interview Handbook</a></figcaption></figure><p>You can also check out <a href="https://amzn.to/452MoIM">Cracking the Coding Interview from Gayle Laakmann McDowell</a>, which includes all the extensive information you need to know to navigate the often intimidating technical interviews conducted by top technology companies. The book covers a wide range of topics, including data structures, algorithms, system design, behavioral questions, and even in-depth interview strategies for specific big tech companies like Microsoft.</p><p><a href="https://amzn.to/452MoIM">Cracking the Coding Interview: 189 Programming Questions and Solutions</a></p><p>I prepared for the online assessment by studying the JP Morgan specific LeetCode questions which you can find online through <a href="https://leetcode.com/company/jpmorgan/">LeetCode</a> or the many resources online that have company tagged questions like this <a href="https://github.com/hxu296/leetcode-company-wise-problems-2022/tree/main/companies">GitHub repository</a>. The questions I’ve received were string-related and backtracking questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FQnjoFncC5EFxM4841nuA.png" /><figcaption>NeetCode is an incredible LeetCode studying tool, all for free! | Source: <a href="https://neetcode.io/">NeetCode</a></figcaption></figure><p>If you’re unsure or new to coding interviews, I highly recommend checking out <a href="https://neetcode.io/roadmap">NeetCode’s Roadmap</a> and understanding the problem concepts all the way to Graphs (since JP Morgan almost never asks DP questions for their OA’s.) There is also a <a href="https://www.techinterviewhandbook.org/coding-interview-prep/">Tech Interview Handbook guide</a> on preparing if you’re curious.</p><h3>Step 3: Preparing for the Code for Good Hackathon</h3><p>Now that you’ve done well on the online assessment, you’ll now receive an email inviting you to the Code for Good Hackathon! Congratulations on getting this far! This is the final step of the interview process, and can be thought of as a <a href="https://www.theforage.com/blog/interview-questions/superday">super day</a>.</p><p>The Code for Good Hackathon is a 24-hour event where teams of 4 to 8 students come together to collaborate and innovate on solutions to solve real-world problems for real social good organizations. It is a great way for JP Morgan to not only find talent but also provide value for social good organizations. You can read more about the event <a href="https://careers.jpmorgan.com/us/en/students/programs/code-for-good?search=&amp;tags=location__Americas__UnitedStatesofAmerica">here</a>.</p><p>Participating in the JP Morgan Code for Good Hackathon is not just an opportunity to showcase your technical prowess (while it definitely is); it’s an opportunity to demonstrate your ability to work effectively in a collaborative environment. JP Morgan values teamwork and cooperation, and they often judge participants not only on their technical skills but also on their collaborative techniques.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M2ivgbZhjvyyVBVk" /><figcaption>The most importants software skills are people skills | Photo by <a href="https://unsplash.com/@johnschno?utm_source=medium&amp;utm_medium=referral">John Schnobrich</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>But if you’re looking to improve your hard coding skills last minute, I recommend learning Git and GitHub, since you will often be judged by the contributions you make to your team’s project. The more (high quality) contributions you give to the project, the more likely you’ll receive an offer. To learn about the basics of Git and GitHub, I recommend checking out my other that goes through the <a href="https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6">step by step basics of Git and GitHub</a>. You can also practice interacting with Git on the command line with <a href="https://learngitbranching.js.org/?locale=en_US">here</a>.</p><p><a href="https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6">The Definitive Beginner Git and GitHub Guide for Personal Use</a></p><p>In addition, I recommend brushing up on the <a href="https://www.mongodb.com/mern-stack#:~:text=MERN%20stands%20for%20MongoDB%2C%20Express,the%20premier%20JavaScript%20web%20server">MERN stack</a> (learning frontend will be more useful in a hackathon setting than backend). While there were other stacks, the most common stack teams used was MERN, so it would be a good idea to get an understanding for the environment. You can use the <a href="https://www.theodinproject.com/">Odin Project</a>, arguably the best (and free!) full stack development course online, to learn the MERN stack.</p><h3>Step 4: The Phone Offer</h3><p>Now that you’ve completed the hackathon (and proceed to get 18 hours of sleep), you will be receiving a phone call within the next two weeks. For those who received the offer, congratulations on the offer! To those who didn’t, remember that every experience, whether successful or not, is a stepping stone to growth. Embrace the feedback you receive, refine your skills, and keep your passion for innovation alive. The next opportunity could be just around the corner, waiting for your unique skills and perspective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QxRWZSdgJhZw9fg6" /><figcaption>Getting an internship is not a zero-sum game | Photo by <a href="https://unsplash.com/@xangriffin?utm_source=medium&amp;utm_medium=referral">Xan Griffin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Overall, I recommend the following steps through each step of the interview process</p><ol><li>Complete the <a href="https://www.theforage.com/virtual-internships/prototype/R5iK7HMxJGBgaSbvk/JP-Morgan-Banking-Technology-Virtual-Program">JP Morgan Software Engineering Virtual Internship Experience</a> powered by Forage. Be sure to put it on your résumé!</li><li>Be sure to write your résumé with the guidelines posted in the Technical Interview Guide’s résumé <a href="https://www.techinterviewhandbook.org/resume/">writing resource</a> and make sure it performs well with Résumé Worded’s <a href="https://resumeworded.com/">scanner</a>.</li><li>Be sure to apply to the <strong>Software Engineering Program — Code for Good Hackathon </strong>opportunity and not only the regular Software Engineering Program job posting.</li><li>Prepare for the online assessment through <a href="https://neetcode.io/roadmap">NeetCode’s 150 Questions and roadmap</a> and practicing <a href="https://leetcode.com/company/jpmorgan/">JP Morgan specific LeetCode questions</a>.</li><li>For the Code For Good Hackathon, the most important part is your collaboration skills and creativity!</li><li>For hard skills, prepare for the hackathon by <a href="https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6">brushing up on Git &amp; GitHub</a> and the <a href="https://www.theodinproject.com/">MERN stack</a>.</li><li>You will receive a phone offer within the next two weeks.</li></ol><p>Good luck to anyone who is thinking about or preparing for their software engineer interviews at JP Morgan, and happy hacking!</p><p><strong>Disclosure:</strong> <em>This article contains affiliate links. This means that if you click on a product or service link and make a purchase, I may receive a small commission at no extra cost to you. I only recommend products or services that I believe are valuable and relevant to my readers. Your support through these links helps keep this content free. Thank you for your support!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3d8214a32d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Most Important Sorting Algorithms to Know for Coding Interviews (Merge Sort and Quick Sort)]]></title>
            <link>https://dxnpxrk.medium.com/the-most-important-sorting-algorithms-to-know-for-coding-interviews-merge-sort-and-quick-sort-c33555496edf?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c33555496edf</guid>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[sorting-algorithms]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 20:21:29 GMT</pubDate>
            <atom:updated>2023-10-30T03:05:58.934Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Most Important Sorting Algorithms for Coding Interviews (Merge Sort and Quick Sort)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DjKq1Us_18fZihAT" /><figcaption>Any Sorting Algorithm can work with a few numbers. But what about a hundred? A thousand? A million? Photo by <a href="https://unsplash.com/@nhillier?utm_source=medium&amp;utm_medium=referral">Nick Hillier</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the context of coding interviews, knowing which sorting algorithm can feel like getting lost in a maze: there’s just so many out there! Now, if you’re aiming for the ‘Sorting Algorithm Encyclopedia’ title, by all means, by all means: you can memorize them all.</p><p>But if you’re normal like me prepping for interviews, keep it simple. According to <a href="https://careers.microsoft.com/v2/global/en/hiring-tips/technical-interviewing#:~:text=You%20should%20know%20the%20details%20of%20at%20least%20one%20n*log(n)%20sorting%20algorithm%2C%20preferably%20two%20(for%20example%2C%20quicksort%20and%20merge%20sort).%20You%E2%80%99ll%20need%20to%20explain%20the%20complexity%20of%20your%20algorithm%20(big%20O).">Microsoft</a>, candidates should be expected to know at least one <em>O</em>(<em>N</em>∗<em>log</em>(<em>N</em>)) where <em>N</em> signifies the size of the input array, and preferably two. They even list out the two you should know, and the two of which I recommend you to learn and know in detail: <strong>Merge Sort</strong> and <strong>Quick Sort</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tXEfJXzS3zcYWVDr" /><figcaption>Do you wish to be the “Sorting Algorithm Guru”? By all means, memorize them all! Photo by <a href="https://unsplash.com/@emmages?utm_source=medium&amp;utm_medium=referral">Emmanuel Ikwuegbu</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Why do we need to understand <em>O(N * log(N))</em> algorithms for interviews?</h3><p>Understanding sorting algorithms, especially the <em>O(N * log(N)) </em>ones such as merge sort and quicksort, is fundamental in the realm of computer science and software development.</p><p>These algorithms serve as a performance benchmark, representing the best average-case time complexity achievable for comparison-based sorting methods. Their widespread use in real-world applications underscores their efficiency and reliability across diverse data sets. Moreover, they act as foundational pillars when delving into advanced data structures and computational strategies, like trees and heaps. Familiarity with these algorithms is also a common expectation in technical interviews, and can even be a question your interviewer asks you!</p><p>Beyond their direct applications, understanding these sorting algorithms hones problem-solving skills, emphasizing the ability to dissect complex problems into simpler components, as well as offer insights into the trade-offs between time and space, the significance of algorithm stability, and adaptivity. In essence, a comprehensive grasp of <em>O(N * log(N))</em> algorithms equips individuals with a rich toolkit for both practical applications and theoretical explorations necessary for a software engineer.</p><h3>Why Merge &amp; Quick Sort Specifically?</h3><p>Merge Sort and Quick Sort hold a unique prominence in technical interviews, standing out among other <em>O(N * log(N))</em> algorithms such as Heap Sort and Timsort (though it is beneficial to understand how it works, more on that later).</p><p>The two algorithms hold historical significance and ubiquity in computer science curricula make them almost canonical representations of divide-and-conquer techniques. Beyond their basic implementations, they encapsulate a broad range of fundamental concepts, from the “divide, conquer, and combine” strategy of merge sort to the pivotal partitioning in quicksort. This breadth often leads interviewers to use them as springboards for deeper discussions, testing candidates on variations or diving into space-time trade-offs, given the clear contrasts between the two algorithms. For instance, while merge sort’s additional space requirement offers a topic on efficiency trade-offs, quicksort’s pivot choices can lead to intricate discussions on algorithm behavior.</p><p>And if you’re still not convinced, Microsoft and <a href="https://amzn.to/452MoIM">Cracking the Coding Interview from Gayle Laakmann McDowell</a> also recommend knowing these two algorithms specifically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*4HnG6CddxqRudVjst7GWzg.jpeg" /><figcaption>The Holy Bible for Coding Interviews | Source: <a href="https://amzn.to/452MoIM">Amazon</a></figcaption></figure><h3>Merge &amp; Quick Sort</h3><h4>Complexity Analysis Comparisons</h4><p>Now before going into the implementations of each algorithm, it is important to recognize the benefits as well as the tradeoffs for each algorithm.</p><p>We can first start by talking about the two algorithms’ complexities. While we can talk hours and hours of theory behind Merge and Quick Sort Complexities, in general for coding interviews, know the following complexities for each sorting algorithm. I provided links for quick complexity proofs below each if you want to dive deeper.</p><h4>Merge Sort</h4><ul><li>(Average) Time complexity: <em>O</em>(<em>N</em>∗<em>log</em>(<em>N</em>))</li><li>(Worst) Time complexity: <em>O</em>(<em>N</em>∗<em>log</em>(<em>N</em>))</li><li>(Average) Space complexity: <em>O</em>(<em>N</em>)</li></ul><p><a href="https://www.geeksforgeeks.org/time-and-space-complexity-analysis-of-merge-sort/">https://www.geeksforgeeks.org/time-and-space-complexity-analysis-of-merge-sort/</a></p><h4>Quick Sort</h4><ul><li>(Average) Time complexity: <em>O</em>(<em>N</em>∗<em>log</em>(<em>N</em>))</li><li>(Worst) Time complexity: <em>O(N²)</em></li><li>(Average) Space complexity: <em>O</em>(<em>log</em>(<em>N</em>))</li></ul><p><a href="https://www.geeksforgeeks.org/time-and-space-complexity-analysis-of-quick-sort/">Time and Space Complexity Analysis of Quick Sort - GeeksforGeeks</a></p><h4>General Comparisons</h4><p>Outside of complexities, it’s also important to know when to use each, and you can discuss them with your interviewer. In general, both sorting algorithms are both efficient divide-and-conquer sorting algorithms, but they cater to different needs.</p><p><strong>Merge Sort</strong> is stable (meaning the order of equal elements in maintained in the sorted list) and guarantees <em>O</em>(<em>N</em>∗<em>log</em>(<em>N</em>)) performance, making it ideal for tasks like external sorting where data is too large for main memory. However, it requires additional <em>O</em>(<em>n</em>) space.</p><p><strong>Quick Sort</strong>, on the other hand, often runs faster in practice and can be done in-place, saving memory. Yet, its performance can degrade to <em>O(n²) </em>with poor pivot choices, though techniques like “median-of-three” (implemented in the code example) can mitigate this. The choice between the two depends on the specific problem constraints, with merge sort being more predictable and quick sort often being more space-efficient and faster for in-memory sorts.</p><h4>Code Implementations</h4><p>I’ll be using Python for these implementations because Python is the easiest language to use for coding interviews. You can watch NeetCode’s video on the topic (and definitely plenty more on the website) if you’re unconvinced.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FA__UXuFjOrA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DA__UXuFjOrA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FA__UXuFjOrA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bc209a98ccf963f36228f54f53d5881/href">https://medium.com/media/4bc209a98ccf963f36228f54f53d5881/href</a></iframe><p>The following are the code implementations with in-code explanations of how the algorithm works. While I recognize that there are shorter algorithms out there, these implementations are more often than not, the “<strong>correct</strong>” way for implementing them. For example, a lot of Quick Sort implementations use internal arrays when the algorithm itself is meant to sort the array in place.</p><p>I also included images and video links for algorithm if you need further explanations for your learning.</p><h4>Merge Sort</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/0*_HeOy5SiycACp460.png" /><figcaption>Merge Sort Visual Representation | Source: <a href="https://www.geeksforgeeks.org/time-and-space-complexity-analysis-of-merge-sort/">GeeksforGeeks</a></figcaption></figure><pre>def sortArray(self, nums: List[int]) -&gt; List[int]:<br>    def merge_sort(nums):<br>        # Base case: A single (or zero) element array is already sorted<br>        if len(nums) &lt;= 1:<br>            return nums<br><br>        # Split the array into two halves (Divide)<br>        middle = len(nums) // 2<br>        left_half = nums[:middle]<br>        right_half = nums[middle:]<br><br>        # Recursively sort both halves (Conquer)<br>        left_sorted = merge_sort(left_half)<br>        right_sorted = merge_sort(right_half)<br><br>        # Merge the sorted halves<br>        return merge(left_sorted, right_sorted)<br><br><br>    def merge(left, right):<br>        result = []<br>        left_pointer, right_pointer = 0, 0<br><br>        # Traverse through both left and right arrays<br>        while left_pointer &lt; len(left) and right_pointer &lt; len(right):<br>            # If the left value is lower, add it to the result<br>            if left[left_pointer] &lt; right[right_pointer]:<br>                result.append(left[left_pointer])<br>                left_pointer += 1<br>            # Otherwise, add the right value<br>            else:<br>                result.append(right[right_pointer])<br>                right_pointer += 1<br><br>        # Append any leftover items from left or right if they exist<br>        # One will always be empty<br>        result.extend(left[left_pointer:])<br>        result.extend(right[right_pointer:])<br><br>        return result<br>    return merge_sort(nums)</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4VqmGXwpLqc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4VqmGXwpLqc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4VqmGXwpLqc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/86381620d4d701a630d7ad8944491120/href">https://medium.com/media/86381620d4d701a630d7ad8944491120/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmB5HXBb_HY8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmB5HXBb_HY8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmB5HXBb_HY8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/444ad20aaffb77ba25de004d25f1f067/href">https://medium.com/media/444ad20aaffb77ba25de004d25f1f067/href</a></iframe><h4>Quick Sort</h4><p><strong>Note:</strong> The visual representation below uses a simple method of choosing a pivot by choosing the last element, and likewise a pivot can be the first element, but I use the “<strong>median of three</strong>” technique, shown in the implementation below.</p><p>This method involves selecting the median value among the first, middle, and last elements of the array as the pivot to provide a better approximate of the array’s central value than simply picking endpoints and reduce the chance of encountering the worst case scenario of Quick Sort.</p><figure><img alt="Divide and conquer visualisation of quick sort" src="https://cdn-images-1.medium.com/proxy/1*zI6AMtMYGWqOQUo80r3v8A.jpeg" /><figcaption>Quick Sort Visual Representation using Last Element as Pivot | Source: <a href="https://www.enjoyalgorithms.com/blog/quick-sort-algorithm">EnjoyAlgorithms</a></figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHoixgm4-P4M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHoixgm4-P4M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHoixgm4-P4M%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4dcf890063c101ae0e33c33c02914377/href">https://medium.com/media/4dcf890063c101ae0e33c33c02914377/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7h1s2SojIRw%3Fstart%3D472%26feature%3Doembed%26start%3D472&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7h1s2SojIRw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7h1s2SojIRw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/26d6dadcd1334938d75ad9df5c05f6fa/href">https://medium.com/media/26d6dadcd1334938d75ad9df5c05f6fa/href</a></iframe><pre>def sortArray(self, nums):<br>  def quick_sort(nums, low=None, high=None):<br>      # If low and high are not specified, set them to cover the whole array.<br>      if low is None and high is None:<br>          low, high = 0, len(nums) - 1<br><br>      # Continue if there&#39;s more than one element in the current section of the array.<br>      if low &lt; high:<br>          # Partition the array around a pivot and get the index of the pivot.<br>          pivot_index = partition(nums, low, high)<br>          <br>          # Recursively sort elements before the pivot and after the pivot.<br>          quick_sort(nums, low, pivot_index - 1)<br>          quick_sort(nums, pivot_index + 1, high)<br><br>      return nums<br><br>  def partition(nums, low, high):<br>      # Use the median-of-three method to get the pivot value.<br>      # This involves finding the median value among the first, middle, and last elements.<br>      pivot = sorted([nums[low], nums[(low + high) // 2], nums[high]])[1]<br><br>      # Move the pivot value to the &#39;high&#39; position, so the partition logic works seamlessly.<br>      # Since we only know the pivot&#39;s value (not its index), we have to check each possibility.<br>      if pivot == nums[low]:<br>          nums[low], nums[high] = nums[high], nums[low]<br>      elif pivot == nums[(low + high) // 2]:<br>          nums[(low + high) // 2], nums[high] = nums[high], nums[(low + high) // 2]<br><br>      # Pointer for the greater element<br>      i = low - 1<br><br>      # Traverse the array from &#39;low&#39; to &#39;high-1&#39;.<br>      for j in range(low, high):<br>          # If the current element is less than or equal to the pivot, move it to the left.<br>          if nums[j] &lt;= pivot:<br>              i += 1<br>              nums[i], nums[j] = nums[j], nums[i]<br><br>      # Move the pivot to its correct position.<br>      nums[i + 1], nums[high] = nums[high], nums[i + 1]<br><br>      # Return the index of the pivot, dividing the array into two halves.<br>      return i + 1<br>  return quick_sort(nums)</pre><h3>What about Other Sorting Algorithms?</h3><p>While it’s important to point out that while these algorithms are popular in interviews, there may be a case where different interviewers might emphasize other algorithms. That is why I recommend only ONLY knowing Merge &amp; Quick Sorts exclusively, but also be familiar with the <strong>intuition </strong>of other popular sorting algorithms, such as Heap Sort as mentioned before.</p><p>Below are the <strong>five algorithms </strong>you should know intuitively (only how it works and complexity, no implementation)</p><h4><strong>Bubble Sort</strong></h4><p>(Average Time Complexity: <em>O</em>(<em>N²) | </em>Average Space Complexity: <em>O</em>(1<em>))</em></p><p>Start at beginning of array and swap first two elements if the first is greater than the second and continuously making sweeps until it is sorted. So in a sense, the smaller items will “bubble” up to the beginning of the list.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fxli_FI7CuzA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dxli_FI7CuzA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fxli_FI7CuzA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab9f8f358f6edb1e3b7aed4d13e3896d/href">https://medium.com/media/ab9f8f358f6edb1e3b7aed4d13e3896d/href</a></iframe><h4>Selection Sort</h4><p>(Average Time Complexity: <em>O</em>(<em>N²) | </em>Average Space Complexity: <em>O</em>(1<em>))</em></p><p>Finds the smallest element using a linear scan and move it to the front for each element in the list.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fg-PGLbMth_g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg-PGLbMth_g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fg-PGLbMth_g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1dd01d4ca2f6f9cdca6238bc78c3aaff/href">https://medium.com/media/1dd01d4ca2f6f9cdca6238bc78c3aaff/href</a></iframe><h4>Insertion Sort</h4><p>(Average Time Complexity: <em>O</em>(<em>N²) | </em>Average Space Complexity: <em>O</em>(1<em>))</em></p><p>For each number in the list, compare the number to every number leftwards of it and swap them if they are not in order.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJU767SDMDvA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJU767SDMDvA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJU767SDMDvA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8e3ac46c3f4fa55de470aa3e55ea4f50/href">https://medium.com/media/8e3ac46c3f4fa55de470aa3e55ea4f50/href</a></iframe><h4>Heap Sort</h4><p>(Average Time Complexity: <em>O</em>(<em>N * log(N)) | </em>Average Space Complexity: <em>O</em>(1<em>))</em></p><p>This sorting algorithm uses a binary heap (typically a max heap so the parent is always larger than its children) to store and return elements in order. By removing the top element, until the heap is empty, into a list, we effectively create a sorted list. The space complexity of heap sort is O(1) because we create the heap in-place.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMtQL_ll5KhQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMtQL_ll5KhQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMtQL_ll5KhQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7653531813819904d55cca0944637e65/href">https://medium.com/media/7653531813819904d55cca0944637e65/href</a></iframe><h4>Radix Sort</h4><p>(Average Time Complexity: <em>O</em>(<em>K * N) | </em>Average Space Complexity: <em>O</em>(<em>K + N)) </em>where <em>N =</em> number of elements | <em>K = </em>number of passes of sorting algorithm</p><p>The complexities with the unusual variables may seem intimidating, but it’s not once you understand it! Radix sort arranges numbers by their individual digits, starting from the least significant digit and progressing to the most significant to eventually end up with a sorted list.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fnu4gDuFabIM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dnu4gDuFabIM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fnu4gDuFabIM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/205f42eab22c274968bc7e3bbc7cec48/href">https://medium.com/media/205f42eab22c274968bc7e3bbc7cec48/href</a></iframe><h3>Conclusion</h3><p>Before I get any angry comments about minor mistakes, not everything is exactly precise, especially for the complexities, as for example Heap Sort and Quick Sort’s time complexity may be the same at O(N * log(N)), <a href="https://johnnysswlab.com/why-is-quicksort-faster-than-heapsort-and-how-to-make-them-faster/#:~:text=Heapsort&#39;s%20runtime%20is%20always%20O,This%20algorithm%20is%20called%20introsort.">scientifically Quick Sort is considerably faster than Heap Sort</a>. This guide only serves as to the base knowledge you should know in the context of coding interviews, not as a scientific proof for sorting algorithms.</p><p>But with this article, I am aiming to combine everything about sorting algorithms in the context of interviews into one comprehensive guide. If there is anything I should include, please let me know!</p><p>Good luck on your interviews, and happy learning!</p><p><strong><em>Disclosure:</em></strong><em> This article contains affiliate links. This means that if you click on a product or service link and make a purchase, I may receive a small commission at no extra cost to you. I only recommend products or services that I believe are valuable and relevant to my readers. Your support through these links helps keep this content free. Thank you for your support!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c33555496edf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of FinOps (with everything you need to know for the FinOps Certified Practitioner…]]></title>
            <link>https://dxnpxrk.medium.com/the-importance-of-finops-with-everything-you-need-to-know-for-the-finops-certified-practitioner-b6cce9ef0486?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6cce9ef0486</guid>
            <category><![CDATA[cloud-finops]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[finops-certification]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Tue, 22 Aug 2023 21:16:01 GMT</pubDate>
            <atom:updated>2023-10-30T02:57:43.842Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Importance of FinOps (with everything you need to know for the FinOps Certified Practitioner Exam)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wKsJt2ESip6rCdhq" /><figcaption>Pictured: I forgot about my EC2 Instance for three hours | Photo by <a href="https://unsplash.com/@igalness?utm_source=medium&amp;utm_medium=referral">Igal Ness</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>However, life got busy, and I gradually forgot that my AWS account over time. I knew that the Free Tier would go away after a year, but a year is a long time, right?</p><p>Now sitting more than a year later, the Free Tier expired without me knowing, and boom: a charge of $1.14, which is well, $1.14 more than I would have liked to spend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/0*qmMFdYYV3d7XxChF.jpg" /><figcaption>The Average AWS Usage Experience | Source: u/sogonhuman</figcaption></figure><p>But now, instead of me simply forgetting about my running instance, what if I <em>did </em>intend to run some buckets and even a Terraform build within my startup, and me being inexperienced with AWS, didn’t really know what I was doing. What do you think the reaction from my peers when they receive the five figure bill for leaving an instance running for a single day? What if no one noticed and left that instance for an entire month before noticing? That’s already a million dollars out of the window!</p><p>These scenarios and many more from newbies like me and experienced developers highlight the potential pitfalls of using cloud services like AWS without careful monitoring and management. The accidental charges resulting from forgotten resources underscore the need for effective cloud financial management, which is where the concept of <strong>FinOps</strong> comes into play.</p><h3>But first off… what even is FinOps?</h3><p>FinOps, a portmanteau of “Finance” and “DevOps”, as defined by the FinOps Foundation, is a cultural practice for both business and engineering teams to bring financial accountability to the variable spend model of the cloud. It provides set methodologies and frameworks for managing cloud costs and optimizing resource utilization to align cloud spending with business goals.</p><p>The first instance of “FinOps” was back in 2012 when early scalers of the cloud such as Adobe and Intuit paved the way for what we eventually would come to know as FinOps. With that, many other companies who were beginning to adopt the cloud such as Quantas and Sainsbury’s began to develop their own approaches to cloud management. And as we know it, FinOps become more and more relevant as scaling the cloud presented many challenges.</p><p>However, it wasn’t called “FinOps” then. Back then, the practice was simply referred as “cloud cost optimization” and it was not until big cloud providers such as AWS began using the phrase “cloud financial management” which was replaced by “FinOps” as a catch-all title. The term “DevOps” resonated with the crucial cross-functional and agile dimension of the movement, highlighting its significance.</p><p>Soon enough, practitioners from various industries recognized the need for a standardized approach to cloud financial management and so the <strong>FinOps Foundation</strong> was founded in 2019 to provide a platform for collaboration, knowledge sharing, and the development of best practices.</p><p>In their development of establishing the best practices of managing the cloud, The FinOps Foundation defined the principles, practices, and methodologies of the <strong>FinOps Framework </strong>as well as accompanying resources, case studies, training, and networking opportunities for individuals and organizations looking to optimize cloud spending.</p><p>And while FinOps can be defined within the framework, it is important to distinguish that FinOps is ultimately a <strong>cultural mindset</strong> that fosters an alignment among various departments from the executive, finance, and engineering sectors within an organization to drive value from the cloud.</p><h3>Accomplishing FinOps: The FinOps Framework</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UsPtBDcWdSqN2ZATSloy0Q.png" /><figcaption>The FinOps Framework provides an operating model on how to establish a culture of FinOps | Source: <a href="https://www.finops.org/framework/">FinOps Foundation</a></figcaption></figure><p>As mentioned before, the FinOps Framework provides a model to effectively manage a culture of FinOps within a team and/or organization broken down into five categories: <strong>Principles, Domains and Capabilities, Personas, Phases, and Maturity Model.</strong></p><h4>Principles</h4><p>The first category, the FinOps Principles, provide six principles as a guiding framework, a “north star” almost, for effective cloud financial management.</p><ol><li><strong>Teams Need to Collaborate:</strong> The first principle underscores the importance of cross-functional collaboration. Teams from finance, technology, product, and business domains work closely in real time to drive efficency and innovation, core values of continuous improvement, from the cloud’s per-resource, per-second billing nature.</li><li><strong>Decisions are driven by business value of cloud:</strong> The second principle emphasizes that cloud decisions should align with business value. Balancing cost, quality, and speed is essential, and understanding the economics and value-based metrics that come with cloud innovation are more informative than aggregate spending.</li><li><strong>Everyone takes ownership for their cloud usage:</strong> The third principle advocates for individual ownership of cloud costs. For example, engineers take charge of costs from architecture design to ongoing operations while feature and product teams manage their cloud usage within budgets. This decentralization encourages cost-effective design and elevates cost as an efficiency metric from the software development’s start.</li><li><strong>FinOps Data should be Accessible and Timely:</strong> The fourth principle emphasizes accessible and timely cost data sharing. Consistent, Real-time visibility and insights throughouttps://<a href="http://www.oreilly.com/library/view/cloud-finops-2nd/9781492098348/">www.oreilly.com/library/view/cloud-finops-2nd/9781492098348/</a></li><li>the organization enhances cloud utilization, enabling efficient behavior.</li><li><strong>A Centralized Team Drives FinOps:</strong> The fifth principle introduces a centralized FinOps team that facilitates best practices in a shared accountability model. Centralizing rate, commitment, and discount optimization to a single team leverages economies of scale and frees engineers from rate negotiations, focusing on usage optimization.</li><li><strong>Take Advantage of the Variable Cost Model of the Cloud: </strong>The final principle, and probably the most important, highlights the cloud’s variable cost model as an opportunity, not a risk. Rather than seeing cloud as a potential cost pitfall , see cloud usage as an opportunity to drive further value from the business.</li></ol><p>You can view more information on the principles below.</p><p><a href="https://www.finops.org/framework/principles/">FinOps Principles</a></p><h4>Domains &amp; Capabilities</h4><p><strong>Domains</strong> represent a sphere of knowledge in FinOps. While the domains are defined exclusively into six categories, on a high level they are interdependent and together highlights the functional activities needed to run FinOps.</p><ol><li><strong>Understanding Cloud Usage and Cost: </strong>This Domain focuses on gathering and normalizing information about cloud usage and cost, making it accessible for review and use. By providing consistent data on current usage and historical trends, it supports the Performance Tracking and Benchmarking Domain, answering questions about cloud expenditure and usage.</li><li><strong>Performance Tracking &amp; Benchmarking: </strong>In this Domain, organizations map usage and cost to budgets, forecast using historical data, and establish performance metrics and benchmarks to ensure that spending aligns with goals.</li><li><strong>Real-Time Decision Making: </strong>After understanding spending and performance, real-time decision-making is made possible so stakeholders, executives and other subsequent domains within the organization can answer questions and support organizational objectives.</li><li><strong>Cloud Rate Optimization: </strong>As the domain name suggestions, this domain focuses on managing pricing for cloud services by defining pricing model goals and adjusting models using historical data. It enhances how cloud services are purchased and aligns pricing models with objectives so model performance is improved.</li><li><strong>Cloud Usage Optimization: </strong>Compared to the previous domain, this domain focuses more of matching cloud resources with actual demand by predicting rightsizing, scaling, and turning resources on/off as needed. By optimizing resource usage to align with workloads, resources can have its value maximized and running efficiently to meet organization objectives about resource utilization efficiency.</li><li><strong>Organizational Alignment: </strong>Lastly, this domain supports integrating FinOps capabilities within existing organizational processes. It ensures cloud use benefits the organization by improving training, processes, and persona-centric enablement for optimal cloud usage.</li></ol><p>Within each of these domains are <strong>capabilities</strong> that encompasses more information about the specific areas of focus. Outlining all the capabilities for each would take a while, but you can view more information about the specific capabilities of each domain below.</p><p><a href="https://www.finops.org/framework/domains/">FinOps Domains</a></p><h4>Personas</h4><p>Now that we’ve defined FinOps and its importance, who is affected and who is responsible for ensuring that a FinOps culture is maintained? As mentioned before in the six core principles: everyone!</p><p>The framework addresses seven personas to understand and implement the framework’s operating model: the FinOps Practitioner, Executives, Business/Product Owner, Engineering &amp; Operations, Finance, Procurement, and ITAM Leader/Practitioner</p><ol><li><strong>FinOps Practitioner: </strong>As the vital medium for FinOps culture, the FinOps Practitioner acts as a bridge between business, IT, and finance teams, facilitating real-time evidence-based decision-making to optimize cloud usage and enhance business value. Serving as a guiding force, they follow the framework model of actions and best practices to drive effective implementation.</li><li><strong>Executives: </strong>Executives, ranging from VPs to CEOs, play a key role in ensuring accountability, transparency, and budget adherence. Their focus lies in promoting efficient operations, managing resources effectively, and avoiding budget overruns, while aligning cloud practices with strategic objectives.</li><li><strong>Engineering &amp; Operations: </strong>Engineers, Cloud Architects, and Operations team members play perhaps the most critical role in designing and maintaining cloud services. They consider cost as a key performance metric and contribute to optimizing spending by activities like rightsizing resources, tracking container costs, identifying unused resources, and addressing spending anomalies.</li><li><strong>Finance: </strong>Finance professionals, including Financial Analysts and Managers, utilize reporting provided by the FinOps team to allocate costs, forecast spending, and support budgeting efforts to help align cloud expenses with broader financial strategies.</li><li><strong>Business/Product Owner: </strong>Members of the Business and Product Owner teams, such as the Directors of Cloud Optimization and Cloud Analysts, collaborate to optimize cloud usage and enhance business operations by relying on insights from the FinOps team to make informed decisions and drive cloud spending and resource allocation efficiency.</li><li><strong>Procurement: </strong>Procurement Analysts and Managers, as well as Vendor Management specialists, work in tandem with the FinOps team by leveraging insights for strategic sourcing and contract fulfillment within cloud platform vendors.</li><li><strong>ITAM Leader/Practitioner: </strong>IT Asset Managers, Analysts, and Compliance Specialists focus on maximizing asset value and minimizing risk through effective asset management strategies to align with organizational goals while adhering to compliance standards and optimizing contracts.</li></ol><p>By building strategies for these personas to work together such as defining a common language and developing communication programs, everyone can effective contribute and work together to optimizing the company’s cloud management.</p><p>You can view more information on them below.</p><p><a href="https://www.finops.org/framework/personas/">FinOps Personas</a></p><h4>Phases</h4><p>While addressing everyone who is addressing FinOps, we also need to acknowledge that rather than a polar yes or no concept, FinOps Adoption is a journey and comes in three phases: Infom, Optimize, and Operate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/0*x-4zGVvd_cqL8jBj" /><figcaption>The FinOps Phases Cycle | Source: <a href="https://www.finops.org/framework/phases/">The FinOps Foundation</a></figcaption></figure><ol><li><strong>Inform: </strong>In the initial phase of the FinOps journey, organizations align themselves to take advantage of the on-demand and elastic nature of the cloud. With proper visibility, allocation precision, and benchmarking, teams set the foundation to ensure they learn and follow best practices to drive ROI from their cloud usage.</li><li><strong>Optimize:</strong> After initial onboarding to the cloud, teams can start to align themselves to optimize their cloud footprint. Some common examples cloud providers provide these cost-saving levers include downgrading their on-demand capacity, historically the most expensive instances, to reserved or committed-use instance or rightsizing or automatically turning off any wasteful use of resources.</li><li><strong>Operate: </strong>Finally, organizations can operate to continuously evaluate and improve their cloud usage against business objectives to ensure the highest speeds and quality without driving down costs. By navigating through these phases, teams can effectively manage cloud spending, enhance operational efficiency, and align cloud usage with business objectives.</li></ol><h4><strong>Maturity Model</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*GAs8I2DW6FqFlyo6.png" /><figcaption>The FinOps Maturity Cycle | Source: <a href="https://www.finops.org/framework/maturity-model/">The FinOps Foundation</a></figcaption></figure><p>While the phases address the sequential stages organizations go through to adopt and implement the FinOps methodology, the FinOps Maturity Model, on the other hand, focuses on assessing and measuring an organization’s level of maturity in cloud financial management practices. Just as a baby starts from crawling all the way to a run, organizations are advised to go through the “Crawl, Walk, Run” approach to start off small and grow in scale and complexity as blue value warrants a further improvement.</p><ol><li><strong>Crawl: </strong>The Crawl phase represents the starting point for a organization’s FinOps Journey where they begin to recognize the importance of aligning it with business goals with the cloud, but are often limited in the monitoring and coordination between teams. However, the goal is to evolve from a reactive approach to cost management to a proactive and strategic approach that aligns cloud spending with business objectives.</li><li><strong>Walk: </strong>In the Walk phase, capability is generally understood and followed with the organization and some automation istaking place. Although some edge cases may be not addressed in their processes, organizations can begin to measure their success and continuously improve their cloud adoption.</li><li><strong>Run: </strong>The Run phase represents a pivotal point in an organization’s FinOps journey. By progressing through the initial stages of cloud financial management, the organization has a functioning system that allows them to actively work through optimizing costs, establishing governance practices, and aligning cloud spending with business objectives.</li></ol><p>You can view more information on the Maturity Model below.</p><p><a href="https://www.finops.org/framework/maturity-model/">FinOps Maturity Model</a></p><p>The FinOps Framework, overall, provides a structured path organizations can follow to manage their cloud financial operations. By fostering collaboration between technical, financial, and business teams, FinOps aims to optimize cloud spending, align it with strategic objectives, and drive efficient resource utilization. Through its three core phases — Inform, Optimize, and Operate — FinOps empowers organizations to navigate the complexities of cloud cost management, from raising awareness and visibility to actively optimizing expenses and maintaining operational efficiency.</p><h3>The FinOps Certified Practitioner Certificate (and whether you should get it)</h3><p>As a practitioner exam, the FinOps Certified Practitioner Exam offers individuals from a diverse range of cloud, finance, and technology roles the opportunity to validate their expertise in FinOps and bolster their professional credibility in FinOps. While the exam caters more to professionals seeking a foundational understanding of FinOps and its application to enhance business value derived from cloud expenditure. The exam is a non-proctored 50-question, hour long exam and the certificate is particularly beneficial for individuals working in organizations who wish to gain recognition for their competence in FinOps practices.</p><p>You can view more information about the exam as well as sign up for the exam below.</p><p><a href="https://learn.finops.org/finops-certified-practitioner-certification-exam">FinOps Certified Practitioner Certification Exam</a></p><p>While taking the exam for yourself is your choice, I do strongly advocate for gaining a solid understanding of FinOps itself, particularly if you’re planning to work in the tech industry.</p><p>FinOps is rapidly gaining prominence as cloud technology becomes increasingly integral to various tech-related fields. Understanding the core concepts of Finops will equip you with the skills to navigate the evolving landscape of cloud financial management, which is essential for optimizing costs and resources in tech environments from the smallest self startup to the largest corporatations in the world. By grasping these principles, you’ll be well-prepared to contribute effectively to teams that deal with cloud services, irrespective of the certification’s cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*sFlHOT_zb6VPPXszmZKJaA.png" /><figcaption>My FinOps Certified Practitioner Certificate | Source: <a href="https://www.credly.com/badges/c4694b2c-3fac-4e7f-b3c4-d42ec7ee4985/public_url">Credly</a></figcaption></figure><p>If you want to learn more about FinOps, I recommend checking out the <a href="https://www.finops.org/">FinOps Foundation’</a>s website, the <a href="https://www.oreilly.com/library/view/cloud-finops-2nd/9781492098348/">Cloud FinOps Book</a>, and the <a href="https://finopsfoundation.slack.com/">FinOps Foundation Slack Channel</a> for any additional questions you may have.</p><p>Good luck to those taking the exam, and happy learning!</p><h3>Sources:</h3><p>The FinOps Foundation Official Site:</p><p><a href="https://www.finops.org/">The FinOps Foundation</a></p><p>The FinOps Foundation Framework:</p><p><a href="https://www.finops.org/framework/">FinOps Framework Overview</a></p><p>Cloud FinOps, 2nd Edition by J.R. Storment &amp; Mike Fuller:</p><p><a href="https://amzn.to/3MmBx5Q">Cloud FinOps: Collaborative, Real-Time Cloud Value Decision Making</a></p><p>The FinOps Foundation’s Slack Channel:</p><p><a href="https://finopsfoundation.slack.com/">Slack</a></p><p><strong><em>Disclosure:</em></strong><em> This article contains affiliate links. This means that if you click on a product or service link and make a purchase, I may receive a small commission at no extra cost to you. I only recommend products or services that I believe are valuable and relevant to my readers. Your support through these links helps keep this content free. Thank you for your support!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6cce9ef0486" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Definitive Beginner Git and GitHub Guide for Personal Use]]></title>
            <link>https://dxnpxrk.medium.com/the-definitive-beginner-git-and-github-guide-for-personal-use-1873027298e6?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/1873027298e6</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 02:03:42 GMT</pubDate>
            <atom:updated>2023-08-24T23:42:06.454Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dZiGCSw8LlzmY65Q.png" /><figcaption>Using Git and GitHub for Beginners! Source: <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fdev.to%2Fsuchintan%2Fgit-and-github-tutorial-beginner-to-advanced-part-1-32m6&amp;psig=AOvVaw0AzmSZcEMfut2rMaZZK9QS&amp;ust=1692149954016000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CA8QjRxqFwoTCIiZ74DE3YADFQAAAAAdAAAAABAJ">DEV Community</a></figcaption></figure><p>In the world of software, version control is the most important skill a developer can have. Since it is the system of collaboration, developers both junior and developer are expected to understand how individuals or teams can track modifications to their code, collaborate on projects, and maintain a history of changes.</p><p>However the problem with a lot of beginners when trying to get into version control is, where do you even start? Therefore, I wrote this quick guide to simplify Git and GitHub and how you can get started!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aSUcUeKC6UjGa04m" /><figcaption>Using Git and especially the command line can be pretty daunting, but trust me once you learn, it’s as easy and highly applicable in the real world! Photo by <a href="https://unsplash.com/@6heinz3r?utm_source=medium&amp;utm_medium=referral">Gabriel Heinzer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Whether you’re working solo or as part of a team, learning Git offers numerous benefits that can enhance your development workflow, improve your skills in the command line, and most importantly, help you organize your projects to show off to recruiters!</p><h3>Part I. Configuring Git and GitHub</h3><h4>Step 0: Create a GitHub Account</h4><p>Before we begin, make sure you have a GitHub account! Although there are other version control sites such as GitLab and Bitbucket (which is what I used during my time at JP Morgan), GitHub is currently the most popular repository site with many famous open source projects such as OpenAI and React!</p><p>If you don’t have one, you can sign up for one at <a href="https://github.com/">https://github.com/</a>. (Don’t worry, it’s free!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dQTqaJujsY3hNiaI" /><figcaption>GitHub, the world’s most popular development platform. Photo by <a href="https://unsplash.com/@afgprogrammer?utm_source=medium&amp;utm_medium=referral">Mohammad Rahmani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Step 1: Install Git</h3><p>Git usually comes preinstalled in some Macs and Linux-based systems, but you can check if you have Git on your machine by typing git version in your terminal.</p><p>If not, you can visit the official Git website at <a href="https://git-scm.com/">https://git-scm.com/</a> and download the appropriate version for your operating system (Windows, macOS, or Linux).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*uY4Xs-TcBjzjT65_TS8zgg.png" /><figcaption>Git’s Download Page (I’m currently on Linux) Source: <a href="https://git-scm.com/downloads">git-scm</a></figcaption></figure><h3>Step 2: Configure Git</h3><ol><li>Open a terminal window. (Command Prompt on <strong>Windows</strong>, Terminal on <strong>Mac </strong>and<strong> Linux)</strong></li><li>Set your name and email address using the following commands (replace with your actual name and email):</li></ol><pre>$ git config --global user.name &quot;Your Name&quot;<br>$ git config --global user.email &quot;your_email@example.com&quot;</pre><p>This is important because Git uses this information to connect yourself to every commit you make. Now no one else can claim your commits!</p><p>3. Change your default branch name to <strong>main. </strong>As of October 2020, GitHub has started to gradually rename the default branches of repositories from master to main. You can read more about it from GitHub <a href="https://github.com/github/renaming">here</a>.</p><pre>$ git config --global init.defaultBranch main</pre><p>4. Optionally, you can configure the default text editor that will be used when Git needs you to type in a message. If not configured, Git will use your system’s default editor.</p><p>For example, if you wanted to use a text editor like <strong>Vim:</strong></p><pre>git config --global core.editor vim</pre><p>However on a Windows system, if you wanted to use a different text editor, you have to specify the full path to the program.</p><p>For example, if you wanted to use <strong>NotePad++</strong>:</p><pre>$ git config --global core.editor &quot;&#39;C:\Program Files\Notepad\notepad.exe&#39; -multiInst -notabbar -nosession -noPlugin&quot;</pre><p>However, I’d recommend using good old <strong>Notepad </strong>for Windows 64-systems since the command is easy and consistent by system.</p><pre>$ git config core.editor notepad</pre><p>You can view more information on commit editor commands <a href="https://git-scm.com/book/en/v2/Appendix-C%3A-Git-Commands-Setup-and-Config#ch_core_editor">here</a>.</p><p>5. Finally, if you want to check your Git configuration settings, you can list all the settings Git can find at that point with the following command</p><pre>$ git config --list</pre><h3>Step 3: Generate a new SSH Key</h3><p>As of <a href="https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/#:~:text=June%2030%20and%20July%2028,for%20all%20authenticated%20Git%20operations.">August 2021</a>, GitHub started requiring Token authentication (or SSH key) for all authenticated Git operations including access and writing data in repositories.</p><p>For some brief context on SSHs, SSH (Secure Shell Protocol) allows you to authenticate using a private key file on your local machine rather than the old way (HTTPS) that requires you to type in your username and password for every authentication. In the context of GitHub, you will generate a new private SSH key and add it to the SSH agent which will allow you to use your account on GitHub before you use the key to authenticate or sign commits.</p><p>You can read more on SSHs <a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh">here</a>.</p><p>But on the note of actionable steps:</p><ol><li>Open a terminal window. (Command Prompt on <strong>Windows</strong>, Terminal on <strong>Mac </strong>and<strong> Linux)</strong></li><li>Generate a new SSH key with the following command (replace with your actual email)</li></ol><pre>$ ssh-keygen -t ed25519 -C &quot;your_email@example.com&quot;</pre><p>This creates a new SSH key, using the provided email as a label, and then you will be prompted to “Enter a file in which to save the key”, which you can press <strong>Enter </strong>to accept the default file location (unless you want to change the location)</p><pre>&gt; Generating public/private ALGORITHM key pair.<br>&gt; Enter a file in which to save the key (/home/YOU/.ssh/ALGORITHM):[Press enter]</pre><p>Next, you will be prompted to type a secure passphrase (click <strong>Enter</strong> if you wish to not have a passphrase)</p><pre>&gt; Enter passphrase (empty for no passphrase): [Type a passphrase]<br>&gt; Enter same passphrase again: [Type passphrase again]</pre><h3>Step 4: Adding SSH Key to the ssh-agent</h3><ol><li>Check to see if you have existing SSH keys before adding a new SSH key to the ssh-agent. (This may be unnecessary if you have never done this before)</li></ol><pre>$ eval &quot;$(ssh-agent -s)&quot;<br>&gt; Agent pid 59566</pre><p>2. Add your SSH private key to the ssh-agent. If you are adding an existing key with a different name, replace <strong><em>id_ed25519</em> </strong>in the command with your key file name.</p><pre>$ ssh-add ~/.ssh/id_ed25519</pre><h3>Step 5: Adding SSH Key to your GitHub Account</h3><ol><li>Copy the SSH public key to your clipboard. Assuming your key file name is <strong><em>id_ed25519 </em></strong>(otherwise feel free to change it), this will display the key and you will need to copy it to your clipboard for pasting onto GitHub</li></ol><pre>$ cat ~/.ssh/id_ed25519.pub<br># The key will output below on the terminal<br># Copy the contents of the id_ed25519.pub file to your clipboard</pre><p>2. Go to <a href="https://github.com/settings/keys">this link here</a> to access your <strong>SSH and GPG keys</strong>. Or alternatively, you can <strong>click your profile picture on the top right corner of any page</strong> on GitHub, select <strong>Settings</strong>, and under <strong>Access</strong> select <strong>SSH and GPG keys.</strong></p><p>3. Click <strong>New SSH Key</strong></p><p>4. In the <strong>“Title”</strong> field, add a label for your key. (e.g. “My Laptop”)</p><p>5. For the <strong>“Key Type”</strong> option, select “authentication” key. (If you want more information on signiture types, go <a href="https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification">here</a>.)</p><p>6. In the <strong>“Key”</strong> field, paste your public key and click <strong>Add SSH Key</strong>. If you are prompted, confirm SSH access to your account on GitHub.</p><h3>Step 6: Verify SSH Connection to GitHub</h3><p>Now that you have added your public key to your GitHub account, you can test the connection by attempting to SSH into GitHub.</p><p>To test the connection:</p><ol><li>Open a terminal window. (Command Prompt on <strong>Windows</strong>, Terminal on <strong>Mac </strong>and<strong> Linux)</strong></li><li>Use the ssh command followed by your GitHub username and the hostname github.com.</li></ol><pre>$ ssh -T your_email@example.com</pre><p>3. If this is the first time you are connecting to GitHub via SSH from your local machine, you may see a message similar to the following:</p><pre>&gt; The authenticity of host &#39;github.com (IP_ADDRESS)&#39; can&#39;t be established.<br>&gt; RSA key fingerprint is SHA256:XXXXXX.<br>&gt; Are you sure you want to continue connecting (yes/no)?</pre><p>Verify that the key fingerprint matches GitHub’s key fingerprint (you can find <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints">GitHub’s key fingerprints on their website here</a>). If they match, type yes to proceed.</p><p>If you receive the “successfully authenticated” message, your SSH connection to GitHub is working properly. This means that you can now use your SSH key for interactions with GitHub, such as pushing and pulling code repositories.</p><p>If your SSH key is set up correctly, you will see a message like:</p><pre>Hi USERNAME! You&#39;ve successfully authenticated, but GitHub does not provide shell access.</pre><p>Congratulations, you have successfully configured an SSH key with GitHub! You can start using GitHub to upload your projects!</p><h3>Part II. Upload Projects onto GitHub</h3><p>Now that you have Git configured with your GitHub account, you can begin uploading your projects! To do so:</p><ol><li>Open a terminal window. (Command Prompt on <strong>Windows</strong>, Terminal on <strong>Mac </strong>and<strong> Linux)</strong></li><li>Navigate to your project (using <a href="https://www.codecademy.com/learn/learn-the-command-line/modules/learn-the-command-line-navigation/cheatsheet/">command line navigation commands</a>)</li><li>Initialize a Local Git Repository in the directory</li></ol><pre>git init</pre><p>4. Create or add files to your project directory. ( git add . is <strong>NOT</strong> recommended since you may unintentionally add private files such as IDA keys, so here is your formal warning in doing so!)</p><pre>git add .<br>git commit -m &quot;Initial commit&quot;</pre><p>5. Create a New GitHub Repository</p><p>5.1. Log into your GitHub account</p><p>5.2. Click the “+” icon in the top right corner of your screen and select “New Repository”</p><p>5.3. Enter a repository name, description, and choose other settings</p><p>5.4. Click “Create Repository.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*vLh4lqRiZO_Ey6Fm7Xx4Og.png" /><figcaption>Your Screen should look like this when creating a new project!</figcaption></figure><p>7. Connect Local Repository to GitHub by copying the repository’s URL from the repository page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XqaUTtATHL3TCFhG5xRYZQ.png" /><figcaption>Your URL is the one in the blue box under “Quick setup”!</figcaption></figure><p>8. Back in your terminal, link your local repository to the remote GitHub repository using the link from your repository page</p><pre>git remote add origin &lt;repository-url&gt;</pre><p>9. Push your local changes to GitHub!</p><pre>git push -u origin main</pre><p>Your repository should now be populated with your project!</p><p>Before you know it, you’re off using Git and GitHub! Feel free to add your existing projects and while you’re there, <a href="https://github.com/DanPark13">follow me</a> on GitHub as well ;)</p><p>As you continue your journey, you’ll discover more advanced features and techniques that will empower you to become a proficient developer and contributor in the software development community. If you want to get more advanced with Git commands such as branching strategies and tagging, you may view them <a href="https://learngitbranching.js.org/?locale=en_US">here</a>.</p><p>Happy coding!</p><h3>Sources</h3><ul><li>Downloading Git: <a href="https://git-scm.com/downloads">https://git-scm.com/downloads</a></li><li>Git Setup: <a href="https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup">https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup</a></li><li>Git branch renaming: <a href="https://github.com/github/renaming">https://github.com/github/renaming</a></li><li>SSH Key Requirement: <a href="https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/">https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/</a></li><li>About SSH: <a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh">https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh</a></li><li>Generating SSH Keys: <a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent">https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent</a></li><li>Adding SSH Key to GitHub Account: <a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account">https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account</a></li><li>Command Line Navigation Cheatsheet: <a href="https://www.codecademy.com/learn/learn-the-command-line/modules/learn-the-command-line-navigation/cheatsheet">https://www.codecademy.com/learn/learn-the-command-line/modules/learn-the-command-line-navigation/cheatsheet</a></li><li>Learn Git Branching: <a href="https://learngitbranching.js.org/?locale=en_US">https://learngitbranching.js.org/?locale=en_US</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1873027298e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Passed the AWS Cloud Practitioner Exam in Two Weeks for Free]]></title>
            <link>https://dxnpxrk.medium.com/how-i-passed-the-aws-certified-cloud-practitioner-exam-in-two-weeks-for-free-89bb13fb3c01?source=rss-db6047922afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/89bb13fb3c01</guid>
            <category><![CDATA[aws-cloud-practitioner]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws-certification]]></category>
            <dc:creator><![CDATA[Daniel Park]]></dc:creator>
            <pubDate>Wed, 19 Jul 2023 00:14:07 GMT</pubDate>
            <atom:updated>2023-07-21T02:20:50.746Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*9dYFhSQVshEtRgRcPQy4GQ.png" /><figcaption>AWS Certified Cloud Practitioner Badge | Source: <a href="https://images.credly.com/images/00634f82-b07f-4bbd-a6bb-53de397fc3a6/image.png">Credly</a></figcaption></figure><p>During the first few weeks of my software engineering internship this summer, my manager outlined that in the latter stages of our internship project, we would eventually deploy our product to AWS. Although I’ve worked with software since high school, I did not have much experience with AWS, let alone public cloud, and I wanted to learn more before heading into the project. Therefore, I decided to take the AWS Cloud Practitioner Exam to get myself familiar with AWS. I had previously played around with the idea of getting the certificate previously, but I never found the energy to prepare for it. And with the firm giving me a free voucher for the exam (normally $100), I decided to take the exam.</p><p>I scheduled my exam for two weeks ahead when I started through the <a href="https://aws.amazon.com/certification/certification-prep/testing/">AWS Certification Site</a> to avoid falling into Parkinson’s Law and not procrastinate on my preparation. I recommend <strong>you also schedule your exam before your preparation to create a sense of urgency and avoid procrastinating</strong>, but even so, you are free to reschedule the exam up to two times before you have to cancel the exam (but with a free refund.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*U-HKGhR8cSChsOMUe0Cfcw.png" /><figcaption>Give yourself a deadline to avoid exam prep procrastination by scheduling the test early! | Source: <a href="https://www.linkedin.com/pulse/parkinsons-law-steroids-single-principle-immediately-your-hardy-phd/">Benjamin Hardy, PhD.</a></figcaption></figure><p>And after two weeks of preparation (one week of learning and one week of practice) I passed the exam, and to give back to the community on Reddit and blogs online for providing great resources, I have compiled all of the free resources available I used to prepare for the exam as well as what to expect on exam day. Although some of the resources I list below do have paid options, I used their free alternatives to prepare such as samplers or work-arounds. Given your experience and availability, feel free to either take more or less time to prepare for the exam.</p><p>In this article, I will cover the following topics (feel free to skip ahead as you please)</p><ol><li><a href="#be2b">About the Exam</a></li><li><a href="#8dfe">Learning Resources</a></li><li><a href="#201f">Practice Resources</a></li><li><a href="#23ba">What to Expect on Your Online Test Day</a></li></ol><h3>About the Exam</h3><p>The AWS Certified Cloud Practitioner Exam is a foundational certificate exam that exams on high-level understanding of AWS Cloud and its services. It is a great starting point if you’re someone with no prior IT or cloud experience and want foundational cloud literacy.</p><p>The exam is 65 questions given in a 90-minute period with either multiple choice or multiple response (select two correct answers out of five given) questions with no penalty for an incorrect answer. In order to pass the exam, you must get 70% of the questions correctly, or the equivalent of a 700 / 1000. You can view more information about the test and its non-exhaustive content with on the <a href="https://d1.awsstatic.com/training-and-certification/docs-cloud-practitioner/AWS-Certified-Cloud-Practitioner_Exam-Guide.pdf">exam front page.</a></p><p>You can either take the exam in person at a test center or, alternatively, online on a personal computer, which is what I did and will go over the specifics of later in this post.</p><p>While I don’t believe it is extremely important to point this out, but for the sake of completeness, the question types covers <strong>four domains</strong>: Cloud Concepts, Security and Compliance, Technology, and Billing and Pricing and each domain will cover a specific percentage of the test. But don’t worry too much about this, I couldn’t really tell the difference between the types when practicing or taking the official test.</p><h3>Learning Resources (1 Week)</h3><p>First, I used the <strong>AWS Cloud Practitioner Essentials Course</strong> as a primer to the major AWS services and concepts that come up on the test such as EC2, S3, and the Well-Architected Framework. While the content is easily digestible and the team behind the course did a great job of making the videos engaging, the course unfortunately does not cover all the topics that would come up on the exam such as Config, Athena, and accessory ML services.</p><p><a href="https://explore.skillbuilder.aws/learn/course/134/play/62437/aws-cloud-practitioner-essentials">Self-paced digital training on AWS - AWS Skill Builder</a></p><p>Therefore, I supplemented my learning from the SkillBuilder course with <strong>the AWS Official Exam Guide </strong>that has a complete exam outline of the key tools, technologies, and concepts that might be covered on the exam.</p><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//d1.awsstatic.com/training-and-certification/docs-cloud-practitioner/AWS-Certified-Cloud-Practitioner_Exam-Guide.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/4982aeff5df91a246e49d72d35dfc665/href">https://medium.com/media/4982aeff5df91a246e49d72d35dfc665/href</a></iframe><p>For any unfamiliar service I encountered in the list, I looked it up on the official AWS Site and learned about it.</p><p><a href="https://aws.amazon.com/">Cloud Computing Services - Amazon Web Services (AWS)</a></p><h3>Practice Resources (1 Week)</h3><p>As with every exam, the most important part of preparing for it is to do a lot of practice questions. Below is a compilation of <strong>over 1000 questions</strong> I used to prepare for the exam, <strong>in order of what you should complete first</strong>, as well as my thoughts on how useful they were in my preparation. As with the learning resources, all the resources I list below are all free online with payment options for their full versions.</p><h4>AWS Cloud Practitioner Essentials Final Exam (30 questions)</h4><p>This is the final exam on the SkillBuilder course. It only predominantly covers content from the course, so it is not a good representation of everything that comes up on the exam, but it is a good starting point to see how much you know on the major services.</p><h4>AWS Official Sample Exam Questions (10 Questions)</h4><p>These are sample questions from AWS, although they are easy in comparison to what you would expect on the exam. Similar to the SkillBuilder questions, you can use this as a starting point to see where you are when it comes to service familiarity.</p><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//d1.awsstatic.com/training-and-certification/docs-cloud-practitioner/AWS-Certified-Cloud-Practitioner_Sample-Questions.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/649712bd3d8a10429a06d11d019926a8/href">https://medium.com/media/649712bd3d8a10429a06d11d019926a8/href</a></iframe><h4>TutorialsDojo Cloud Practitioner Exam Prep (20 questions)</h4><p>While the full paid version for 260 questions is about $11, the trial version has free questions with extensive explanations after completing them as well as external links to free YouTube courses if you need review on a service. You can either use the questions in review mode, where you get the answers right after you submit a response for a question, or in test mode where you do the twenty questions under timed conditions. <strong>If you wanted to pay for quality questions with great explanations, I recommend getting these.</strong></p><p><a href="https://portal.tutorialsdojo.com/product/free-aws-certified-cloud-practitioner-practice-exams-sampler/">FREE AWS Certified Cloud Practitioner Practice Exams - Sampler - Tutorials Dojo</a></p><h4>WhizLab’s Free Questions (30 questions)</h4><p>Another great resource to use that have questions that cover all the major topics of the exam as well as explanations of how the exam is usually formatted. However, the explanation and answers being uncovered before you even attempt the questions may be annoying at first.</p><p><a href="https://www.whizlabs.com/blog/aws-cloud-practitioner-certification-questions/">[2023 New] Free AWS Cloud Practitioner Exam Questions</a></p><h4>DigitalCloud Free Exam Questions (20 questions)</h4><p>Another good resource you have access to and provides a good exam simulation for test day (albeit only 20 questions to make you pay for the full version of their course)</p><p><a href="https://digitalcloud.training/courses/free-aws-certified-cloud-practitioner-practice-exam/">FREE AWS Practice Exam - AWS Certified Cloud Practitioner</a></p><h4>ExamTopics Free Exam Questions (990 questions &amp; Counting)</h4><p>This was my main resource for practicing after I used the above resources, as this is an extensive full database of questions that get continually updated, and is an amazing (and free!) practice resource you can take advantage on. If you are lucky enough, you may see a problem from here that comes up on the exam! Although some of the answers for the questions are based on votes, there is a dedicated discussion for each question that discusses why each answer is correct, which was incredibly useful for preparation.</p><p><a href="https://www.examtopics.com/exams/amazon/aws-certified-cloud-practitioner/?gclid=CjwKCAjwqZSlBhBwEiwAfoZUIL8m65uheLIP-avfvK9rkg_FmLQ2sbDoWX2Zzg5_nm9T0N03CtEQuhoCTEYQAvD_BwE">Free &amp; Accurate Amazon AWS Certified Cloud Practitioner Practice Questions | ExamTopics</a></p><h3>What to Expect on your Online Exam Day</h3><p>So now you’ve arrived to test day, now what? A lot of resource blogs tend to end here, and resources about what to expect on test day are seldom and limited to Reddit comments. Here’s everything you need to know for the online test day so all you have to worry about is the exam itself! (Although I cannot write about the in-person experience since I have not done that myself)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLc5GBH-IrCxFdgJkkiHDg.png" /><figcaption>Take the AWS Cloud Practitioner Exam online via OnVUE | Source: <a href="https://td-mainsite-cdn.tutorialsdojo.com/wp-content/uploads/2020/04/Pearson-OnVue-Page.png">Tutorials Dojo</a></figcaption></figure><h4>Before the Test</h4><p>When you register for the exam. You will receive an email from Pearson Vue to download the required testing software for your computer. Be sure to download the software and run a diagnostic exam through Pearson to ensure that everything is ready for test day. This is <strong>required to do before the exam </strong>so you don’t run into any issues.</p><p>When you get up to your test time, you will have a window of 30 minutes before and 15 minutes after you scheduled exam date to check in. You want to ensure you have a clean desk, including anything in the background in front of you, outside of your computer and a water bottle. The check-in period is extremely extensive, as you have to take and upload pictures of your work area and surroundings before the proctor can clear you for the exam. I don’t think I have to say this, but be sure to keep your surroundings for the test as work-friendly as possible!</p><h4>During the Test</h4><p>In addition to the check-in, there is extensive monitoring by your main proctor and multiple assistant proctors before and during your exam to ensure that no one is cheating on the exam. Any suspicious activity, including mumbling to yourself whether intentional or not, will be flagged by the proctors for potential fraud. For example, I was flagged with two warnings after part of my head was not in view of my webcam and was given a final warning about an hour into my exam before it could have been revoked.</p><p>While you are not allowed a pen/pencil and paper to write down notes as you go, there is a <strong>tab for each question where you can type your notes</strong>. I used this tab to eliminate any responses I knew were incorrect and typing out concepts that were relevant for the question such as writing out the full Cloud Adoption Framework for a cloud adoption related question.</p><p>You can also flag each question for review, and after you go through the end of your first pass, the exam has a great feature where you can view only the questions you have flagged or all the questions.</p><h4>After the Test</h4><p>After you submit your test and complete a short survey on the test experience, the platform will automatically tell you whether you passed or not. If you passed: congratulations! You will receive your full score and certificate a couple of days after the exam. If you haven’t: don’t worry! AWS does not limit the amount of retakes you get. Reflect on where you struggled in the exam and what you could do to improve it so you can focus on strengthening these areas.</p><p>Starting off your cloud journey with the AWS Cloud Practitioner Exam is a great way to get yourself exposure to AWS, and you can get a <a href="https://www.credly.com/badges/00ca8ba4-b469-4a79-b937-76d6ffcba5a1/linked_in_profile">shiny certificate badge</a> out of it too</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*RMTSRGrOydwvW4mVmjzieA.png" /><figcaption>AWS Cloud Practitioner Certificate I received after a couple of days</figcaption></figure><p>While you’re down here, please leave a comment on how you did on the test or if there is anything I should add or leave on this blog so it would be helpful for others who are preparing. And if you liked it, feel free to share this with others so they can be ready for test day as well!</p><p>Good luck on your exam, and happy learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89bb13fb3c01" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>