devHọc Dev

Week 4 - Day 4: Week 4 Review Quiz

Week 4 – Day 4

43 questions0s
See the answer and explanation right after each question
1
A financial company has 200 on-premises servers (including self-managed databases on VMs) and needs a DR plan to AWS with an RPO of seconds and an RTO of minutes. Cost when there is no incident must be as low as possible, and they must run quarterly DR drills without affecting production. Which solution fits best?
2
A 3-tier application runs in us-east-1. DR requirements: RPO 5 minutes, RTO 1 hour, at the lowest cost that meets both targets. Which architecture fits?
3
An Aurora cluster has 1 writer and 2 Aurora Replicas in the same Region. The writer instance suffers a hardware failure. What happens, and what should the application do to minimize disruption?
4
An Auto Scaling group uses a simple scaling policy. After each scale-out, the group scales out again before the new instances can take traffic, resulting in excess instances. What is the cause and the most correct fix?
5
A global gaming application needs to write data in multiple Regions simultaneously (active-active), with single-digit millisecond read/write latency in each Region, and automatic conflict resolution when two Regions write the same item. Which solution has the least operational overhead?
6
A website runs on-premises (accessed over Direct Connect, an A record points to the on-prem IP). When the datacenter fails, the company wants to automatically send users to a static "maintenance" page on S3 within a few minutes, with no human intervention. Which Route 53 configuration is correct?
7
Select all that apply
The security team wants to use AWS Backup as the centralized backup tool for the whole Organization (backup policies from the management account). Which of the following services does AWS Backup support directly? (Choose 3)
8
RDS MySQL Multi-AZ. When the AZ hosting the primary fails, RDS fails over successfully after about 90 seconds, but the Java application keeps reporting connection errors for another 10 minutes. What is the most likely cause?
9
An organization has 150 accounts. Requirement: detect threat behavior (crypto-mining, exfiltration, compromised credentials) based on CloudTrail, VPC Flow Logs, and DNS logs, without installing agents, managed centrally, and automatically enabled for new accounts. Which solution?
10
Data in us-east-1 is encrypted with KMS. The DR plan requires copying snapshots/objects to eu-west-1 and being able to decrypt them in the DR Region without client-side re-encryption, while the ciphertext stays unchanged. Which solution?
11
A VPC has workloads in private subnets that reach the internet through a NAT Gateway. The security team needs to inspect all egress traffic (domain filtering, IDS/IPS) with AWS Network Firewall following the AWS reference architecture. Where should the firewall endpoint be placed?
12
Compliance requirement: encryption keys must live in a single-tenant HSM fully controlled by the customer, at FIPS 140-3 Level 3. Which service and certification level match the current CloudHSM generation (hsm2m.medium)?
13
Select all that apply
Security Hub is enabled with a delegated administrator to aggregate findings from many accounts. Which of the following services are built-in finding sources for Security Hub? (Choose 3)
14
A public application behind an Application Load Balancer needs a TLS certificate for the domain www.example.com. Requirements: no certificate cost, automatic renewal, and the least operational effort. Solution?
15
An auditor requests AWS's SOC 2 Type II report and PCI DSS Attestation of Compliance to prove the infrastructure provider meets the standards. Where do you get these documents?
16
50 EC2 instances run an internal application that accepts an RPO of 24 hours and an RTO of 8 hours. The company wants DR to another Region at the lowest cost. Solution?
17
A company is migrating its datacenter to AWS (a one-time cutover) and also needs continuous DR for the servers remaining on-premises. Which tool should the architect recommend for each need?
18
Internal policy requires quarterly DR drills for on-premises servers protected by AWS Elastic Disaster Recovery, and after a real incident the workload must be brought back on-premises. How does DRS meet these two requirements?
19
An organization has 120 accounts, and each team creates its own ALBs and CloudFront distributions. The security team requires every ALB and distribution, including ones created in the future, to have a web ACL with a managed rule against SQL injection, and to re-attach automatically if a team removes it. Which solution has the least operational overhead?
20
Internal audit requires reducing excess permissions across the Organization: list IAM roles, access keys, and permissions not used in 90 days in every account, with findings centralized in one place for remediation. Solution?
21
A fintech company processes card data on EC2. Requirements: after decryption, data may only be processed in an isolated environment, even someone with root on the instance cannot read the plaintext, and KMS only allows decryption for the approved application image. Solution?
22
Select all that apply
An application writes logs to CloudWatch Logs. The security team wants to process logs in near real time (detect error patterns and push them into an analytics pipeline) using a subscription filter. Which destinations can a subscription filter send to directly? (Choose 2)
23
A microservices application consists of API Gateway → Lambda → DynamoDB plus a service on ECS. Users complain about erratic high latency; the operations team cannot identify which service is slow in the call chain. Which tool answers that question most directly?
24
Auditors need to know who read (GetObject) which objects in a bucket containing sensitive data, queryable with Athena and retained for 1 year. CloudTrail currently records only management events. Solution?
25
A company wants to ensure every EBS volume is encrypted. Non-compliant volumes must be detected and recorded automatically, and also automatically trigger a notification and get tagged for remediation. Which solution has the least operational overhead?
26
A trading system needs to detect latency spikes within seconds and trigger an alarm. The application publishes its own custom metric. What is the finest resolution CloudWatch supports for custom metrics and the corresponding alarm period?
27
One night, the number of RunInstances API calls rose to 50 times the account's normal level, causing the bill to spike. The operations team wants to be alerted when such unusual API call volume occurs, without defining thresholds themselves. Which service?
28
Select all that apply
An event-driven architecture uses Amazon EventBridge. Which types of event bus exist? (Choose 3)
29
New security policy: no inbound port 22/3389, no bastion hosts, and every access session to EC2 must be authenticated with IAM and fully logged, including session content. Solution?
30
The security team needs to deploy a baseline (AWS Config recorder, GuardDuty, IAM audit role) to all accounts in the Workloads OU, and new accounts added to the OU must receive the baseline automatically. Which solution has the least overhead?
31
An application connects to RDS with a username/password. Requirements: automatically rotate the password every 30 days, the application retrieves credentials at runtime, nothing hardcoded. Which service fits best?
32
1,000 EC2 instances (Linux and Windows) must be patched monthly within a maintenance window, with a compliance report showing which instances are unpatched, and only patches approved 7 days after release may be installed. Solution?
33
The development team wants to write infrastructure in TypeScript instead of YAML. What artifact does AWS CDK produce with cdk synth for deployment?
34
AWS sends a notice that an EBS-backed EC2 instance is scheduled for retirement next week because the physical host is degraded. The company wants to automatically move the instance to a new host before the retirement deadline, without waiting for a failure. Solution?
35
An organization has 300 accounts. The central operations team wants to see all AWS maintenance and incident events affecting resources across all accounts in one place, with programmatic access. Solution and prerequisites?
36
Deleting a CloudFormation stack fails with the error "The bucket you tried to delete is not empty". The team wants the stack to delete cleanly, including the bucket and its objects, object versions included, with no manual steps. Solution?
37
A stack has a Lambda-backed custom resource that stays in CREATE_IN_PROGRESS for about an hour and then moves to CREATE_FAILED, even though logs show the Lambda finished in a few seconds without errors. What is the most likely cause?
38
Legacy infrastructure (VPC, bucket, DynamoDB table) was created manually in the console. The company wants to manage it with CloudFormation without recreating it, without downtime, and without changing ARNs. Solution and mandatory prerequisite?
39
Requirement: a hardened, patched golden AMI that is rebuilt monthly, tested automatically, then copied to 4 Regions and made available to every account in the Organization, with the least operational overhead. Solution?
40
Before peak season, the SRE team wants to verify that an application on ECS still meets its SLO when an AZ is lost and when the DynamoDB API is throttled. The test must run in the real environment under control and stop immediately if the error rate exceeds 5%. Solution?
41
An application runs behind an ALB across 3 AZs. During an incident, one AZ is partially degraded: the ALB health checks still pass but latency is 10 times higher. The operations team needs to quickly shift traffic away from that AZ and shift it back once stable, without changing ALB or Auto Scaling configuration. Solution?
42
An application defined in CloudFormation has targets of RTO 1 hour, RPO 15 minutes. The architect wants to assess whether the current architecture meets the targets, get concrete recommendations, and reassess after each change, with the least effort. Which service?
43
The CFO requests a single list of savings opportunities for all 80 accounts (right-sizing, deleting idle resources, buying Savings Plans), ranked by actual savings after deducting existing RI/SP discounts. Solution?