CPE Flashcards
Storage
How much data can be stored in Amazon S3?
Virtually Unlimited
Databse Services
Benefits of deploying a relational database on Amazon RDS instead of Amazon EC2?
Automated backups
Software Patching
RDS is a managed service that makes it easy to set up, operate, and scale a relational database in the cloud.
Amazon Aurora is a RDS DB
The RDS service includes the following:
* Security and patching of the DB instances.
* Automated backup for the DB instances.
* Software updates for the DB engine.
* Easy scaling for storage and compute.
* Multi-AZ option with synchronous replication.
* Automatic failover for Multi-AZ option.
* Read replicas option for read heavy workloads.
RDS is a fully managed service and you do not have access to the underlying EC2 instance (no root access).
Relational databases are known as Structured Query Language (SQL) databases.
Non-relational databases are known as NoSQL databases.
RDS is an Online Transaction Processing (OLTP) type of database.
RDS features and benefits:
* SQL type of database.
* Can be used to perform complex queries and joins.
* Easy to setup, highly available, fault tolerant, and scalable.
* Used when data is clearly defined.
* Common use cases include online stores and banking systems.
Amazon RDS supports the following database engines:
* SQL Server.
* Oracle.
* MySQL Server.
* PostgreSQL.
* Aurora.
* MariaDB.
Database Services
Postgress SQL DB running on an Amazon EC2 instance. How do you increase availability.
Migrate to Amazon RDS and enable the Multi-AZ feature
Amamzon RDS has a built in Multi-AZ feature
Database Services
Deploying my SQL on AWS: Need to scale and auto backup. Which Amazon service to use
Amazon Aurora
Amazon Aurora is a relational database
Amazon RDS supports the following database engines:
* SQL Server.
* Oracle.
* MySQL Server.
* PostgreSQL.
* Aurora.
* MariaDB.
Developer Tools
Which AWS service provide a managed software version control system?
AWS CodeCommitt
AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories.
Developer Tools
Which tool helps set up your entire continuous delivery toolchain in minutes, allowing you to start releasing code faster.
AWS CodeStar
AWS CodeStar enables you to quickly develop, build, and deploy applications on AWS.
AWS CodeStar provides a unified user interface, enabling you to easily manage your software development activities in one place.
AWS CodeStar makes it easy for your whole team to work together securely, allowing you to easily manage access and add owners, contributors, and viewers to your projects.
You can use a variety of project templates to start developing applications on Amazon EC2, AWS Lambda, and AWS Elastic Beanstalk.
AWS CodeStar projects support many popular programming languages including Java, JavaScript, PHP, Ruby, and Python.
https://aws.amazon.com/codestar/features/
Developer Tools
What is AWS CodeCommit?
AWS CodeCommit is a fully managed source control service that hosts secure Git-based repositories.
It makes it easy for teams to collaborate on code in a secure and highly scalable ecosystem.
CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure.
You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.
https://aws.amazon.com/codecommit/features/
What is AWS CodeBuild
AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy.
With CodeBuild, you don’t need to provision, manage, and scale your own build servers. CodeBuild scales continuously and processes multiple builds concurrently, so your builds are not left waiting in a queue.
You can get started quickly by using prepackaged build environments, or you can create custom build environments that use your own build tools.
With CodeBuild, you are charged by the minute for the compute resources you use.
https://aws.amazon.com/codebuild/features/
A website has a global customer base and users have reported poor performance when connecting to the site.
Which AWS service will improve the customer experience by reducing latency?
AWS CloudFront
Amazon CloudFront is a content delivery network (CDN) that allows you to store (cache) your content at “edge locations” located around the world.
This allows customers to access content more quickly and provides security against DDoS attacks.
CloudFront can be used for data, videos, applications, and APIs.
CloudFront uses Edge Locations and Regional Edge Caches:
An Amazon Virtual Private Cloud (VPC) can include multiple:
Availability zones
A virtual private cloud (VPC) is a virtual network dedicated to your AWS account. Analogous to having your own DC inside AWS.
It is logically isolated from other virtual networks in the AWS Cloud.
Provides complete control over the virtual networking environment including selection of IP ranges, creation of subnets, and configuration of route tables and gateways.
You can launch your AWS resources, such as Amazon EC2 instances, into your VPC.
When you create a VPC, you must specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.This is the primary CIDR block for your VPC.
A VPC spans all the Availability Zones in the region.
You have full control over who has access to the AWS resources inside your VPC.
You can create your own IP address ranges, and create subnets, route tables and network gateways.
When you first create your AWS account a default VPC is created for you in each AWS region. A default VPC is created in each region with a subnet in each AZ.
By default you can create up to 5 VPCs per region.
Using EC2 instances to run applications dedicated to different departments in a sigle VPC. How to break the cost and allocate to each department?
Create Tags by department and run a cost allocation report.
create cost allocation tags that specify the department and assign them to resources. These tags must be activated so they are visible in the cost allocation report. Once this is done and a monthly cost allocation report has been configured it will be easy to monitor the costs for each department.
serverless workflow that coordinates multiple AWS services into a reliable application.
visual workflow that can track the status of each step in the application.
AWS Step Functions
allows developers to coordinate multiple AWS services into serverless workflows. It provides a visual console to visualize the steps in the workflow, helping to build and update applications quickly and monitor the status of each step in the process.
AWS Data Exchange
allows customers to find, subscribe to, and use third-party data in the cloud. Companies can subscribe to a diverse selection of data products provided by various data providers.
What can a Cloud Practitioner use to categorize and track AWS costs by project?
Cost allocation tags
Amazon CloudFront
is a content delivery network (CDN) that caches content around the world for lower latency access.
AWS Global Accelerator enables access to your application by leveraging the same Edge Locations as CloudFront and routing connections across the AWS global network.
AWS Outposts
With AWS Outposts you can extend your VPC into the on-premises data center
fully managed service that offers the same AWS infrastructure, AWS services, APIs, and tools to virtually any datacenter, co-location space, or on-premises facility for a truly consistent hybrid experience.
What does AWS trusted Advisor do?
improve the performance of your service by checking your service limits, ensuring you take advantage of provisioned throughput, and monitoring for overutilized instances.
Trusted advisor provide recommendations
AWS Trusted Advisor offers a rich set of best practice checks and recommendations across five categories: cost optimization, security, fault tolerance, performance, and service limits.
CloudWatch monitor performance but does not provide recommendations
What does Amazon Inspector do?
Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS.
Amazon Inspector automatically discovers workloads, such as Amazon EC2 instances, containers, and Lambda functions, and scans them for software vulnerabilities and unintended network exposure.
What does AWS Health Dashboard do?
The health dashboard shows issues or upcoming events that may impact your resources. It does not notify of service limit breaches.
Elements in S3 bucket policy
Action: action
Resoruce: Hardware
Principal: User
Condition: condition
Amazon CloudWatch
Amazon CloudWatch is a performance monitoring service. AWS services send metrics about their utilization to CloudWatch which collects the metrics. You can then view the results in CloudWatch and configure alarms.
CloudWatch monitor performance but does not provide recommendations
AWS CloudFormation
provides a common language for you to describe and provision all the infrastructure resources in your cloud environment.
CloudFormation allows you to use a simple text file to model and provision, in an automated and secure manner, all the resources needed for your applications across all regions and accounts.
This file serves as the single source of truth for your cloud environment.
You can use JSON or YAML to describe what AWS resources you want to create and configure.
Ways you can work with AWS Identity and Access Management (IAM)
- AWS Management Console
- AWS Command Line Tools
- AWS SDKs
- IAM HTTPS API
IAM can be used to manage
Users.
Groups.
Access policies.
Roles.
User credentials.
User password policies.
Multi-factor authentication (MFA).
API keys for programmatic access (CLI)
IAM Users
IAM users are individuals who have been granted access to an AWS account
Each IAM user has three main components:
A username.
A password.
Permissions to access various resources.
What should the root account be used for
Billing only if possible