Aula 27.5: Simulado 2

Módulos do curso

Nesta nota

Salve seu progresso

Nesta nota
  1. Questões
  2. Gabarito comentado
  3. Autoavaliação por domínio

1 h de leitura

Aula 27.5: Simulado 2

Voltar ao módulo

Instruções (leia antes de começar)
  • Tempo: 130 minutos para 65 questões, cerca de 2 minutos por questão. Cronometre, anote o horário de início e de fim e compare com o Simulado 1. Se for fazer a prova com a acomodação ESL (+30 minutos), treine também com 130 minutos para ter folga.
  • Formato: as questões estão em inglês, como na prova. Quando o enunciado disser “(Choose TWO.)” ou “(Choose THREE.)”, marque exatamente essa quantidade de alternativas. Não há penalidade por chute: nunca deixe uma questão em branco. Nas questões de múltipla resposta não há crédito parcial: só vale a combinação completa.
  • Como fazer: marque as caixinhas, siga até o fim e só depois abra o gabarito. Se uma questão passar de 3 minutos, escolha a melhor resposta, marque para revisão e siga.
  • Distribuição: as questões misturam os quatro domínios, como na prova real (30%, 26%, 24% e 20%: 20, 17, 15 e 13 questões). Ao corrigir, preencha a tabela de autoavaliação no fim.
  • Foco: este simulado cobre o que o Simulado 1 tocou menos (inspeção de rede, governança de dados, mensageria com Lambda, bancos de propósito específico, ferramentas de migração, escolhas de custo de rede e computação).
  • Nota: a prova usa escala de 100 a 1.000 com aprovação em 720 e inclui questões não pontuadas; o percentual de acertos aqui é só uma estimativa de estudo, não uma conversão exata. A meta de estudo é 72% ou mais em cada domínio.
  • Questões inéditas: foram escritas para este curso, sem copiar simulados comerciais, e não repetem as dos questionários das aulas nem as do Simulado 1.

Questões

1. A company wants its developers to create IAM roles for their own Lambda functions without waiting for the security team. The security team must guarantee that no role created by a developer can ever have more permissions than an approved maximum, and that developers cannot remove that limit. Which solution meets these requirements?

  • a) Give the developers full IAM permissions and have the security team review every new role in CloudTrail at the end of each week
  • b) Attach an SCP to the management account that denies iam:CreateRole for every principal in the organization
  • c) Let developers create roles only when the request sets an approved permissions boundary, and deny them the actions that change or remove it
  • d) Ask developers to attach a security-team inline policy to each role they create, and audit the roles once a month

2. A REST API on Amazon API Gateway returns a product catalog that changes about once an hour. The Lambda function and the database behind it are overloaded by identical GET requests. The company wants to reduce backend load and latency with the LEAST change to the application. What should the architect do?

  • a) Enable API caching on the stage with a TTL that matches how often the data changes
  • b) Increase the account-level throttling limit for the API
  • c) Store the results in a global variable inside the Lambda function so that all concurrent executions share the same copy
  • d) Replace the REST API with a WebSocket API so that clients keep their connections open

3. A latency-sensitive transactional database runs on EC2. It needs consistent sub-millisecond latency and the highest IOPS that persistent block storage offers, and the data must survive an instance stop or termination. Which storage should the architect choose?

  • a) gp3 volumes with IOPS and throughput provisioned to the maximum allowed for the volume
  • b) Instance store volumes on a storage-optimized instance type
  • c) st1 volumes striped in a RAID 0 array to add up their throughput
  • d) io2 Block Express volumes

4. A company runs a batch job on EC2 that scans very large, sequentially written log files several times a day. It needs the LOWEST-cost block storage that still delivers high throughput for this frequently accessed, sequential workload. Which volume type should it use?

  • a) gp3 volumes with the default baseline performance
  • b) st1 volumes (Throughput Optimized HDD)
  • c) io2 volumes with the maximum provisioned IOPS
  • d) sc1 volumes (Cold HDD)

5. A company runs its database on Amazon RDS for PostgreSQL. Which TWO tasks remain the company’s responsibility under the AWS shared responsibility model? (Choose TWO.)

  • a) Configuring the security groups and network access to the DB instance
  • b) Patching the operating system of the host that runs the DB instance
  • c) Creating the database users and managing their permissions inside the database engine
  • d) Maintaining the physical security of the data center that hosts the instance
  • e) Patching the hypervisor on the underlying physical servers

6. Workers consume messages from an Amazon SQS standard queue. Each message takes about 90 seconds to process, and the queue uses the default visibility timeout of 30 seconds. Some messages are processed twice by different workers. What is the MOST appropriate fix?

  • a) Switch to a FIFO queue and keep the 30-second visibility timeout, because FIFO queues never deliver a message twice to consumers
  • b) Set the visibility timeout to a value longer than the time needed to process a message, such as two minutes
  • c) Enable long polling on the queue so that workers receive each message only once
  • d) Reduce the message retention period so that old messages disappear sooner

7. A research team runs a tightly coupled HPC application on EC2. The nodes exchange small messages constantly, so the team needs the lowest possible network latency and the highest per-flow throughput between instances. Which design should the architect use?

  • a) A spread placement group so that each node runs on distinct hardware
  • b) A partition placement group with one partition per node
  • c) Instances launched across three Availability Zones for resilience, with enhanced networking enabled
  • d) A cluster placement group in one Availability Zone, using instance types that support enhanced networking

8. A development team runs EC2 instances that take about 20 minutes to load a large dataset into memory. The instances are used only from 9 AM to 6 PM. The team wants to stop paying for compute overnight and still resume each morning with the memory contents intact. Which solution is the MOST cost-effective?

  • a) Hibernate the instances in the evening and start them in the morning
  • b) Stop the instances in the evening and start them in the morning, and reload the dataset each time
  • c) Terminate the instances in the evening and launch new ones from an AMI in the morning
  • d) Keep the instances running and buy a 3-year Reserved Instance for each one

9. A company must inspect all traffic that enters and leaves its VPCs using third-party virtual firewall appliances. The appliances must scale horizontally, traffic must be steered to them transparently without changing the applications, and the appliances run in a central inspection VPC. Which solution should the architect use?

  • a) A Network Load Balancer in front of the appliances, with each application configured to send its traffic to the load balancer address
  • b) An Application Load Balancer that uses the appliances as targets and terminates TLS for all protocols
  • c) A Gateway Load Balancer in the inspection VPC, with Gateway Load Balancer endpoints in the route tables of the application VPCs
  • d) Network ACLs on every subnet, with a deny rule for each suspicious source

10. An Amazon RDS for MySQL database runs as a Multi-AZ instance deployment. The standby cannot serve reads, and the company now wants faster failover and the ability to offload read queries to the standby capacity without creating and managing separate read replicas. What should the architect do?

  • a) Convert the database to a Multi-AZ DB cluster deployment with two readable standby instances
  • b) Add a read replica in the same Availability Zone as the primary
  • c) Place RDS Proxy in front of the database, because the proxy turns the standby into a reader
  • d) Keep the Multi-AZ instance deployment and move to the next larger DB instance class

11. Users in Asia upload 20 GB video files to an S3 bucket in us-east-1 over unreliable connections. Uploads are slow, and a network failure forces users to restart from the beginning. Which TWO actions improve this? (Choose TWO.)

  • a) Upload with S3 multipart upload so that parts are sent in parallel and a failed part is retried alone
  • b) Use a single PUT request for each file and increase the client timeout
  • c) Enable S3 Transfer Acceleration and upload through the accelerated endpoint
  • d) Enable versioning on the bucket
  • e) Move the bucket to the S3 Glacier Instant Retrieval storage class

12. A DynamoDB table receives steady, predictable traffic all day, every day, and it uses on-demand capacity mode. The monthly bill is high, and the company wants to reduce it with minimal risk of throttling. What should the architect do?

  • a) Keep on-demand mode and add DAX in front of the table
  • b) Move to provisioned capacity with a fixed value and no scaling, set equal to the average traffic
  • c) Move to provisioned capacity with auto scaling, and buy reserved capacity for the baseline
  • d) Move the table to the Standard-IA table class and keep on-demand mode

13. A company with many accounts in AWS Organizations stores shared artifacts in one S3 bucket. Every current and future account of the organization must be able to read the bucket, no account outside the organization may, and the security team does not want to edit the bucket policy whenever an account is added. Which bucket policy approach meets these requirements?

  • a) List every member account ID in the Principal element and update the list when accounts are added
  • b) Allow s3:GetObject to all principals and add a condition on the aws:PrincipalOrgID key that matches the organization ID
  • c) Turn off S3 Block Public Access and grant read access to the Authenticated Users group in the object ACLs
  • d) Attach an SCP that allows s3:GetObject on the bucket for every account in the organization

14. A containerized application runs as an Amazon ECS task on AWS Fargate. ECS must pull the image from a private Amazon ECR repository and send container logs to CloudWatch Logs. The application code must also write items to one DynamoDB table. Which TWO configurations follow the principle of least privilege? (Choose TWO.)

  • a) Grant the ECR pull and CloudWatch Logs permissions to the task execution role
  • b) Grant the DynamoDB permissions to the task execution role so that one role covers everything
  • c) Grant only the required DynamoDB actions on that table to the task role
  • d) Use the instance profile of the container instances to supply the DynamoDB permissions
  • e) Store the access keys of an IAM user in the container image

15. An Auto Scaling group of EC2 workers consumes jobs from an Amazon SQS queue. CPU utilization stays low even when the queue holds hundreds of thousands of messages, so CPU-based scaling reacts too late. Which approach scales the fleet in proportion to the work that is waiting?

  • a) Step scaling on the NetworkIn metric of the instances
  • b) A scheduled action that adds instances at the start of every hour
  • c) Target tracking on average CPU utilization with a target of 20 percent
  • d) Target tracking on a custom metric that divides the queue backlog by the number of running instances

16. A company moves tens of terabytes every month between its data center and a VPC, in both directions, and needs consistent throughput. A Site-to-Site VPN over the internet has variable performance and high outbound transfer charges. Which solution lowers the per-GB transfer cost and gives consistent performance?

  • a) Add more VPN tunnels and aggregate them with ECMP on a transit gateway
  • b) Route the traffic through a NAT gateway in each Availability Zone
  • c) Use S3 Transfer Acceleration for every transfer
  • d) Provision an AWS Direct Connect connection

17. Instances in private subnets read sensitive objects from an S3 bucket. The security team requires that this traffic does not traverse the internet and that the bucket accepts requests only from the company’s VPC. Which TWO actions meet these requirements? (Choose TWO.)

  • a) Create a gateway VPC endpoint for S3 and associate it with the route tables of the private subnets
  • b) Add a bucket policy statement that denies requests unless the aws:SourceVpce condition matches the endpoint
  • c) Put a NAT gateway in a public subnet and allow its Elastic IP address in the bucket policy
  • d) Make the bucket public and protect the objects with ACLs
  • e) Move the instances to public subnets and restrict their security groups to HTTPS

18. A company is splitting a monolith into microservices (users, orders and payments) that run on Amazon ECS with Fargate. It wants a single public DNS name, routing of /orders/* and /payments/* to the matching service, a health check per service, and the least infrastructure to manage. Which solution meets these requirements?

  • a) One Network Load Balancer per service, with a Route 53 weighted record for each load balancer
  • b) One Application Load Balancer with listener rules that route by path pattern to one target group per service
  • c) A CloudFront distribution with a Lambda@Edge function that rewrites each request to the public IP address of a task
  • d) A single Network Load Balancer with one TCP listener that forwards every request to all tasks

19. A DynamoDB table stores items that average 6 KB. The application performs 100 strongly consistent reads per second. How many read capacity units must be provisioned?

  • a) 100
  • b) 150
  • c) 200
  • d) 400

20. The finance team needs a monthly cost breakdown by project across 20 accounts in AWS Organizations. Resources carry a Project tag inconsistently, and the tag does not appear in Cost Explorer. Which TWO actions solve this? (Choose TWO.)

  • a) Activate Project as a cost allocation tag in the Billing and Cost Management console of the management account
  • b) Enable detailed monitoring on every EC2 instance
  • c) Define a tag policy in Organizations for the Project key and tag the resources consistently
  • d) Create one VPC per project so that the traffic can be separated
  • e) Turn on S3 Storage Lens advanced metrics for all buckets

21. A company runs Microsoft Active Directory on premises and has a reliable private connection to AWS. Employees must sign in to Amazon WorkSpaces with their existing corporate credentials. The company does not want to run or replicate directory data in AWS. Which solution should it use?

  • a) AD Connector, which forwards authentication requests to the on-premises directory
  • b) Simple AD, with a copy of every employee account created manually
  • c) AWS Managed Microsoft AD, with all users recreated in the new directory
  • d) A Cognito user pool where employees register again with a new password, separate from the corporate directory

22. A company wants to protect servers in its data center with an RPO of seconds and an RTO of minutes for 200 physical and virtual servers, with the lowest possible standby compute cost. Which service should it use?

  • a) AWS Backup with a nightly backup plan for the servers
  • b) AWS Storage Gateway Volume Gateway in stored mode
  • c) AWS Elastic Disaster Recovery
  • d) AWS DMS with continuous replication

23. A website served through Amazon CloudFront must normalize URLs and add security headers on every viewer request and response. There are millions of requests per minute, the logic is simple and needs no network calls, and the company wants the LOWEST cost with very low latency. Which solution should the architect use?

  • a) Lambda@Edge functions on the origin request event
  • b) A Lambda function in the origin Region invoked through a function URL
  • c) An AWS WAF web ACL with custom response headers
  • d) CloudFront Functions on the viewer request and viewer response events

24. A company must run Windows Server and SQL Server on EC2 using existing licenses that are bound to physical sockets and cores and require visibility of the underlying host. Which purchase option should the architect choose?

  • a) Dedicated Hosts
  • b) Dedicated Instances
  • c) Spot Instances with a diversified allocation strategy
  • d) On-Demand Capacity Reservations

25. A security team needs a single record of API activity for all 60 accounts of an organization, stored in a central account that members cannot modify, and wants to be able to prove that the log files were not changed. Which solution meets these requirements?

  • a) A trail in each account that writes to a bucket owned by that account
  • b) An organization trail created from the management account, delivering to a central S3 bucket with log file integrity validation enabled
  • c) An AWS Config aggregator in the management account
  • d) CloudWatch Logs groups in each account with a retention of seven days

26. A company runs Kubernetes on premises with Helm charts and wants an AWS-managed control plane, API compatibility with open-source Kubernetes for portability, and no application rewrite. Which service should it use?

  • a) Amazon EKS with managed node groups
  • b) Amazon ECS on Fargate with task definitions rewritten from the manifests
  • c) Kubernetes installed manually on EC2 instances across three Availability Zones
  • d) AWS Lambda with container images

27. A latency-sensitive API runs on Lambda functions written in Java. The first requests after idle periods or after a scale-out take several seconds because of cold starts. Which TWO actions reduce the startup latency? (Choose TWO.)

  • a) Configure provisioned concurrency sized for the baseline traffic
  • b) Reduce the deployment package size and remove unused dependencies
  • c) Increase the function timeout to 15 minutes
  • d) Attach the function to a VPC
  • e) Set reserved concurrency to 1

28. Two VPCs in the same Region exchange about 40 TB of data per month. They need only point-to-point connectivity with each other, with no other VPCs involved, and the company wants the LOWEST cost. Which solution should the architect use?

  • a) AWS Transit Gateway with one attachment per VPC
  • b) A VPC peering connection between the two VPCs
  • c) A Site-to-Site VPN connection between the two VPCs
  • d) AWS PrivateLink endpoints in both directions

29. Workloads in private subnets must be allowed to reach only a defined list of domain names on the internet. All other outbound traffic must be blocked, and the blocked attempts must be logged. Which solution meets these requirements?

  • a) Security group outbound rules that contain the allowed domain names, applied to the instances in the private subnets
  • b) Network ACL rules that reference the domain names
  • c) A NAT gateway with no additional controls, because it hides the source addresses
  • d) AWS Network Firewall with a stateful rule group that allows only the listed domains

30. A company replicates objects from an S3 bucket in eu-west-1 to a bucket in another Region. A contract requires that 99.99 percent of the objects be replicated within 15 minutes, with metrics to monitor it. Which solution meets this requirement?

  • a) Cross-Region Replication with the default settings and a CloudWatch alarm on the replication delay
  • b) S3 Batch Replication run once a day
  • c) Cross-Region Replication with S3 Replication Time Control enabled
  • d) An AWS DataSync task scheduled every 15 minutes

31. An Aurora MySQL cluster has several replicas of the same size and two larger replicas. Heavy analytical queries must go only to the larger replicas, regular reads must go to the others, and the applications must not change when replicas are added or removed. What should the architect do?

  • a) Point every application to the reader endpoint, because it already separates heavy queries from regular reads
  • b) Create custom endpoints, one for each group of replicas
  • c) Give the analysts the instance endpoint of each large replica
  • d) Put RDS Proxy in front of the cluster and let it classify queries by cost

32. A Linux content repository on Amazon EFS Standard has 80 percent of its files untouched for months, but all files must remain accessible through the same mount point. The company wants to reduce cost with the LEAST effort. What should the architect do?

  • a) Move the old files to S3 Glacier Flexible Retrieval with a nightly script
  • b) Migrate the data to an EBS volume attached to one instance
  • c) Enable EFS lifecycle management to move files that are not accessed to the Infrequent Access storage class
  • d) Migrate the file system to FSx for Lustre

33. A customer managed KMS key in account A encrypts the objects of an S3 bucket. A role in account B must be able to decrypt those objects. Which TWO actions are required? (Choose TWO.)

  • a) Add a statement to the key policy in account A that allows the principal from account B to use the key
  • b) Attach an identity policy to the role in account B that allows kms:Decrypt on the key
  • c) Share the KMS key with account B through AWS RAM
  • d) Copy the key material of the key to account B
  • e) Add the role from account B to the bucket ACL

34. A company wants to protect EBS volumes and RDS databases against ransomware and against the loss of a Region. Backups must be copied to another Region and must be immutable, so that no one, including administrators, can delete them before the retention period ends. Which TWO actions meet these requirements? (Choose TWO.)

  • a) Create an AWS Backup plan with a copy action to a vault in another Region
  • b) Enable AWS Backup Vault Lock in compliance mode on the destination vault
  • c) Take manual snapshots once a week and keep them in the same Region
  • d) Enable Multi-AZ on every database
  • e) Enable CloudTrail data events for the backup vaults

35. A SaaS provider runs an application behind a Network Load Balancer and wants to expose it privately to hundreds of customer VPCs. Some customer VPCs use overlapping CIDR ranges. The provider does not want to manage peering connections or routes, and only customers must be able to initiate connections. Which solution should the architect use?

  • a) An AWS PrivateLink endpoint service, with an interface endpoint created in each customer VPC
  • b) A VPC peering connection with each customer VPC
  • c) A transit gateway with an attachment for every customer VPC
  • d) A public Application Load Balancer with an IP allow list that is updated for each customer

36. A stateless web tier runs in an Auto Scaling group. The company wants to reduce compute cost while keeping the tier highly available. Which TWO actions should the architect take? (Choose TWO.)

  • a) Use a mixed instances policy with an On-Demand base capacity and Spot Instances for the additional capacity
  • b) Use several instance types and Availability Zones with the price-capacity-optimized allocation strategy
  • c) Use a single Spot instance type in one Availability Zone
  • d) Run the group on Dedicated Hosts
  • e) Set the minimum capacity equal to the maximum capacity

37. A company with 80 accounts in AWS Organizations must apply a baseline AWS WAF web ACL to every Application Load Balancer automatically, including those created in the future, and must see which resources are noncompliant. Which solution meets these requirements with the LEAST operational overhead?

  • a) Create the web ACL by hand in each account and associate it with each load balancer, then repeat for every new account
  • b) Deploy an AWS Config rule in each account that reports load balancers without a web ACL
  • c) Subscribe every account to AWS Shield Advanced, which applies a web ACL automatically
  • d) Use AWS Firewall Manager with a WAF policy that applies to the load balancers of the organization

38. An application runs on EC2 instances in an Auto Scaling group behind an Application Load Balancer. Sometimes the application hangs and returns HTTP 500 responses while the EC2 status checks still pass, and the group does not replace the instances. What should the architect do?

  • a) Enable detailed monitoring on the instances and add a CloudWatch alarm on the HTTP 500 count of the load balancer
  • b) Increase the scaling cooldown period of the group
  • c) Enable termination protection on the instances
  • d) Configure the Auto Scaling group to use ELB health checks

39. Producers write 4.5 MB per second in total to a Kinesis data stream in provisioned mode, with records spread evenly. Two consumers use shared throughput, and each one reads the entire stream. What is the MINIMUM number of shards required?

  • a) 2
  • b) 3
  • c) 5
  • d) 9

40. A company hosts its public DNS zone in Route 53. Users must reach the site at the bare domain example.com, which must follow an Application Load Balancer wherever it runs, and the company does not want to pay for the DNS queries to that record. Which solution should the architect use?

  • a) A CNAME record at the zone apex that points to the load balancer
  • b) An A record with the current IP addresses of the load balancer
  • c) An alias A record that points to the load balancer
  • d) An NS record that delegates the apex to the load balancer

41. Remote employees need secure access from their laptops to resources in private subnets. They must authenticate with the corporate SAML identity provider, and the company does not want to manage VPN servers. Which solution meets these requirements?

  • a) A Site-to-Site VPN connection to each employee’s home router
  • b) AWS Client VPN with SAML-based federated authentication
  • c) AWS Systems Manager Session Manager with an IAM user for each employee
  • d) AWS PrivateLink interface endpoints in the private subnets, shared with the employees

42. Business partners upload files over SFTP to servers that the company runs on EC2, and the files are then copied to S3. The company wants to eliminate the servers while keeping SFTP clients, the user model and the workflow unchanged. Which solution meets these requirements?

  • a) Presigned URLs that partners use to upload directly to S3, generated by an API that the company builds for them
  • b) An AWS DataSync task that polls the partners’ systems
  • c) AWS Transfer Family with an SFTP server endpoint that stores the files in S3
  • d) OpenSSH containers running on ECS tasks with an EFS file system

43. A company has one AWS Direct Connect connection from its data center. It needs private connectivity to VPCs in us-east-1 and eu-west-1 in the same account. Which THREE actions meet this requirement? (Choose THREE.)

  • a) Create a Direct Connect gateway
  • b) Create a private virtual interface that connects to the Direct Connect gateway
  • c) Associate the virtual private gateway of each VPC with the Direct Connect gateway
  • d) Create a public virtual interface to reach the private IP addresses of the VPCs
  • e) Order a separate Direct Connect connection in each Region

44. A stateless Node.js service runs on x86 M5 instances in an Auto Scaling group. The code is portable and the dependencies have ARM builds. The team wants better price performance with minimal effort. What should the architect do?

  • a) Move the group to larger x86 instances and reduce the number of instances to lower the cost per request
  • b) Migrate the group to Graviton-based instance types after testing the ARM build
  • c) Replace the instances with Dedicated Instances of the same family
  • d) Add a second Auto Scaling group with a different AMI for failover

45. The security team wants to block DNS queries from the instances in its VPCs to known malicious domains, using lists maintained by AWS, without installing agents. Which solution meets this requirement?

  • a) Amazon GuardDuty alone, which blocks the malicious queries automatically
  • b) Network ACLs with a deny rule for each malicious domain name
  • c) AWS WAF on the instances’ public IP addresses
  • d) Route 53 Resolver DNS Firewall with AWS managed domain lists

46. Several fulfillment systems consume order events that a producer publishes to an Amazon SNS topic. Each regional fulfillment queue must receive only the orders for its own Region, and the producer must publish each order once, to a single topic, without knowing which queues exist. Which solution meets these requirements?

  • a) Subscribe each queue with a filter policy based on a Region message attribute
  • b) Create one topic per Region and make the producer publish to the right topic
  • c) Subscribe all queues without filters and let each consumer discard the other Regions’ orders
  • d) Use one SQS FIFO queue with a message group for each Region

47. Business analysts need interactive dashboards over data in Amazon Athena, Amazon Redshift and S3, shared with hundreds of readers. The company wants a serverless service with per-reader pricing and no servers to manage. Which service should it use?

  • a) Amazon Managed Grafana, with the data sources configured as data stores
  • b) Amazon Quick (formerly Amazon QuickSight)
  • c) Amazon EMR with notebooks installed on the core nodes
  • d) OpenSearch Dashboards on a domain loaded with the data

48. A development RDS database keeps automated backups for 35 days and hundreds of manual snapshots that nobody deletes, and storage costs keep growing. The developers need to recover the database only to a point within the last three days. Which solution reduces the cost while meeting the need?

  • a) Reduce the backup retention period to what is needed and delete the obsolete manual snapshots
  • b) Disable automated backups on the production databases
  • c) Copy all snapshots to another Region
  • d) Convert the development database to Multi-AZ

49. An internal web application behind an Application Load Balancer must require employees to authenticate with the corporate OpenID Connect identity provider before any request reaches the application, and the team does not want to write authentication code. Which solution should the architect use?

  • a) Restrict the security group of the load balancer to the office IP ranges
  • b) Attach an AWS WAF web ACL that checks the Authorization header
  • c) Add an authenticate-OIDC action to the listener rule of the load balancer
  • d) Replace the load balancer with a Network Load Balancer that terminates TLS

50. Files uploaded to an S3 bucket must be processed by workers running on EC2 in an Auto Scaling group. Uploads come in bursts of thousands of files, and no upload event may be lost even if the workers are temporarily down. Which solution meets these requirements?

  • a) Send the S3 events to an SNS topic with a Lambda subscription that calls the HTTP endpoints of the workers directly
  • b) Send the S3 events to an SNS topic with an HTTP subscription for each worker, and retry failed deliveries until they succeed
  • c) Invoke a Lambda function from S3 events that launches one new EC2 instance for each uploaded file
  • d) Configure S3 event notifications to an SQS queue and let the workers poll the queue

51. A social networking application must find friends of friends and suggest connections. Queries over many levels of relationships are too slow in the current relational database. Which database should the architect choose?

  • a) Amazon Neptune
  • b) Amazon DynamoDB with a global secondary index
  • c) Amazon Redshift
  • d) Amazon ElastiCache for Memcached

52. A company is migrating a 3 TB Oracle database to Amazon Aurora PostgreSQL to remove license costs. The application can tolerate only a short cutover window. Which THREE actions should the architect take? (Choose THREE.)

  • a) Use the AWS Schema Conversion Tool to assess and convert the schema and database code
  • b) Run an AWS DMS task that performs a full load followed by ongoing change data capture
  • c) Create the target Aurora PostgreSQL cluster and apply the converted schema before loading the data
  • d) Use Oracle Data Pump to import the dump file directly into Aurora PostgreSQL
  • e) Take an RDS snapshot of the Oracle database and restore it as Aurora PostgreSQL

53. A company wants continual, automated vulnerability scanning of the container images in Amazon ECR and of its EC2 instances, with findings that are prioritized by risk. Which service should it enable?

  • a) Amazon GuardDuty, which scans images for known CVEs
  • b) Amazon Macie, which inspects the packages inside each image
  • c) AWS Config, which reports the CVEs found in each resource
  • d) Amazon Inspector

54. The primary stack of a web application runs in a private VPC with no public endpoint. The company wants Route 53 failover to the standby Region when the application fails, but the Route 53 health checkers cannot reach private IP addresses. What should the architect do?

  • a) Create an endpoint health check that targets the private IP address of the primary load balancer
  • b) Create a CloudWatch alarm on an application health metric and a Route 53 health check that monitors the alarm state, then associate it with the primary failover record
  • c) Create weighted records and change the weights by hand when an incident happens
  • d) Create a latency record for each Region and remove the primary record manually

55. A company must copy 80 TB from an on-premises NFS server to S3 over an existing 10 Gbps Direct Connect link. It needs incremental syncs, integrity verification, scheduling and bandwidth throttling with the LEAST operational effort. Which solution should it use?

  • a) Custom rsync scripts running on a cron schedule on an EC2 instance
  • b) AWS Snowball Edge devices shipped back and forth
  • c) An AWS DataSync agent and task with a schedule and verification
  • d) An AWS Storage Gateway Volume Gateway attached to the NFS server

56. A financial company must use dedicated, single-tenant hardware security modules whose keys only the company controls and that AWS cannot access, for applications that use PKCS#11 and for TLS offload. Which service should it choose?

  • a) AWS KMS with an AWS managed key
  • b) AWS KMS with a customer managed key that uses imported key material
  • c) AWS Secrets Manager with automatic rotation
  • d) AWS CloudHSM

57. The operations team finds that someone changed a security group in production by hand, and that security group was created by an AWS CloudFormation stack. The team wants to detect out-of-band changes like this and keep the infrastructure aligned with the templates. Which approach should it use?

  • a) Delete the stack and create it again every week
  • b) Review the AWS Trusted Advisor checks every month
  • c) Run CloudFormation drift detection and apply changes only through reviewed template updates with change sets
  • d) Give all engineers administrator access so that they can fix any difference by hand

58. A small application needs to store configuration values and non-rotating API keys, encrypted with KMS, for a Lambda function to read at runtime. The values must be versioned, and the company wants the lowest cost, with no charge per stored value. Which solution should it use?

  • a) AWS Secrets Manager secrets
  • b) AWS Systems Manager Parameter Store SecureString parameters in the standard tier
  • c) Lambda environment variables stored in plain text in the function configuration, with no encryption helper
  • d) AWS AppConfig freeform configuration profiles

59. Clients of an internal API receive throttling errors during traffic bursts, and the clients retry immediately in a tight loop, which makes the overload worse. Which change should the architect recommend?

  • a) Implement retries with exponential backoff and jitter in the clients
  • b) Put an Amazon SQS queue in front of the API without changing the synchronous calls of the clients
  • c) Double the size of the instances that run the clients
  • d) Disable throttling on the API so that no request is rejected

60. A company must keep specific S3 objects unchanged and undeletable until the legal team declares a case closed, which may be years away. Authorized staff must be able to release the objects at that point. Which feature should the architect use?

  • a) S3 Object Lock in compliance mode with a retention period of 99 years
  • b) S3 Object Lock in governance mode with a fixed retention period
  • c) S3 Object Lock legal hold on the objects
  • d) A bucket policy that denies s3:DeleteObject to everyone

61. A Lambda function processes batches of 10 messages from an Amazon SQS queue. When one message is malformed and makes the function fail, the whole batch returns to the queue, and the valid messages are processed again and again. Which TWO actions solve this? (Choose TWO.)

  • a) Enable partial batch responses and return the identifiers of the failed messages from the function
  • b) Configure a dead-letter queue on the source queue so that poison messages move aside after a number of receives
  • c) Increase the batch size to 10,000 messages
  • d) Replace the queue with an SNS standard topic
  • e) Reduce the visibility timeout of the queue to 1 second

62. A company policy requires every Amazon EBS volume to be encrypted. Production has some unencrypted volumes, and engineers sometimes launch new instances with unencrypted volumes. Which TWO actions meet the policy? (Choose TWO.)

  • a) Enable EBS encryption by default for the Region in each account
  • b) Snapshot each unencrypted volume, copy the snapshot with encryption enabled, create a new volume from the copy and replace the original
  • c) Modify each existing volume in place to turn on encryption
  • d) Enable GuardDuty Malware Protection for EBS on every volume
  • e) Enable S3 default encryption on the account’s buckets

63. A central networking account owns a VPC. Application teams in other accounts of the same organization must launch their EC2 instances into subnets of that VPC, so that the network is managed centrally and the teams do not build their own VPCs. Which solution should the architect use?

  • a) Create a VPC peering connection from each team account to the networking account
  • b) Attach every team account to a transit gateway owned by the networking account
  • c) Copy the VPC into every team account with the same CIDR range
  • d) Share the subnets with the team accounts using AWS Resource Access Manager

64. The security policy requires the encryption keys that protect many S3 buckets and EBS volumes to be rotated every year, without re-encrypting the data and without changing the applications. What should the architect do?

  • a) Enable automatic key rotation on the customer managed KMS keys
  • b) Create a new KMS key every year and re-encrypt all the data with it
  • c) Import your own key material into each key and rotate it by re-importing new material into the same key
  • d) Enable S3 Bucket Keys, which rotate the data keys every year

65. A company is lifting and shifting Windows applications that use SMB file shares with NTFS permissions and Active Directory authentication. The file system must be highly available across two Availability Zones. Which solution should the architect choose?

  • a) Amazon EFS with mount targets in both Availability Zones
  • b) Amazon FSx for Windows File Server in a Multi-AZ deployment
  • c) An S3 bucket mounted as a drive letter on each server
  • d) An EBS volume with Multi-Attach enabled across the two Availability Zones

Gabarito comentado

Gabarito

1. c) Correta: c) A permissions boundary define o teto de permissões de qualquer role criada, e negar a alteração do boundary impede que o desenvolvedor o remova. Erradas: a) A revisão semanal é detectiva: a role excessiva já existiu por dias; b) Um SCP não vale para a management account e negar a criação de roles bloqueia exatamente o que se quer permitir; d) Depende da boa vontade do desenvolvedor, e uma auditoria mensal chega tarde. Task 1.1; revise na Aula 4.8.

2. a) Correta: a) O cache do stage responde às requisições idênticas sem chamar o Lambda nem o banco, sem mudar código. Erradas: b) Aumentar o throttling deixa passar mais carga para o backend, o oposto do desejado; c) Variáveis globais existem por ambiente de execução e não são compartilhadas entre execuções concorrentes; d) WebSocket serve a comunicação bidirecional e não reduz leituras repetidas. Task 2.1; revise na Aula 16.7.

3. d) Correta: d) O io2 Block Express oferece o maior IOPS e a menor latência entre os volumes persistentes do EBS. Erradas: a) O gp3 tem teto de IOPS bem menor que o do io2; b) O instance store é efêmero e perde os dados ao parar ou encerrar a instância; c) O st1 é HDD voltado a throughput sequencial, com latência alta para um banco transacional. Task 3.1; revise na Aula 10.3.

4. b) Correta: b) O st1 é o HDD de menor custo por GB para leituras e escritas sequenciais grandes e frequentes. Erradas: a) O gp3 funciona, mas custa mais por GB sem necessidade de IOPS altos; c) O io2 é o mais caro e pensado para IOPS, não para throughput barato; d) O sc1 é para dados acessados raramente, com throughput menor, e o uso aqui é frequente. Task 4.1; revise na Aula 10.4.

5. a) e c) Corretas: a) A configuração de security groups e de acesso de rede à instância é do cliente; c) Usuários, permissões e esquema dentro do engine são do cliente, porque a AWS administra a plataforma e não os dados. Erradas: b) O patch do sistema operacional do host do RDS é da AWS; d) A segurança física dos data centers é da AWS; e) O hypervisor é infraestrutura da AWS (segurança DA nuvem). Task 1.1; revise na Aula 1.5.

6. b) Correta: b) Com o visibility timeout maior que o tempo de processamento, a mensagem fica invisível até o worker terminá-la e apagá-la. Erradas: a) A FIFO também usa visibility timeout, e a deduplicação cobre reenvios do produtor, não esse reaparecimento; c) O long polling reduz chamadas vazias e não impede a reentrega; d) A retenção define por quanto tempo a mensagem vive na fila e não influencia a invisibilidade durante o processamento. Task 2.1; revise na Aula 15.2.

7. d) Correta: d) O cluster placement group agrupa as instâncias no mesmo segmento de rede de uma AZ, dando a menor latência e o maior throughput por fluxo, com ENA ou EFA. Erradas: a) O spread separa o hardware para reduzir falha correlacionada, sem priorizar latência; b) O partition isola grupos de instâncias para aplicações distribuídas como Hadoop e Cassandra; c) Instâncias em três AZs aumentam a latência entre os nós. Task 3.2; revise na Aula 9.7.

8. a) Correta: a) A hibernação grava a RAM no volume EBS raiz cifrado, o cálculo para e a instância volta com a memória intacta, sem pagar computação enquanto está parada. Erradas: b) Parar descarta a RAM, então os 20 minutos de carga se repetem; c) Encerrar perde o estado e exige relançar e recarregar tudo; d) A reserva paga as 24 horas e só atende uso contínuo. Task 4.2; revise na Aula 9.4.

9. c) Correta: c) O Gateway Load Balancer distribui o tráfego entre os appliances com encapsulamento GENEVE (porta 6081) e os endpoints nas route tables desviam o tráfego de forma transparente. Erradas: a) Exigiria mudar cada aplicação e o NLB não age como bump-in-the-wire; b) O ALB trabalha em HTTP e HTTPS, e não inspeciona todo o tráfego IP; d) NACLs filtram por IP e porta, mas não inspecionam com appliances. Task 1.2; revise na Aula 12.4.

10. a) Correta: a) O Multi-AZ DB cluster tem um escritor e dois standbys legíveis em AZs diferentes, com failover mais rápido e leitura nos standbys. Erradas: b) Uma réplica na mesma AZ do primário não melhora a resiliência e precisa ser gerenciada à parte; c) O RDS Proxy gerencia conexões e não transforma o standby de instância em leitor; d) Uma classe maior não dá leitura no standby nem acelera o failover. Task 2.2; revise na Aula 13.3.

11. a) e c) Corretas: a) O multipart upload envia partes em paralelo e repete só a parte que falhou; c) O Transfer Acceleration usa os pontos de presença para entrar na rede da AWS perto do usuário, ajudando em longas distâncias. Erradas: b) Um único PUT recomeça do zero a cada falha; d) O versionamento protege contra sobrescrita e não acelera uploads; e) A classe de armazenamento não afeta a velocidade nem a resiliência do upload. Task 3.1; revise na Aula 11.7.

12. c) Correta: c) Com tráfego estável, a capacidade provisionada com auto scaling custa menos que o on-demand e a capacidade reservada reduz mais o preço da base. Erradas: a) O DAX acelera leituras repetidas, mas não reduz o custo das gravações nem muda o modo cobrado; b) Um valor fixo igual à média causa throttling nos picos; d) A classe Standard-IA reduz o custo de armazenamento de dados acessados raramente e não o de requisições. O tráfego é estável e previsível, então o auto scaling não sofre com a reação lenta a picos súbitos; a capacidade reservada só se aplica ao modo provisionado. Task 4.3; revise na Aula 14.3.

13. b) Correta: b) A condição aws:PrincipalOrgID vale para qualquer conta da organização, atual ou futura, e bloqueia as de fora. Erradas: a) Exige editar a política a cada conta nova; c) O grupo Authenticated Users inclui qualquer conta AWS do mundo, e as ACLs estão desabilitadas por padrão; d) Um SCP limita permissões e nunca concede acesso. Task 1.1; revise na Aula 4.4.

14. a) e c) Corretas: a) A task execution role é usada pelo agente do ECS para puxar a imagem do ECR e enviar logs; c) A task role é a que o código da aplicação assume, e deve ter só as ações necessárias na tabela. Erradas: b) Dar permissão do DynamoDB à execution role amplia o acesso para o agente, quebrando o menor privilégio; d) No Fargate não há instâncias de contêiner nem instance profile; e) Chaves de usuário IAM na imagem vazam e são credenciais de longo prazo. Task 1.1; revise na Aula 17.3.

15. d) Correta: d) O backlog por instância reflete o trabalho pendente por trabalhador, e o target tracking mantém esse valor no alvo. Erradas: a) NetworkIn não tem relação direta com o tamanho da fila; b) A ação agendada ignora a carga real; c) A CPU baixa não indica fila grande, então o grupo não escalaria. Task 3.2; revise na Aula 12.7.

16. d) Correta: d) O Direct Connect tem tarifa de transferência de saída menor que a internet e um caminho dedicado de desempenho previsível. Erradas: a) O ECMP sobe a banda, mas a VPN continua pela internet, com a mesma variação e tarifas altas; b) O NAT gateway cobra por GB processado e não serve para tráfego com a rede local; c) O Transfer Acceleration é para uploads ao S3, não para tráfego geral entre data center e VPC. Task 4.4; revise na Aula 7.8.

17. a) e b) Corretas: a) O gateway endpoint leva o tráfego ao S3 pela rede da AWS, e associá-lo às route tables das subnets privadas (feito na criação) faz o tráfego usá-lo; b) A condição aws:SourceVpce na bucket policy faz o bucket aceitar só o que vem do endpoint. Erradas: c) O NAT gateway sai pela internet e liberar o IP elástico não cumpre o requisito de tráfego privado; d) Tornar o bucket público contraria o requisito de segurança; e) Subnets públicas mandam o tráfego pela internet, mesmo com security groups restritos. Task 1.2; revise na Aula 6.8.

18. b) Correta: b) O ALB roteia por padrão de caminho para um target group por serviço, com health check por grupo e um único nome DNS. Erradas: a) Um NLB por serviço cria vários endereços e não roteia por caminho (opera na camada 4); c) O Lambda@Edge não deve apontar para IPs de tasks, que mudam; d) Um NLB com um listener TCP não diferencia os caminhos nem os serviços. Task 2.1; revise na Aula 12.3.

19. c) Correta: c) O item de 6 KB arredonda para 8 KB, são 2 RCUs por leitura fortemente consistente, então 100 leituras por segundo exigem 200 RCUs. Erradas: a) 100 ignora o arredondamento para múltiplos de 4 KB; b) 150 vem de um cálculo sem arredondar; d) 400 seria o caso de leituras transacionais, que custam o dobro. Task 3.3; revise na Aula 14.3.

20. a) e c) Corretas: a) Uma tag só aparece no Cost Explorer depois de ativada como cost allocation tag na conta de gerenciamento; c) A tag policy padroniza a chave e os valores, e etiquetar de forma consistente completa a cobertura. Erradas: b) O monitoramento detalhado mexe em métricas do CloudWatch e não em atribuição de custo; d) Uma VPC por projeto não rotula custo e complica a rede; e) O Storage Lens analisa uso do S3 e não atribui custo por projeto. Task 4.1; revise na Aula 25.3.

21. a) Correta: a) O AD Connector é um gateway que encaminha as autenticações ao AD local sem guardar dados do diretório na nuvem. Erradas: b) O Simple AD é um diretório independente com contas recriadas, sem usar o AD existente; c) O AWS Managed Microsoft AD hospeda um diretório novo na AWS, o que o requisito evita; d) O user pool gerencia usuários de aplicações, não a força de trabalho do AD. Task 1.1; revise na Aula 5.6.

22. c) Correta: c) O Elastic Disaster Recovery replica os servidores em nível de bloco de forma contínua para uma área de staging barata e lança as instâncias em minutos. Erradas: a) O backup noturno tem RPO de horas e restauração lenta; b) O Volume Gateway guarda volumes de armazenamento e não recupera servidores inteiros; d) O DMS replica bancos de dados, não servidores. Task 2.2; revise na Aula 20.6.

23. d) Correta: d) O CloudFront Functions roda lógica simples nos eventos de viewer com latência muito baixa e custo menor que o Lambda@Edge. Erradas: a) O Lambda@Edge é mais capaz, porém mais caro e mais lento, e a origin request ocorre só em cache miss; b) Invocar uma função na Região da origem anula o ganho de estar na borda; c) A WAF só devolve cabeçalhos customizados de resposta na ação Block; em Allow e Count insere cabeçalhos na requisição que segue à origem, e não normaliza URLs. Para cabeçalhos de segurança sem código existem também as response headers policies do CloudFront. Task 3.4; revise na Aula 18.5.

24. a) Correta: a) O Dedicated Host dá visibilidade de sockets e núcleos físicos e afinidade com o host, requisito de licenças por soquete ou núcleo. Erradas: b) O Dedicated Instance isola o hardware, mas não expõe o host nem dá afinidade; c) O Spot não garante o mesmo hardware; d) A reserva de capacidade garante vaga, não visibilidade do host. Task 4.2; revise na Aula 9.6.

25. b) Correta: b) Uma organization trail registra todas as contas num bucket central e a validação de integridade gera arquivos de digest assinados que provam a ausência de alteração. Erradas: a) Cada conta guarda os próprios logs, sem controle central; c) O Config registra configuração e não o histórico de chamadas de API; d) Sete dias de retenção em log groups por conta não atendem a um registro central e comprovável. Task 1.1; revise na Aula 5.8.

26. a) Correta: a) O EKS é Kubernetes gerenciado, compatível com a API aberta, e os manifests e charts funcionam sem reescrita. Erradas: b) O ECS usa task definitions próprias, exigindo reescrever os manifests; c) O Kubernetes manual devolve ao cliente a operação do plano de controle; d) O Lambda com imagens de contêiner é outro modelo de execução, não um orquestrador Kubernetes. Task 2.1; revise na Aula 17.6.

27. a) e b) Corretas: a) A provisioned concurrency mantém ambientes já inicializados, eliminando o cold start na carga de base; b) Um pacote menor e sem dependências não usadas encurta a fase de init de cada novo ambiente. Erradas: c) O timeout maior não acelera a inicialização; d) Colocar a função em VPC não reduz o cold start; e) A reserved concurrency de 1 limita a escala e piora a latência. Atenção: inicializar clientes fora do handler roda na fase Init, que faz parte do cold start; o ganho é só nas invocações quentes, que reaproveitam o ambiente. O Lambda SnapStart (Java 11 em diante) é a outra técnica clássica, mas a documentação diz que ele não suporta provisioned concurrency: são alternativas, não se combinam. Task 3.2; revise na Aula 16.3.

28. b) Correta: b) O peering não tem taxa por hora nem por GB processado; a transferência entre AZs diferentes ainda é cobrada, mas fica bem abaixo do processamento do Transit Gateway, e é a conexão mais barata para um único par de VPCs. Erradas: a) O Transit Gateway cobra por attachment e por GB processado, caro para 40 TB sem necessidade de hub; c) A VPN adiciona cobrança por hora e criptografia desnecessária entre VPCs; d) O PrivateLink cobra por hora e por GB e serve para expor serviços, não para conectar redes inteiras. Task 4.4; revise na Aula 7.8.

29. d) Correta: d) O Network Firewall filtra o tráfego de saída por nome de domínio em regras stateful e registra o que bloqueia. Erradas: a) Security groups trabalham com IPs, portas e outros security groups, não com domínios; b) As NACLs também só entendem CIDRs e portas; c) O NAT gateway traduz endereços e não filtra destinos. Task 1.2; revise na Aula 19.4.

30. c) Correta: c) O S3 Replication Time Control dá o SLA de 15 minutos para 99,99% dos objetos, com métricas e eventos de replicação. Erradas: a) A CRR padrão replica de forma assíncrona e sem SLA de tempo; b) A Batch Replication copia objetos existentes sob demanda e não garante replicação contínua em 15 minutos; d) O DataSync agendado é uma cópia periódica sem SLA de replicação. Task 2.2; revise na Aula 11.6.

31. b) Correta: b) Endpoints personalizados do Aurora agrupam réplicas escolhidas, e novas réplicas entram no grupo sem mudar a aplicação. Erradas: a) O reader endpoint distribui as conexões entre todas as réplicas, sem separar consultas pesadas; c) Os endpoints de instância fixam a aplicação a uma réplica e quebram quando ela muda; d) O RDS Proxy gerencia conexões e não classifica consultas por custo. Task 3.3; revise na Aula 13.7.

32. c) Correta: c) A gestão de ciclo de vida do EFS move arquivos sem acesso para a classe Infrequent Access de forma transparente, no mesmo ponto de montagem. Erradas: a) O script e o Glacier tiram os arquivos do sistema de arquivos e dão trabalho; b) Um volume EBS não é compartilhado e perde a elasticidade; d) O FSx for Lustre é para HPC e custa mais para um repositório de conteúdo. Task 4.1; revise na Aula 10.7.

33. a) e b) Corretas: a) A key policy é a raiz da autorização e precisa permitir a conta B; b) Na conta B, uma policy de identidade precisa conceder o uso da chave à role (permissão dos dois lados). Erradas: c) Chaves do KMS não são compartilhadas pelo RAM; d) O material da chave não sai do KMS por cópia entre contas; e) ACL de bucket não concede uso de chave KMS. Task 1.3; revise na Aula 8.3.

34. a) e b) Corretas: a) A copy action leva os backups para outra Região e cobre a perda da Região; b) O Vault Lock em compliance mode torna os backups imutáveis até o fim da retenção, inclusive para administradores. Erradas: c) Snapshots manuais na mesma Região não resistem à perda da Região nem à exclusão por quem tem acesso; d) O Multi-AZ protege contra falha de AZ, não contra ransomware; e) Eventos de dados do CloudTrail auditam, mas não protegem os backups. Task 2.2; revise na Aula 20.5.

35. a) Correta: a) O endpoint service atrás do NLB expõe só o serviço, o consumidor inicia a conexão pelo interface endpoint e CIDRs sobrepostos não importam. Erradas: b) O peering não funciona com CIDRs sobrepostos e exige gerenciar centenas de conexões; c) O Transit Gateway também precisa de CIDRs sem sobreposição e expõe a rede inteira; d) O ALB público com allow list expõe o serviço à internet e exige manutenção constante. Task 3.4; revise na Aula 7.4.

36. a) e b) Corretas: a) A base On-Demand garante a capacidade mínima e o Spot cobre o excedente por muito menos; b) Diversificar tipos e AZs com a estratégia price-capacity-optimized reduz o risco de interrupção do Spot. Erradas: c) Um só tipo em uma AZ concentra o risco de falta de capacidade; d) Dedicated Hosts são mais caros e atendem licenciamento; e) Minimum igual ao maximum elimina a elasticidade e mantém o custo no pico. Task 4.2; revise na Aula 12.9.

37. d) Correta: d) O Firewall Manager aplica a política de WAF a todas as contas da organização, inclusive a recursos novos, e mostra a conformidade em um lugar. Erradas: a) A criação manual não alcança recursos futuros e não escala para 80 contas; b) O Config só detecta e não aplica a web ACL; c) O Shield Advanced não aplica web ACLs sozinho. Task 1.2; revise na Aula 19.4.

38. d) Correta: d) Com health checks do ELB, o grupo passa a considerar a resposta da aplicação e substitui as instâncias que o balanceador marca como não saudáveis. Erradas: a) O monitoramento detalhado aumenta a frequência das métricas e não muda a decisão de saúde; b) O cooldown só atrasa novas ações de escala; c) A proteção contra encerramento impede a substituição. Task 2.2; revise na Aula 12.5.

39. c) Correta: c) Cada shard aceita 1 MB por segundo de escrita, então 4,5 MB/s exigem 5 shards; com 5 shards a leitura compartilhada é de 10 MB/s (2 MB/s por shard), suficiente para 2 consumidores que leem 4,5 MB/s cada (9 MB/s). Erradas: a) 2 shards comportam só 2 MB/s de escrita; b) 3 shards comportam só 3 MB/s; d) 9 usa o total lido (9 MB/s) como se fosse o número de shards. Task 3.5; revise na Aula 22.2.

40. c) Correta: c) O registro alias funciona no apex, acompanha os IPs do balanceador e as consultas a recursos da AWS não são cobradas. Erradas: a) Um CNAME não pode existir no apex da zona; b) Os IPs do balanceador mudam e o registro ficaria desatualizado; d) Um registro NS delega zonas e não aponta para um balanceador. Task 4.4; revise na Aula 18.7.

41. b) Correta: b) O Client VPN é um serviço gerenciado que autentica pelo IdP SAML e dá acesso às subnets privadas sem servidores de VPN. Erradas: a) A Site-to-Site VPN liga redes, não notebooks individuais; c) O Session Manager dá shell em instâncias gerenciadas com credenciais IAM, não acesso de rede às subnets via IdP SAML; d) O PrivateLink expõe serviços específicos e não dá aos notebooks acesso de rede à VPC. Task 1.2; revise na Aula 7.5.

42. c) Correta: c) O Transfer Family oferece um endpoint SFTP gerenciado que grava no S3 e mantém clientes e usuários do mesmo jeito. Erradas: a) As presigned URLs obrigam os parceiros a mudar de cliente e de fluxo; b) O DataSync é para transferências que a empresa inicia, não para parceiros enviarem por SFTP; d) Continua sendo um servidor para operar, agora em contêineres. Task 2.1; revise na Aula 23.6.

43. a), b) e c) Corretas: a) O Direct Connect gateway é um recurso global que conecta a conexão a VPCs de várias Regiões; b) A private VIF liga a conexão ao gateway; c) A associação dos virtual private gateways às VPCs completa o caminho. Erradas: d) A public VIF alcança endereços públicos da AWS, não IPs privados de VPC; e) Uma conexão por Região é desnecessária e mais cara. Task 3.4; revise na Aula 7.6.

44. b) Correta: b) Os processadores Graviton oferecem melhor preço e desempenho, e um serviço Node.js com dependências ARM exige pouca adaptação. Erradas: a) Instâncias x86 maiores não melhoram o preço por desempenho; c) Dedicated Instances custam mais e isolam hardware, sem relação com o objetivo; d) Um segundo grupo com outra AMI é failover e não otimiza custo. Task 3.2; revise na Aula 9.2.

45. d) Correta: d) O DNS Firewall bloqueia consultas do Resolver da VPC a domínios maliciosos usando listas gerenciadas pela AWS, sem agentes. Erradas: a) O GuardDuty detecta e gera findings, mas não bloqueia por conta própria; b) NACLs não entendem nomes de domínio; c) A WAF protege aplicações web que recebem tráfego, não as consultas DNS das instâncias. Task 1.2; revise na Aula 19.4.

46. a) Correta: a) A filter policy na assinatura entrega a cada fila só as mensagens que casam com o atributo Region, com uma única publicação. Erradas: b) Exige que o produtor conheça as filas e escolha o tópico, o que o enunciado proíbe; c) Todas as filas recebem tudo e os consumidores pagam o custo de descartar; d) As message groups da FIFO ordenam mensagens e não distribuem cada pedido a uma fila regional. Task 2.1; revise na Aula 15.4.

47. b) Correta: b) O Amazon Quick (antigo QuickSight) é BI serverless, lê Athena, Redshift e S3 e tem preço por leitor (assinatura mensal por papel e/ou cobrança por sessão, conforme o plano; veja a página de preços atual). Erradas: a) O Managed Grafana é voltado a métricas operacionais e observabilidade; c) O EMR é para processamento de big data e não para dashboards compartilhados; d) O OpenSearch Dashboards serve à análise de logs e buscas em um domínio OpenSearch. Task 3.5; revise na Aula 22.11.

48. a) Correta: a) Reduzir a retenção ao necessário e remover snapshots manuais obsoletos corta o armazenamento de backup sem perder a recuperação de que o desenvolvimento precisa. Erradas: b) Desativar backups na produção cria risco enorme e não resolve o custo do desenvolvimento; c) Copiar snapshots para outra Região aumenta o custo; d) O Multi-AZ dobra o custo de instância e não trata backups. Task 4.3; revise na Aula 13.5.

49. c) Correta: c) A ação authenticate-oidc do listener redireciona o usuário ao IdP e só encaminha à aplicação requisições autenticadas. Erradas: a) Restringir por IP não autentica os funcionários; b) A WAF inspeciona requisições e não conduz o fluxo OIDC; d) O NLB opera na camada 4 e não autentica usuários. Task 1.2; revise na Aula 12.3.

50. d) Correta: d) A fila SQS guarda as notificações durante picos e enquanto os workers estiverem parados, e eles consomem no próprio ritmo. Erradas: a) O SNS entrega à Lambda, que chama workers possivelmente fora do ar, e sem fila a retentativa é limitada e nada segura o pico; b) O SNS com HTTP não retém mensagens além das tentativas de entrega; c) Uma instância por arquivo ignora o grupo de workers, custa mais e não absorve bem milhares de uploads em rajada. Task 2.1; revise na Aula 11.8.

51. a) Correta: a) O Neptune é um banco de grafos, feito para percorrer relacionamentos em vários níveis com baixa latência. Erradas: b) O DynamoDB não é eficiente em travessias de múltiplos níveis; c) O Redshift é um data warehouse colunar para análises agregadas; d) O Memcached é um cache simples em memória e não consulta relacionamentos. Task 3.3; revise na Aula 14.8.

52. a), b) e c) Corretas: a) A SCT converte esquema e código entre engines diferentes (Oracle para PostgreSQL); b) O DMS com carga completa e CDC mantém a origem sincronizada para um corte curto; c) O esquema convertido precisa existir no destino antes da carga. Erradas: d) O Data Pump gera um formato do Oracle que o PostgreSQL não importa; e) Um snapshot do RDS for Oracle só restaura como Oracle, sem trocar de engine. Task 4.3; revise na Aula 23.4.

53. d) Correta: d) O Inspector varre continuamente imagens do ECR e instâncias EC2 em busca de vulnerabilidades e prioriza os achados. Erradas: a) O GuardDuty detecta comportamento suspeito e não escaneia CVEs; b) O Macie classifica dados sensíveis no S3 e não analisa pacotes de imagens; c) O Config registra e avalia configurações, sem varrer vulnerabilidades. Task 1.2; revise na Aula 19.6.

54. b) Correta: b) Um health check que monitora o estado de um alarme do CloudWatch contorna a limitação dos checkers e aciona o failover no registro primário. Erradas: a) Os checkers do Route 53 não alcançam IPs privados; c) A troca manual de pesos não é automática; d) A latência não é failover e a remoção manual é lenta e propensa a erro. Task 2.2; revise na Aula 18.9.

55. c) Correta: c) O DataSync automatiza a cópia incremental, a verificação de integridade, o agendamento e o controle de banda. Erradas: a) Scripts próprios têm de implementar verificação, retomada e monitoramento; b) O Snowball Edge é para quando a rede não dá conta, e aqui já existe um link de 10 Gbps; d) O Volume Gateway expõe volumes iSCSI e não sincroniza uma pasta NFS existente. Task 3.5; revise na Aula 23.5.

56. d) Correta: d) O CloudHSM fornece HSMs dedicados em que só o cliente tem acesso às chaves, com PKCS#11 e offload de TLS. Erradas: a) A chave gerenciada pela AWS fica sob controle da AWS; b) O KMS, mesmo com material importado, usa HSMs gerenciados pela AWS; c) O Secrets Manager guarda segredos, não gerencia chaves em HSM. Task 1.3; revise na Aula 8.5.

57. c) Correta: c) A detecção de drift aponta as diferenças entre a stack e os recursos reais, e as mudanças só por template com change set mantêm a infraestrutura alinhada. Erradas: a) Recriar a stack toda semana causa indisponibilidade; b) O Trusted Advisor não compara recursos com templates; d) Mais acesso manual aumenta o drift. Task 2.2; revise na Aula 21.6.

58. b) Correta: b) O Parameter Store padrão aceita SecureString com KMS e versões, sem custo por parâmetro. Erradas: a) O Secrets Manager cobra por segredo e a rotação não é necessária; c) Texto puro em variáveis de ambiente expõe as chaves; d) O AppConfig serve para implantar configuração de forma gradual e cobra por requisição de configuração, sem o custo zero do Parameter Store padrão. Task 4.1; revise na Aula 8.8.

59. a) Correta: a) O backoff exponencial com jitter espalha as tentativas no tempo, dando fôlego ao serviço sobrecarregado. Erradas: b) Uma fila na frente não ajuda clientes que esperam resposta síncrona e continuam sem backoff; c) Instâncias maiores nos clientes geram ainda mais requisições; d) Desativar o throttling joga toda a rajada no backend e agrava a sobrecarga. Task 2.2; revise na Aula 20.8.

60. c) Correta: c) O legal hold protege o objeto por tempo indeterminado e é removido por quem tem a permissão s3:PutObjectLegalHold. Erradas: a) O compliance mode não permite encurtar a retenção nem para administradores, e 99 anos é inflexível; b) O governance mode tem período fixo e é contornável por quem tem permissão especial; d) Uma bucket policy pode ser alterada por quem administra o bucket. Task 1.3; revise na Aula 8.9.

61. a) e b) Corretas: a) A resposta parcial do lote devolve à fila só as mensagens que falharam (ReportBatchItemFailures); b) A DLQ isola a mensagem malformada depois de um número de recebimentos. Erradas: c) Lotes maiores aumentam o reprocessamento; d) O SNS não guarda mensagens e muda o padrão de entrega; e) Um visibility timeout de 1 segundo reentrega as mensagens antes de terminar o processamento. Task 2.1; revise na Aula 16.2.

62. a) e b) Corretas: a) A criptografia por padrão cifra todo volume novo da Região na conta; b) Um volume existente sem criptografia só vira cifrado pelo caminho snapshot, cópia cifrada e novo volume. Erradas: c) O EBS não permite ligar a criptografia in place; d) O Malware Protection do GuardDuty procura malware nos volumes e não cifra dados; e) A criptografia padrão do S3 não afeta volumes EBS. Task 1.3; revise na Aula 10.5.

63. d) Correta: d) O RAM compartilha subnets na organização, e as contas participantes lançam recursos nelas, com a rede gerenciada pela conta dona. Erradas: a) O peering conecta VPCs separadas e cada equipe ainda manteria a sua; b) O Transit Gateway também interliga VPCs e não coloca instâncias na subnet de outra conta; c) Copiar a VPC cria redes independentes, sem gestão central. Task 1.1; revise na Aula 5.7.

64. a) Correta: a) A rotação automática de uma customer managed key gera novo material, e o KMS mantém o material antigo para decifrar os dados existentes, sem re-cifrar nem mudar aplicações. Erradas: b) A rotação manual com novo key ID exige re-cifrar os dados e atualizar as referências; c) O KMS não rotaciona material importado automaticamente: trocar o material exige uma chave nova, com novo key ID e re-cifragem; d) As Bucket Keys reduzem as chamadas ao KMS e não rotacionam chaves. Task 1.3; revise na Aula 8.4.

65. b) Correta: b) O FSx for Windows File Server entrega SMB nativo, ACLs NTFS, integração com AD e implantação Multi-AZ. Erradas: a) O EFS usa NFS e é voltado a Linux; c) O S3 não é montável como unidade SMB com permissões NTFS; d) O Multi-Attach só funciona dentro de uma única AZ e exige um sistema de arquivos cluster-aware. Task 2.2; revise na Aula 10.8.

Autoavaliação por domínio

Corrija sem consultar as aulas, conte os acertos (nas múltiplas, a questão só vale se todas as alternativas estiverem certas) e preencha a tabela. Compare com o Simulado 1.

DomínioQuestõesAcertos%
1. Design Secure Architectures (30%)1, 5, 9, 13, 14, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53, 56, 60, 62, 63, 64 (20)
2. Design Resilient Architectures (26%)2, 6, 10, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 57, 59, 61, 65 (17)
3. Design High-Performing Architectures (24%)3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 44, 47, 51, 55 (15)
4. Design Cost-Optimized Architectures (20%)4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 48, 52, 58 (13)

O que revisar abaixo de 72%:

DomínioOnde voltar
1. SeguroMódulo 4, Módulo 5, Módulo 6, Módulo 8 e Módulo 19
2. ResilienteMódulo 15, Módulo 16, Módulo 17 e Módulo 20
3. Alto desempenhoMódulo 9, Módulo 10, Módulo 11, Módulo 13, Módulo 14 e Módulo 22
4. CustoMódulo 25, com Módulo 7 para transferência de dados e Módulo 9 para modelos de compra
Como usar o resultado

Em cada questão errada, releia o gabarito e anote o qualificador do enunciado que você ignorou (MOST cost-effective, LEAST operational overhead, minimal changes). Erro de qualificador se corrige com a técnica de resolução; erro de conteúdo se corrige com a aula indicada no gabarito. Se ficou acima de 72% em todos os domínios nos dois simulados, o próximo passo é agendar a prova.

Fim do curso

Você percorreu os 27 módulos do SAA-C03: da nuvem e do modelo de responsabilidade compartilhada até IAM, redes, dados, arquiteturas modernas, resiliência, custo, o projeto de referência e dois simulados completos. O que sustenta a aprovação é o hábito que o curso treinou: ler o requisito, identificar o qualificador, entender o porquê de cada serviço e escolher a opção que atende ao pedido com o menor trade-off. Revise os pares que confundem, refaça as questões erradas depois de alguns dias e agende a prova quando os dois simulados passarem de 72% em cada domínio. Boa prova, e bom uso do que você aprendeu na sua própria arquitetura.

Voltar ao módulo

Atalhos do teclado

Em qualquer página do curso

Buscar no curso
CtrlK ou /
Ver os atalhos
?
Fechar uma janela ou a prévia de um link
Esc

Na aula

Aula anterior ou próxima
← ou →
Marcar a aula como lida (ou não)
M
Ligar ou desligar o modo foco
F

Na busca

Andar pelos resultados
↑ ou ↓
Abrir o resultado marcado
Enter

Na revisão

Mostrar a resposta
Espaço ou Enter
Errei, Difícil, Bom ou Fácil
1 ou 2 ou 3 ou 4

Chaves de API

O assistente e as vozes pagas usam a sua conta em cada provedor. A chave fica só neste navegador e vai direto daqui pro provedor, sem passar por nenhum servidor deste site.

É seguro colar minha chave aqui?

A chave fica no seu navegador

Ela é salva no localStorage deste aparelho e vai direto da página pro provedor (Anthropic, OpenAI, Google ou ElevenLabs). Este site não tem servidor que receba sua chave, suas perguntas ou as respostas. Eu não tenho acesso a nada disso e não quero ter.

O código é aberto

Você pode conferir no GitHub tudo o que esta página faz. A chave só é lida pelo código do assistente e do áudio, na hora de chamar o provedor, e não é mandada pra nenhum outro lugar.

A página só fala com endereços liberados

O site manda pro navegador uma Content Security Policy (CSP), uma regra que bloqueia conexões, imagens e scripts de endereços fora da lista abaixo. Se algum script da página tentasse mandar sua chave pra outro servidor por esses caminhos, o navegador barraria. A CSP ajuda, mas não cobre tudo. A proteção principal é o código não mandar a chave pra lugar nenhum, e isso você confere no código aberto.

O que vale pra qualquer site

Qualquer script que roda numa página consegue ler o localStorage dela. Isso inclui o script de estatísticas da Cloudflare (Cloudflare Web Analytics) que este site carrega, e nada nele lê sua chave. Também inclui as extensões que você instalou no navegador, que leem a página inteira e não obedecem à CSP. Isso vale pra qualquer site em que você cole uma chave, não só pra este.

Como se proteger

Crie uma chave só pra este site, com um limite de gasto baixo no painel do provedor, e apague quando não for usar. Apagar aqui tira a chave deste navegador. Revogar no painel do provedor invalida a chave em qualquer lugar.

Endereços que a página pode chamar

  • joaopster.com
  • api.anthropic.com
  • api.openai.com
  • generativelanguage.googleapis.com
  • texttospeech.googleapis.com
  • api.elevenlabs.io
  • cloudflareinsights.com