From practice tests Flashcards
AWS RAM
AWS Resource Access Manager (AWS RAM) enables you to share specified AWS resources that you own with other AWS accounts. To enable trusted access with AWS Organizations:
trusted service can create an IAM role called a service-linked role in every account in your organization whenever that role is needed
trusted access
From the AWS RAM CLI, use the enable-sharing-with-aws-organizations command.
Name of the IAM service-linked role that can be created in accounts when trusted access is enabled: AWSResourceAccessManagerServiceRolePolicy.
SCPs
SCPs DO NOT affect any service-linked role. Service-linked roles enable other AWS services to integrate with AWS Organizations and can’t be restricted by SCPs.
Direct Connect gateway
You can attach multiple private virtual interfaces to your Direct Connect gateway.
With Direct Connect Gateway, you no longer need to establish multiple BGP sessions for each VPC; this reduces your administrative workload as well as the load on your network devices.
ElasticCache Redis
An ElastiCache Redis cluster provides varying levels of data durability, performance, and cost for implementing disaster recovery or fault tolerance of your cached data. You can choose the following options to improve the data durability of your ElastiCache cluster:
- Daily automatic backups
- Manual backups using Redis append-only file (AOF)
- Setting up a Multi-AZ with Automatic Failover
What to do if your Lambda function needs Internet access?
if your Lambda function requires Internet access (for example, to access AWS services that don’t have VPC endpoints ), you can configure a NAT instance inside your VPC or you can use the Amazon VPC NAT gateway.
You cannot use an Internet gateway attached to your VPC, since that requires the ENI to have public IP addresses.
****
Do not attach it to a public subnet or to a private subnet without Internet access. Instead, attach it only to private subnets with Internet access through a NAT instance or an Amazon VPC NAT gateway. You should also ensure that the associated security group of the Lambda function allows outbound connections.
A multinational investment bank has a hybrid cloud architecture which uses a single 1 Gbps AWS Direct Connect connection to integrate their on-premises network to AWS Cloud
Which of the following is the MOST cost-effective solution that you should implement in order to improve the connection redundancy of your hybrid network?
It costs a lot of money to establish a Direct Connect connection which you rarely use. For a more cost-effective solution, you can configure a backup VPN connection for failover with your AWS Direct Connect connection.
If you want a short-term or lower-cost solution, you might consider configuring a hardware VPN as a failover option for a Direct Connect connection. VPN connections are not designed to provide the same level of bandwidth available to most Direct Connect connections. Ensure that your use case or application can tolerate a lower bandwidth if you are configuring a VPN as a backup to a Direct Connect connection.
You were just promoted as the IT Manager of a small, yet rapidly developing software consultancy company. Your CTO asked you to prepare the needed items in order to have a hybrid cloud architecture in which you have to connect your on-premises network to AWS Cloud.
Which of the following will enable federated user access to the AWS Management Console?
- Inside your organization’s network, you configure your identity store (such as Windows Active Directory) to work with a SAML-based identity provider (IdP) like Windows Active Directory Federation Services, Shibboleth, etc
- Create a SAML provider in IAM and create an IAM role that establishes a trust relationship between IAM and your organization’s IdP that identifies your IdP as a principal (trusted entity) for purposes of federation.
Must create SAML in IAM
ELB Elastic IP
It is not recommended to use EIP on top of ELB. Also, you should use an Alias record instead of an A record:
SSM Parameters Store vs Secrets Manager
If you want a single store for configuration and secrets, you can use Parameter Store. If you want a dedicated secrets store with lifecycle management, use Secrets Manager.
Global DDB
Global DynamoDB Tables, it will not automatically create new replica tables on all AWS regions. You have to manually specify and create the replica tables in the specific AWS regions where you want to replicate your data. Take note as well that the DynamoDB Stream option must be enabled in order for the Global DynamoDB Table to work.
Multi-region, multi-master. Data automatically replicated into chosen regions.
How can you ensure high availability of the online portal even in the event of application and database server failure?
In this scenario, the main priority is ensuring the availability of the online portal at all times. The application server as well as the database server should be configured to be highly available through the use of Auto Healing capabilities of OpsWorks stacks and RDS Multi-AZ deployments. If the Auto Healing capability in OpsWorks is enabled, any failed EC2 instances will be automatically replaced to avoid any downtime for the portal.
This is if no ASG
Lambda@Edge
Lambda@Edge lets you run Lambda functions to customize the content that CloudFront delivers, executing the functions in AWS locations closer to the viewer.
Route 53 Record Origins
EC2 - type A record, no alias
ELB, CloudFront, S3 - type A record with alias
RDS - CNAME record, no alias
169.254.169.253
Amazon DNS Server
CloudFront field encryption
Up to 10 fields, must specify public key
With Certificate manager pay
Mostly for Private CA and private certificates
Max DDB Item size
400KB
Redshift EC2 Limits
Cannot use Spot instances
Amazon Inspector
automated security assessment service that helps improve the security and compliance of applications deployed on AWS
Using Amazon Inspector, you can define a collection of AWS resources that you want to include in an assessment target. You can then create an assessment template and launch a security assessment run of this target.
Uses IAM service-linked role.
To activate the AWS generated tags
Activate it in the Billing and Cost Management console of the master account