HackMD
  • API
    API  HackMD API beta testing
    HackMD API is now in beta, join us for a test drive.
    Getting started Got it
      • Create new note
      • Create a note from template
    • API  HackMD API beta testing
      API  HackMD API beta testing
      HackMD API is now in beta, join us for a test drive.
      Getting started Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • ODF (Beta)
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML ODF (Beta)
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # AWS Certified Cloud Practitioner Exam Preparation Workshop Hi there, Thanks for your interest in the AWS Certified Cloud Practitioner Certifcation. Below is your go to review guide before you attempt your AWS Cloud Practitioner Certification. I am confident that a thorough review of this sheet will help you ace your your Cloud Practitioner Cert in your very first attempt. If you do pass, a tweet or a LinkedIn post would be really appreciated. **Preparation Links:** [Paul's Practice Questions](http://www.dumbooctopus.net/) [Cert Prep](https://bit.ly/CPEssentials) Thank you and all the best! **Paul Jackson** | **Joel Skepper** | **Manoj Ravikumar Nair** | **Bo Zhang** | **Phil Owen** | **Neo Singh** | **Lupco Trpeski** | Learn more at [AWS Training](https://aws.training) ## Update as of 9th of April, 2020 -- Manoj Nair We just launched a self paced learning course for AWS Cloud Practitioner course. Enjoy https://trailhead.salesforce.com/en/content/learn/trails/learn-the-aws-cloud-practitioner-essentials ## AWS Certified Cloud Practitioner Exam Details * Covers foundational concepts for any technical role * Proctored Exam * 90 Minutes * 65 Multiple Choice, Multiple Answer Questions ## Certification Areas of Focus - Cloud Concepts :cloud: - Security - Billing / Pricing - Technology # Overview * Understanding AWS Infrastructure * Reviewing the Shared Responsibility Model * Examining the Economics of the Cloud * Architecting Infrastructure on AWS * Supporting Your AWS Infrastructure ## AWS Global Infrastructure **Regions:** - Based in a specific geographic region - Made up of two or more Availability Zones (AZ’s) - Offers a specific subset of AWS services **Availability Zones** - Made up of one or more data centers - Low latency communication between availability zones - Designed to isolate any failure to a single availability zone **AWS Edge Locations** - Used as nodes of a global content delivery network - Allows AWS to serve content from locations closest to users - Primarily used by Amazon CloudFront and related services ## Shared Responsibility Model > Security and Compliance is a shared responsibility between AWS and the customer. **Security of the cloud - AWS** - [ ] Access & **Training** for Amazon Employees - [ ] Global Data Centers & Underlying Network - [ ] Hardware for Global Infrastructure - [ ] Configuration Management for Infrastructure - [ ] Patching Cloud Infrastructure & Services **Security in the cloud - Customer** - [ ] Individual Access to Cloud Resources & **Training** - [ ] Data Security & Encryption (both in transit and at rest) - [ ] Operating System, Network, and Firewall Configuration - [ ] All Code Deployed onto Cloud Infrastructure - [ ] Patching Guest OS and Custom Applications ## Economics of Cloud **Capitalized Expenditure (CapEx)** > When building a data center, an organization invests in upfront costs for the building, servers, and supporting equipment. > This type of expense to attain a fixed asset is referred to as a Capitalized Expenditure or CapEx. > **Operating Expenditure (OpEx)** > The regular day to day expenses of a business are considered Operating Expenditures or OpEx. After theinitial build of a data center, ongoing connectivity, utility, and maintenance costs would be considered OpEx. > ## AWS Cost Planning Tools **AWS TCO Calculator** Enables an organization to determine what could be saved by leveraging cloud infrastructure. [TCO Calculator](https://aws.amazon.com/tco-calculator/) **AWS Simple Monthly Calculator** Enables an organization to calculate the cost of running specific AWS infrastructure. [Simple Monthly Calculator](https://calculator.s3.amazonaws.com/index.html) **AWS Cost Explorer** User Interface for Exploring Your AWS Costs Provides Breakdowns Including - By Service - By Cost Tag (This is important and can come up in the exam) Provides Predictions for the Next Three Months of Costs Gives Recommendations for Cost Optimization Can Be Accessed via API **AWS Organizations** 1. Allows organizations to manage multiple accounts under a single master account 1. Provides organizations with the ability to leverage Consolidated Billing for all accounts 1. Enables organizations to centralize logging and security standards across accounts ## Architecture on AWS ### **Well Architected Framework** The Well Architected Framework is a collection of best practices across five key pillars for how to best create systems that create business value on AWS. **Operational Excellence** Running and monitoring systems for business value **Security** Protecting information and business assets **Reliability** Enabling infrastructure to recover from disruptions **Performance Efficiency** Using resources efficientlyto achieve business value **Cost Optimization** Achieving minimal costs for the desired value Remember the Pillars => **O**pen **S**ource **R**equires **P**ersonal **C**ommitment ### **Reliability on AWS** #### **Fault Tolerance** Being able to support the failure of components within your architecture #### **High Availability** Keeping your entire solution running in the expected manner despite issues that may occur ### **AWS Disaster Recovery Approaches** **Backup & Restore** Backups of systems are stored to restore in a DR event **Pilot Light** Minimal resources are setup in AWS to support a DR event **Warm Standb**y Systems are running in AWS and can be scaled up for DR **Multi-Site** Systems are running in two regions and support users ## Supporting Your AWS Infrastructure **AWS Basic Support** * Provided for All AWS Customers Access to Trusted Advisor (7 Core Checks) * 24x7 Access to Customer Service,Documentation, Forums, & Whitepapers * Access to Personal Health Dashboard * No Monthly Cost **AWS Developer Support** * Includes all Features of Basic Support Business Hours Access to Support Engineers * Limited to 1 Primary Contact * Starts at $29 per month (tied to AWS usage) **AWS Business Support** * Includes all Features of Developer Support * Full Set of Trusted Advisor Checks * 24x7 Phone, Email, and Chat Access to Support Engineers * Unlimited Contacts * Starts at $100 per month (tied to AWS usage) **AWS Enterprise Support** * Includes all Features of Business Support * Includes Designated Technical Account Manager (TAM) * Includes Concierge Support Team Starts at $15,000 per month (tied to * AWS usage) ## Interacting with AWS Services - Use the AWS Management Console - Use the AWS CLI - Use the AWS SDK (.NET, Java, Python etc.) ## Networking and Content Delivery - Amazon Route 53 - DNS, Global Service, 100 % SLA - Amazon VPC - Logically isolated section of AWS where you can launch AWS resources in a virtual network that you define - Amazon Direct Connect - Establish dedicated network connection from your on-premises to AWS - Amazon API Gateway - Fully managed API Management Service - Amazon CloudFront - Content Delivery Network leveraging Edge locations - Includes advanced features like AWS Shied for DDoS - AWS WAF - Elastic Load Balancing - Distributes traffic across multiple targes - Supports Multi-AZ architecture - Types - Application Load Balancer - Network Load Balancer - Classic Load Balancer ## Security on AWS Identity and Access Management - Controls access to AWS resources - Manages both Authentication and Authorization - Supports Identity Federation - Principals include - Users - Groups - Roles - Policies in AWS IAM - JSON Document that defines permissions for an IAM Principal - Defines what services a principal can access and what actions can be taken on that service - ![](https://i.imgur.com/U0qYD2E.png) ### **IAM Best Practices** **Multi-factor Authentication** Provides additional security with either a physical or virtual device that generates a token for login **Least Privilege Access** Users should only be granted access to AWS resources that are required for their current tasks ![](https://i.imgur.com/Tc1ANZK.png) ### Security in Amazon VPC Security Groups - Firewall. Stateful Network ACL's - Applied to Subnets. Not statefull Flow Logs - Information around traffic within your VPC Additional Security Services on AWS CloudTrail - Enables logging of all actions (API) made within your AWS Account AWS Shield - Provides detection of DDoS Attacks AWS WAF - Protects Web Application from common exploits AWS Inspector - Vulnerability Detection via agents installed on EC2 ## Compute Services - Amazon EC2 - Virtual Machines - AWS Lambda - Serverless Functions as a Service - Amazon ECS - Containerized Applications ## Purchase Options for EC2 - On-demand - Pay by the second or hour for instances launched - Reserved - Purchase discount instances in advance for 1-3 years - Spot - Leverage unused capacity in a region for large discount ### Tips * If you have an instance that is consistent and always needed, you should purchase a Reserved Instance. * If you have batch processing where the process can start and stop without affecting the job, you should leverage Spot Instances. * If you have an inconsistent need for instances that cannot be stopped without affecting the job, leverage On-demand Instances. ## Container Management Services for AWS - Amazon ECS - Container Orchestration Service on AWS - AWS Fargate -Containerized Applications without managing Servers - Amazon EKS - Managed Kubernetes on AWS ## AWS Lambda 1. Enables the running of code withoutprovisioning infrastructure 1. Only charged for usage based on execution time 1. Can configure available memory from 128 MB to 3008 MB 1. Integrates with many AWS services 1. Enables event-driven workflows 1. Primary service for serverless architecture **AWS Elastic Beanstalk** * Automates the process of deploying and scaling workloads on EC2 * Supports a specific set of technologies * Leverages existing AWS services * Only pay for the other services youleverage * Handles provisioning, load balancing, scaling, and monitoring ## Storage on AWS ### Amazon S3 * Stores files in buckets * Provides different storage classes for different use cases * Stores data across multiple availabilityzones * Enables URL access for files * Can provide transfer acceleration foruploads using AWS edge locations * Offers configurable rules for data lifecycle ### Amazon S3 Non-archival Storage Classes S3 Standard is the default storage class and is for frequently accessed data. S3 Intelligent-Tiering will move your data to the correct storage class based on usage. S3 Standard-IA is for infrequently accessed data with the standard resilience. S3 One Zone-IA is for infrequently access data that is only stored in one AZ ### Amazon Glacier * Designed for archiving of data within S3 as separate storage classes * Offers configurable retrieval times * Can send files directly or through lifecycle rules in S3 * Provides two different storage classes - **S3 Glacier** - Designed for archival data - 90 day minimum storage duration change - Can be retrieved in either minutes or hours - You pay a retrieval fee per GB retrieved - Over 5 times less expensive than S3 Standard storage class - **S3 Glacier Deep Archive** - Designed for archival data - 180 day minimum storage duration change - Can be retrieved in hours - You pay a retrieval fee per GB retrieved - Over 23 times less expensive than S3 Standard storage class ## Amazon EC2 File Storage Services ### Amazon EBS Persistent block storage for use with Amazon EC2 Enables redundancy within an AZ Allows users to take snapshots of its data Offers encryption of its volumes Provides multiple volume types - General purpose SSD - General Purpose SSD is a cost effective type designed for general workloads. - Provisioned IOPS SSD - Provisioned IOPS SSD high performance volume for low latency applications. - Throughput optimized HDD - Throughput Optimized HDD is designed for frequently accessed data - Cold HDD - Cold HDD is designed for less frequently accessed workloads ### Amazon EFS Elastic file system for use with Linux-based workloads * Fully managed service * Designed for Linux workloads * Supports up to petabyte scale * Stores data across multiple AZ’s * Provides two different storage classes * - Standard * - Infrequent access * Provides configurable lifecycle data rules ## AWS Storage Gateway - Useful for Hybrid Scenarios - AWS Storage Gateway connects an on-premises software appliance with cloud-based storage to provide seamless integration with data security features between your on-premises IT environment and the AWS storage infrastructure. - You can use the service to store data in the AWS Cloud for scalable and cost-effective storage that helps maintain data security. - AWS Storage Gateway offers - file-based, - volume-based, - and tape-based storage solutions ![](https://i.imgur.com/gTCYYjd.png) ## Databases on AWS - Amazon RDS - Amazon Aurora - Amazon DynamoDB - Amazon Redshift - Amazon Elasticache - AWS Database Migration Service ### Amazon Relational Database Service (RDS) * Fully managed service for relationaldatabases * Handles provisioning, patching, backup,and recovery of your database * Supports deployment across multiple availability zones (multi-AZ) * Some platforms support read replicas * Launches into a VPC * Provides both general purpose SSD and provisioned IOPS SSD drive options * Platforms Include * MySQL * PostgresSQL * MariaDB * Oracle Database * SQL Server * Amazon Aurora ## Amazon DynamoDB * Fully managed NoSQL database service * Provides both key-value and document database * Enables extremely low latency at virtually any scale * Supports automated scaling based on configuration * Offers in-memory cache with the DynamoDB Accelerator (DAX) ## Amazon Redshift * Scalable data warehouse service * Supports petabyte scale warehousing of data * Leverages high performance disks and columnar storage * Offers the ability to fully encrypt contents * Provides isolation with a VPC * Enables querying of exabytes of data in Amazon S3 using Redshift Spectrum ## Amazon Elasticache * Fully managed in-memory data stores * Supports both Memcached and Redis * Provides low latency in response times * Enables scaling and replicas to meet application demand * Handles common use cases including - Database layer caching - Session storage ## AWS Database Migration Service Enables you to securely migrate data into AWS in an efficient manner for both homogeneous and heterogeneous migrations either all at once or in a continual manner. Whenever you want to 'migrate a database', DMS is your friend ## AWS App Integration Services ### Amazon SNS - Managed Pub / Sub Messaging Architecture * Fully managed pub/sub messaging service * Enables you to create decoupledapplications * Organized according to topics * Integrates with multiple AWS services * Provides end user notifications across SMS,email, and push notifications ![](https://i.imgur.com/XW2Ybdc.png) ### Amazon SQS - Managed Message Queue Service * Fully managed message queue service * Enables you to build decoupled and fault tolerant applications * Supports up to 256 KB data payload * Allows messages to be store up to 14 days * Provides two types of queues * - Standard queue * - FIFO queue (first in first out) ## Management & Governance Services ### AWS CloudTrail - Enables operational auditing of APIs of your AWS account ### AWS CloudFormation - Provides infrastructure as code capabilities for AWS - Managed service for provisioning infrastructure based on templates - No additional charge - Templates can be YAML or JSON - Enables infrastructure as code - Manages dependencies between resources - Provides drift detection to find changes in your infrastructure ```yaml Description: Creates an S3 bucket Resources: SampleS3Bucket: Type: AWS::S3::Bucket Properties: BucketName: sample-s3-bucket ``` The code above if placed within a full CloudFormation template would create a single S3 bucket ### AWS CloudWatch - Enables monitoring and metrics on your AWS resources - Monitoring and management service - Collects logs, metrics, and events from most AWS services - Enables alarms based on metrics - Provides visualization capabilities for metrics - Allows for custom dashboards based on collected metrics ## Additional Topics ### AWS Acceptable Use Policy The AWS Acceptable Use Policy defines prohibited uses of the services offered by AWS. All users of the platform are bound by this policy. ## AWS Marketplace * Curated catalog of third-party solutions for customers to run on AWS * Provides AMI’s, CloudFormation stacks, and SaaS based solutions * Enables different pricing options to overcome licensing in the cloud * Charges appear on your AWS bill ## AWS Large Scale Data Transfer Services ### AWS Snowball Service to physically migrate petabyte scale data to AWS ![](https://i.imgur.com/OcKOYrH.png) ### AWS Snowmobile Service to physically migrate exabyte scale data onto AWS ![](https://i.imgur.com/4TaHSny.png) ### AWS Teams * AWS Enterprise Support - Support Engineers + TAMs * AWS Solutions Architects - Help Customers Architect solutions on AWS * AWS Professional Services - Paid Services team that help customer deploy solutions on AWS * AWS Partner Network Technology Partners - They build products using AWS Services * AWS Partner Network Consulting Partners - If a customer does not have in-house AWS Expertise, then they can leverage Consulting Partners ## Exam Review ### Reviewing Cloud Concepts * Review how cloud platforms differ from traditional data centers * Review how AWS organizes its infrastructure globally * Understand how scalability differs in the cloud from traditional data centers * Review CapEx and OpEx expenditures ### Reviewing Security * Understand the Shared Responsibility Model from AWS * Review highlighted best practices for securing your AWS account & resources * Review options for securing traffic within a VPC * Review IAM and identity types * Understand Least Privilege Access ### Reviewing Billing & Pricing * Review tools that help you understand AWS costs * Understand the most cost-effective ways to leverage core services * Review how costs differ from traditional data centers * Review ways that organizations can manage and review costs * Understand different support plan levels ### Reviewing Technology * Write down AWS services we covered and a summary of each * Implement basic solutions using the services we covered * Review architectural principles for fault tolerance & high availability * Analyze scalability approaches ## Testing Best Practices * Take time to analyze each question for its intent * Try the principal of eliminating incorrect options * Review what is required for the answer on each question * Skip a question if it takes too much time. Mark it for review if required * Leverage the review capability * Guess if you don’t know the answer after the review phase * Examine the clock after each 10 questions * Approximately 1.3 mins per question

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully