Digital Cloud Training Flashcards
(112 cards)
You would like to share some documents with public users accessing an S3 bucket over the internet. What are two valid methods of granting public red permissions so you can share the documents?
Grant public read access to the objects when uploading.
Use the AWS Policy Generator to create a bucket policy for your Amazon S3 bucket granting read access to public anonymous users.
Why would using CloudFront and a static website not be ideal for sharing documents from an S3 bucket over the Internet?
It’s not necessary when you can grant public read access through the AWS Policy Generator or the object policy, and it imposes some contraints on the solution.
Dynamo DB
A Fully managed NoSQL database solution that can scale seamlessly and has very low read/write latency.
Push Button Scaling
Scale the Database without incurring downtime. A key feature of DynamoDB.
You are building an application that will collect information about user behavior. The application will rapidly ingest large amounts of dynamic data and requires very low latency. The database must be scalable without incurring downtime. Which database solution would you recommend for this scenario?
DynamoDB
A Solutions Architect is building a complex application with several back-end APIs. The architect is considering using Amazon API Gateway. With Amazon API Gateway what are features that assist with creating and managing APIs?
Metering - define plans that meter and restrict third-party developer access to APIs
Lifecycle Management - Operate multiple API versions and multiple stages for each version simultaneously so that existing applications can continue to call previous versions after new API versions are published.
Your company would like to restrict the ability of most users to change their own passwords whilst continuing to allow a select group of users within specific user groups. What is the best way to achieve this:
1) Under the IAM Password Policy, deselect the option to allow users to change their own passwords.
2) Create an IAM Policy that grants users the ability to change their own password and attach it to the groups that contain those users.
What are IAM Roles used for?
IAM roles are Identity and Access Management entities that define a set of permissions for making AWS service requests. They are NOT associated with a specific user or group.
What is the best way to restrict a port and protocol combination from a security group?
Update the security group by removing the rule. You can only assign permit rules in a security group, you cannot assign deny rules.
You need to design a solution for distributing load across a number of EC2 instances across multiple AZs within a region. Customers will connect to several different applications running on the client’s serers through their browser using multiple domain names and SSL ceritificates. The certificates are stored in AWS Certificate Manager (ACM).
What is the optimal architecture to ensure HA, Cost Effectiveness, and performance?
Launch a single ALB and bind multiple SSL certificates to the same secure listener. Clients will use the Server Name Indication (SNI) extension.
With Server Name Indication (SNI) a client indicates the hostname to connect to. SNI supports multiple secure websites using a single secure listener.
SNI
Server Name Indication - An extension to the TLS protocol that is supported by browsers and clients released after 2010. If you configure CloudFront to server HTTPS requests using SNI, CloudFront associates your alternate domain name with an IP address for each edge location. This is the recommended method if you want viewers to use HTTPS and also use alternate domain names for your files.
What is the other option for allowing CloudFront to serve HTTPS requests?
Dedicated IP Addresses. This will incur an additional monthly charge.
What are the two ways you can encrypt data stored on an EBS volume without downtime?
Either create an encrypted volume and migrate the data, or take a snapshot, encrypt it, and create a new encrypted volume from the snapshot.
A customer has asked you to recommend the best solution for a highly available database. The database is relational OLTP type of database and the customer does not want to manage the operating system the database runs on. Failover between AZs must be automatic.
Use RDS in a Multi-AZ configuration. RDS is a managed service that will allow you to configure Multi-AZ which creates a replica in another AZ and synchronously replicates to it (DR only)
What is the difference between OLTP and OLAP
Online Transaction Processing is a class of software capable of supporting transactional-based software over the internet. Online Analytical Processing is a technology for report viewing and complex analytical calculations.
Name an AWS service that is used for OLAP
RedShift is used for data warehous analytics
Name an AWS service that is used for OLTP
RDS
Name all RDS database engines
Amazon Aurora PostgreSQL MySQL MariaDB Oracle MS SQL Server
What are the benefits of Amazon Aurora
Cost-effectiveness of Open Source Databases (MySQL) 3x faster than PostgreSQL 5x faster than MySQL 1/10th the cost of Commercial Databases Fully Managed by RDS 64TB fault-tolerant, self healing, distributed storage per instance up to 15 low-latency read replicates Replication across 3 AZs Continuous backup to S3
You are troubleshooting a connectivity issue where you cannot connect to an EC2 instance in a public subnet in your VPC from the Internet. Which configuration items would you check first?
The subnet has “Auto-assign public IPv4 address” set to “Yes”
The security group attached to the EC2 instance has an inbound rule allowing the traffic.
Public subnets are subnets that have:
“Auto-assign public IPv4 address” set to “Yes” which will assign a public IP
The subnet route tabe has an attached Internet Gateway
The instance will also need a security group with an inbound rule allowing the traffic.
When using a public subnet with an Internet Gateway, the instance needs ______ to be addressable from the Internet?
a Public IP address
NAT Gateways
Used to enable Outbound Internet access for instances in private subnets. Managed service, and provides availability, higher bandwidth, and requires less effort than a NAT Instance.
NAT Instances
A Non-managed NAT option to enable instances in the private subnet to initiate outbound IPv4 traffic to the internet or other AWS services, but prevent the instances from receiving inbound traffic from the Internet.