Will a Service Control Policy (SCP) attached to a higher-level Organizational Unit (OU) with an Allow policy for a specific service override a Deny policy in the same service control policy attached to a lower-level OU?
No, it does not necessarily mean that it will override the Deny policy. Creating and attaching a new Deny SCP to the new account's OU will not be affected by the pre-existing Allow policy in the same OU.
Will RDS Multi-AZ protect from regional failures?
No, it protects only from AZ failures.
How many primary DB instances will RDS Multi-AZ have?
One.
What are the other instances in RDS Multi-AZ?
Standby instances.
Will the data be synchronously replicated from primary to standby instances in RDS Multi-AZ?
Yes.
What will happen when the primary instance fails in RDS Multi-AZ?
RDS automatically fails over to a standby instance without manual intervention.
There are two master RDS DB in two regions. They are master DBs to their individual regions (i.e., they accept write operations in their own region) How to replicate data between them?
It's not possible to replicate data between two master DBs in different regions when they both accept write operations.
There are 2 servers in us-east-1 and us-west-1 regions. Users from New York should be directed to us-east-1 and users from Los Angeles to us-west-1. Which Route53 routing policy should be used?
Geo-location routing policy.
A portion of Los Angeles based users should be directed to us-east-1 even though us-west-1 is their closest region. Which Route53 routing policy should be used?
Geo-proximity routing policy.
How is Multivalue answer routing policy is different from failover routing policy?
In Multivalue answer routing policy, a single domain is resolved to multiple IP addresses. The DNS resolver on the client-side selects one of those IPs randomly and uses it to connect to the resource that can server the request. It's main use is load balancing.
In Failover routing policy, AWS (not the client) redirects the traffic to a healthy instance during a failover. It's main use is disaster recovery/high availability.
There are servers in North Virginia, Sydney and Frankfurt regions. Users from USA should be directed to Sydney and users from Australia should be directed to North Virginia in case of regional failures. Should we use Multivalue answer routing policy/Failover routing policy?
Failover routing policy. Multivalue routing policy should not be used as the users may be directed to Frankfurt if the servers there are healthy. But, the requirement doesn't say the traffic should be redirected to Frankfurt.
There are servers in North Virginia, Sydney and Frankfurt regions. Users from USA should be directed to North Virginia and users from Australia should be directed to Sydney. Which Route53 routing policy should be used?
Geo-location routing policy.
There should be a DB set-up which should span multiple regions. The in-region DB endpoint should accept both reads and writes. Data should be sync'd across all regions with less than a second latency. Which DB should be used?
Create a cluster of Aurora Global database in all the regions.
There are 2 regions (Ohio and Seoul) and Aurora Global database is span across these 2 regions. Can applications write data in their local regions?
No, Aurora Global database can have only one primary region and up to 5 secondary regions. Data will only be written to the primary instance and replicated to the secondary instances instantly. In this case, if Ohio is the primary region, applications from both Ohio and Seoul will write only into the primary region i.e., Ohio . However, applications from the secondary regions can read the data from secondary regions i.e., Seoul.
In the set-up above, Aurora Global database instance in Ohio region should be set up as the primary instance during the morning time in North America. Aurora Global database instance in Seoul region should be set up as the primary instance during the morning time in East Asia. How to do this?
Any secondary database instance can be promoted to a primary database instance in Aurora Global database, through configurations, in under a minute.
How to store the state of the EC2 application servers regularly?
By taking snapshots.
Where can we store those snapshots?
In S3.
Which open-source framework can be used to build serverless application on AWS?
AWS Serverless Application Model (SAM)
Is AWS SAM an extension of AWS CloudFormation?
Yes. It has the deployment capabilities of AWS CloudFormation. Resources can be defined using AWS CloudFormation in AWS SAM templates. AWS CloudFormation's resources suite, function and template features are available.
Which AWS services can be used to build a deployment pipeline for serverless applications?
AWS CodeBuild, AWS CodeDeploy and AWS CodePipeline.
Which AWS service can be used to automatically configure project structure, code repository and a CI/CD pipeline?
AWS CodeStar.
Can we use Jenkins plugin to deploy serverless applications?
Yes.
Can we build production-ready applications using Stackery.io's toolkit?
Yes.
Which service lets use Chef and Puppet to automate how servers are configured, deployed and managed across EC2 instances or On-premises?
AWS OpsWorks.
Which service is used to configure and manage instances with custom runbooks or pre-defined runbooks maintained by AWS?
AWS Systems Manager Automation.
What is AWS Serverless Application Repository?
It's a managed repository for serverless applications.
A fleet of EC2 instances/On-prem VMs should be patched based on their OS type (Windows, Linux), Environment (dev, prod), Server functions (Web, App, File, DB). Patching should be targeted e.g., a specific patch should be applied only to Windows servers in prod environment. Which Systems Manager service you would use?
Use Systems Manager's Patch Manager, Patch Group and Patch Baseline. Tag resources based on their types e.g., dev-linux-app.
Systems Manager Run Command, Patch Compliance, Systems Manager Maintenance Windows and AWS Config can also be used but it takes more effort.
What would you use to collect and analyze logs from a large number of mixed Windows and Linux Amazon EC2 instances for monthly performance checks? What will be the appropriate tool for log analysis?
Set up Unified CloudWatch Log agent (better than SSM agent in this case) in each EC2 instance. This will automatically collect and push data to CloudWatch logs. CloudWatch Logs Insights will be the appropriate log analysis tool.
What is the quickest approach for a solutions architect to troubleshoot new Amazon EC2 instances marked as unhealthy by an ALB, despite having AWS Systems Manager Agent and CloudWatch Logs set up, which are getting terminated before the architect can log in and the collected logs on CloudWatch Logs do not provide definitive errors?
To prevent the Auto Scaling group from terminating EC2 instances and allow sufficient time for troubleshooting, the solutions architect should suspend the "Terminate" process for the Auto Scaling Group and use AWS Systems Manager Session Manager to log in to one of the unhealthy instances.
Comments
Post a Comment