Salve seu progresso
Seu código
Cole esse código em outro aparelho para sincronizar os dois.
1 h de leitura
Aula 27.4: Simulado 1
- Tempo: 130 minutos para 65 questões, cerca de 2 minutos por questão. Cronometre e anote o horário de início e de fim; 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.
- Como fazer: marque as caixinhas a lápis (mentalmente ou em papel), 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.
- 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. Nas questões de resposta única, nem sempre há dois distratores igualmente tentadores como na prova real, então o percentual aqui tende a ser um pouco mais alto.
- Questões inéditas: foram escritas para este curso, sem copiar simulados comerciais, e não repetem as dos questionários das aulas.
Questões
1. An online retailer runs a revenue-critical site on CloudFront and an ALB. It wants access to 24/7 specialists during DDoS events and protection against scaling charges caused by attack traffic. Which service meets these requirements?
- a) AWS Shield Advanced
- b) Amazon GuardDuty with automatic remediation turned on
- c) AWS Shield Standard, which is enabled automatically and includes access to the response team
- d) AWS WAF with a rate-based rule on the distribution
2. Application logs are stored in S3 Standard. They are read often during the first 30 days, rarely for the next year, and must be deleted after 7 years. Failed large uploads also leave incomplete parts in the bucket. Which TWO actions reduce cost? (Choose TWO.)
- a) Enable versioning on the bucket to reduce storage cost
- b) Enable S3 Transfer Acceleration
- c) Add a lifecycle rule that aborts incomplete multipart uploads after a few days
- d) Create lifecycle rules that transition the logs to colder storage classes over time and expire them after 7 years
- e) Replicate all logs to a second Region as a backup
3. A mobile app lets customers sign up with email or a social identity provider, and then upload photos directly to an S3 bucket using temporary AWS credentials scoped to each user. Which combination should the architect use?
- a) A Cognito user pool for sign-in plus an identity pool for temporary AWS credentials
- b) One IAM user per customer with access keys embedded in the app
- c) IAM Identity Center with a permission set for each customer
- d) An identity pool only, with unauthenticated access enabled so every customer can upload photos
4. A company must migrate a 2 TB on-premises PostgreSQL database to Amazon Aurora PostgreSQL. The application can tolerate only a few minutes of downtime at cutover, and the company wants the lowest operational effort and cost. Which solution should the architect use?
- a) Export the database with pg_dump every night, copy the file to S3, and restore it into Aurora during a long weekend maintenance window
- b) Use AWS DMS with a full load followed by ongoing change data capture, and switch the application when the replication lag is close to zero
- c) Use AWS DataSync to copy the database files to S3 on a schedule, and import them into Aurora again after each sync until the cutover
- d) Use the AWS Schema Conversion Tool to convert the database to a new engine, and run a one-time DMS full load before the switch
5. A legacy application runs on a single EC2 instance in one AZ, stores uploaded files on the local disk and uses a MySQL database on the same instance. The code cannot be changed, but configuration paths can. The business wants the application to survive an AZ failure. Which THREE actions should the architect take? (Choose THREE.)
- a) Run the application in an Auto Scaling group across two AZs behind an Application Load Balancer
- b) Move the database to Amazon RDS with Multi-AZ
- c) Move the upload directory to an Amazon EFS file system mounted on every instance
- d) Assign an Elastic IP address and re-associate it manually when the instance fails
- e) Replace the instance with a larger instance type in the same AZ
6. A team has containerized a stateless API. It wants to run the API on AWS with load balancing and automatic scaling, without patching EC2 instances or managing Kubernetes control planes. Which solution has the LEAST operational overhead?
- a) EC2 instances with Docker installed through user data, behind a Network Load Balancer
- b) Amazon ECS with the EC2 launch type and an Auto Scaling group of container instances
- c) Amazon ECS with the Fargate launch type behind an ALB, with service auto scaling
- d) Amazon EKS with self-managed node groups on EC2
7. When an image is uploaded, three independent systems (thumbnailing, virus scanning and analytics) must each process every upload, and a failure in one must not affect the others. Which design should the architect use?
- a) Send each event to a single SQS queue that all three systems read, each deleting the messages it finishes
- b) Use an SQS FIFO queue with three message groups, one per system
- c) Invoke the three systems in sequence from one Lambda function
- d) Publish the event to an SNS topic and subscribe a separate SQS queue for each system
8. Branch offices run on-premises applications that use NFS and need low-latency access to recently used files, while all data must ultimately be stored in S3 with minimal on-site hardware. Which solution meets these requirements?
- a) Amazon S3 accessed directly through the NFS protocol over the internet
- b) AWS Storage Gateway S3 File Gateway deployed as a virtual appliance with a local cache
- c) Amazon EFS mounted from the branch offices over a Site-to-Site VPN, with data kept in EFS
- d) An AWS DataSync agent scheduled to copy files to S3 every hour
9. A gaming company needs a leaderboard store with single-digit millisecond latency, automatic handling of unpredictable spikes without capacity planning, and writes accepted in two Regions. Which TWO choices meet these requirements? (Choose TWO.)
- a) DynamoDB global tables across the two Regions
- b) DynamoDB on-demand capacity mode
- c) DynamoDB provisioned capacity with auto scaling
- d) RDS for MySQL with a cross-Region read replica
- e) Aurora MySQL with Backtrack enabled
10. A production Amazon RDS for MySQL database must survive the failure of its Availability Zone with automatic failover, no loss of committed transactions, and no change to the application’s connection string. Which configuration meets these requirements?
- a) Create a cross-Region read replica and promote it manually when the primary fails
- b) Create a read replica in another AZ and update the application to use its endpoint after a failure
- c) Enable Multi-AZ (instance deployment) so RDS keeps a synchronous standby in another AZ and fails over by switching the DNS endpoint
- d) Take automated backups with point-in-time recovery and restore a new instance after a failure
11. A company uses AWS Organizations with 40 member accounts grouped into OUs. A new compliance policy states that no workload in the Production OU may create resources outside eu-west-1 and eu-central-1, while global services such as IAM must keep working. Which solution meets the requirement with the LEAST operational overhead?
- a) Deploy an AWS Config rule in every account that deletes resources found in other Regions after detection, using remediation roles
- b) Add an endpoint policy to the VPC endpoints so that API calls are accepted only from the two Regions
- c) Create a permissions boundary in each account that allows only the two Regions and attach it to every IAM user and role
- d) Attach an SCP to the Production OU that denies requests when aws:RequestedRegion is outside the two Regions, exempting global services
12. An insurance claim process validates a claim, calls an external fraud API with retries, waits up to 7 days for a human approval, and then issues the payment. The company wants visual state tracking and built-in error handling with the LEAST custom code. Which solution should it use?
- a) An SQS queue whose consumer extends the visibility timeout up to its maximum while it waits for the approval
- b) An AWS Step Functions Express workflow with a 7-day Wait state
- c) Lambda functions that invoke each other directly, with retry logic and sleeps coded inside and a DynamoDB table tracking each claim
- d) An AWS Step Functions Standard workflow with Retry and Catch, and a task token callback for the approval
13. Administrators need audited shell access to EC2 instances in private subnets that have no route to the internet. The security team forbids inbound ports, bastion hosts and distributed SSH keys. Which TWO actions meet these requirements? (Choose TWO.)
- a) Open port 22 in the instances’ security groups to the corporate IP range and require SSH key pairs
- b) Attach an instance profile with the AmazonSSMManagedInstanceCore policy and use Systems Manager Session Manager to open the sessions
- c) Launch a bastion host in a public subnet and allow SSH to it from the corporate IP range
- d) Assign Elastic IP addresses to the instances and restrict access with network ACLs
- e) Create interface VPC endpoints for Systems Manager (ssm, ssmmessages and ec2messages) so the agent reaches the service privately
14. A company stores millions of documents in S3 and must find the buckets that contain personally identifiable information (PII) and be alerted about them, with minimal operational effort. Which solution should it use?
- a) Amazon Macie with sensitive data discovery jobs
- b) A custom Lambda function that scans every object with regular expressions
- c) An AWS Config rule that checks whether buckets block public access
- d) Amazon GuardDuty with S3 protection enabled
15. A global SaaS runs on Amazon Aurora MySQL in us-east-1. It needs cross-Region disaster recovery with a replication lag of seconds or less and fast promotion of a secondary Region. Which solution meets these requirements?
- a) Aurora with an Aurora Replica in another Availability Zone of the same Region
- b) Cross-Region automated snapshot copy with a daily restore
- c) AWS DMS ongoing replication to an RDS instance in the DR Region
- d) An Aurora global database with a secondary cluster in the DR Region
16. A company runs a TCP-based trading API on EC2 instances. Partners must allow-list fixed IP addresses in their firewalls, the application needs to see the original client IP address, and the load balancer must handle very high request rates with very low latency. Which solution should the architect use?
- a) A Network Load Balancer with an Elastic IP address in each Availability Zone
- b) An Application Load Balancer with the X-Forwarded-For header, with partners allow-listing the load balancer DNS name
- c) A Gateway Load Balancer in front of the instances
- d) A Classic Load Balancer with a TCP listener
17. A bank needs a private connection with consistent latency from its data center to a VPC, and regulation requires the traffic to be encrypted with IPsec in transit. Which solution meets these requirements?
- a) Site-to-Site VPN over the public internet with two tunnels
- b) VPC peering between the VPC and the on-premises network
- c) Direct Connect alone, because the dedicated link is encrypted by default
- d) AWS Direct Connect with a Site-to-Site VPN running over the Direct Connect connection
18. The finance team wants to be notified before the monthly spend of a development account exceeds its approved amount, including a warning when the forecast says the amount will be exceeded, with no custom code. Which solution should the architect use?
- a) A CloudWatch billing alarm on the EstimatedCharges metric
- b) A Lambda function scheduled by EventBridge that calls the Cost Explorer API and publishes to an SNS topic
- c) Weekly manual reviews of Cost Explorer reports
- d) An AWS Budgets cost budget with alert thresholds on actual and forecasted spend, sending notifications to an SNS topic or email
19. A database fleet on EC2 uses 1 TB gp2 volumes. The workload needs about 3,000 IOPS and 125 MiB/s, and the data really needs the 1 TB. Which change reduces storage cost with no downtime and no performance loss?
- a) Modify the volumes to io2 with 3,000 provisioned IOPS
- b) Modify the volumes to gp3 by using Elastic Volumes
- c) Modify the volumes to st1 to lower the price per GB
- d) Replace the volumes with instance store volumes of the same size
20. The primary instance of an OLTP RDS for PostgreSQL database slows down every morning when analysts run heavy read-only reports. The reporting tool can use a different endpoint. Which solution should the architect use?
- a) Create a read replica and point the reporting tool to its endpoint
- b) Enable storage autoscaling on the instance
- c) Increase the automated backup retention period
- d) Enable Multi-AZ (instance deployment) and run the reports against the standby
21. A SaaS provider runs its service behind a Network Load Balancer in its VPC. Hundreds of customers in different AWS accounts must reach it privately from their own VPCs, some of which use overlapping CIDR ranges, without exposing the provider’s whole network. Which solution meets these requirements?
- a) VPC peering between the provider VPC and each customer VPC
- b) A VPC endpoint service backed by the NLB, with each customer creating an interface endpoint
- c) A Transit Gateway shared with all customers through AWS RAM
- d) A Site-to-Site VPN from each customer VPC to the provider VPC
22. A product catalog stored in DynamoDB receives repeated, read-heavy GetItem requests for hot items. The team wants microsecond response times with minimal code changes. Which solution should it use?
- a) Increase the table’s read capacity units
- b) Move the catalog to RDS with read replicas
- c) Place DynamoDB Accelerator (DAX) in front of the table
- d) Add a global secondary index for the hot items
23. A payments application must process the messages for each account in the exact order they were sent, and no message may be processed twice. Different accounts can be processed in parallel. Which solution meets these requirements?
- a) A Kinesis data stream where the producer uses a random partition key
- b) An SQS standard queue with long polling, where consumers sort messages by timestamp and discard duplicates
- c) An SQS FIFO queue that uses the account ID as the message group ID, with deduplication enabled
- d) An SNS standard topic with one SQS queue subscribed per account
24. A studio needs to run 20,000 independent containerized rendering jobs every night, queue them, and run them on Spot capacity that is provisioned automatically, without managing a scheduler. Which service should it use?
- a) AWS Batch with a compute environment that uses Spot Instances
- b) One Lambda function invocation per job
- c) An ECS service with a desired count of 20,000 tasks on Fargate On-Demand
- d) An Amazon EMR cluster running Hadoop
25. A company accepts an RPO of 5 minutes and an RTO of up to 4 hours for an internal application, and can tolerate launching application servers from prebuilt AMIs during a disaster. It wants the lowest possible cost for DR in a second Region. Which strategy fits?
- a) Run a reduced-capacity but fully functional copy of the stack in the DR Region and scale it up automatically after a failover
- b) Copy daily snapshots to the DR Region and rebuild everything after a disaster
- c) Replicate the database continuously to the DR Region, keep AMIs ready, and launch application servers only during a disaster
- d) Run the full application stack in both Regions with weighted routing
26. A company serves a website through CloudFront with a custom domain over HTTPS. The security team wants a trusted certificate that renews automatically with no manual certificate management. What should the architect do?
- a) Request a public certificate in ACM in eu-west-1, where the origin ALB runs
- b) Generate a self-signed certificate with OpenSSL and upload it to IAM
- c) Request a public ACM certificate in us-east-1, validate it with DNS, and attach it to the distribution
- d) Import a certificate from a third-party CA into ACM in the Region of the origin and attach it to the distribution
27. A company has steady 24/7 usage of EC2 and Fargate that will last for 3 years, but instance families and Regions may change as the company moves to Graviton. Which purchase option gives the largest discount while keeping that flexibility?
- a) Spot Instances for the whole workload
- b) Standard Reserved Instances for the current family and Region
- c) Compute Savings Plans with a 3-year commitment
- d) EC2 Instance Savings Plans for the current family
28. Regulations require financial records stored in S3 to be unmodifiable and undeletable for 7 years by any user, including administrators and the root user. Which solution meets this requirement?
- a) Attach a bucket policy that denies s3:DeleteObject to all principals
- b) Enable S3 Object Lock in compliance mode with a 7-year retention period
- c) Enable S3 Object Lock in governance mode with a 7-year retention period
- d) Enable S3 Versioning and MFA Delete on the bucket
29. A multiplayer game sends UDP traffic to Network Load Balancers in two Regions. Players’ firewalls need two fixed IP addresses to allow, and traffic must fail over quickly between Regions when one becomes unhealthy. Which solution should the architect use?
- a) AWS Global Accelerator with an endpoint group in each Region
- b) Route 53 latency-based routing with a low TTL
- c) Amazon CloudFront with the NLBs as origins
- d) VPC peering between the two Regions
30. A data lake in S3 is queried through Athena and Redshift Spectrum by several teams. The company must grant column-level and row-level permissions centrally without writing bucket policies for each team. Which service should it use?
- a) IAM identity policies combined with S3 Access Points
- b) Amazon Macie classification jobs
- c) AWS Lake Formation permissions on the Data Catalog
- d) S3 bucket policies with a prefix for each team
31. A public web application behind an Application Load Balancer is receiving SQL injection attempts, and one client sends thousands of requests per minute to the login page. Which TWO actions mitigate both problems? (Choose TWO.)
- a) Enable AWS Shield Standard on the ALB, which blocks SQL injection by default
- b) Associate an AWS WAF web ACL with the ALB that includes the AWS managed SQL database rule group
- c) Add a network ACL deny rule for each offending IP address and update it every day
- d) Add a rate-based rule to the web ACL to block IP addresses that exceed a request threshold
- e) Replace the ALB with a Network Load Balancer, which filters SQL injection at layer 4
32. A three-tier application runs in a VPC. The RDS database must accept traffic only from the application tier, whose private IP addresses change whenever Auto Scaling replaces instances. Which configuration is the MOST secure and maintainable?
- a) Keep the security group open and add network ACL rules with the current IP address of each instance
- b) Allow the database port from the VPC CIDR in the database security group
- c) Place the database in a public subnet and allow the Elastic IP address of each application instance, updating the rule when instances change
- d) In the database security group, allow the database port with the application tier security group as the source
33. An application emits click events. The company wants near-real-time delivery into an S3 data lake with batching, compression and format conversion, with no consumer code and no servers to manage. Which solution should it use?
- a) An SQS standard queue with a Lambda function writing each message as an S3 object
- b) Amazon Data Firehose (formerly Kinesis Data Firehose) delivering to S3
- c) An Amazon MSK cluster with a self-managed connector
- d) Kinesis Data Streams with a custom KCL consumer on EC2
34. A genomics team runs HPC jobs that need very high throughput and sub-millisecond latencies on a file system that loads input data from an S3 bucket and writes results back to it. Which solution should the architect use?
- a) Amazon EFS in General Purpose performance mode
- b) Amazon FSx for Lustre linked to the S3 bucket
- c) Amazon FSx for Windows File Server
- d) An io2 Block Express volume attached to every compute node
35. A web application in an Auto Scaling group sees a predictable traffic increase every weekday at 08:00 and also unpredictable surges during the day. Which TWO scaling configurations should the architect use? (Choose TWO.)
- a) A scheduled scaling action that adds capacity shortly before 08:00
- b) Setting the desired capacity to the maximum permanently
- c) A lifecycle hook that pauses new instances before they enter service
- d) A single large instance that an operator resizes manually
- e) A target tracking scaling policy on average CPU utilization or request count per target
36. Instances in private subnets transfer hundreds of terabytes a month to and from S3 in the same Region through NAT gateways, and the NAT data processing charges are high. Which change reduces cost with the LEAST effort?
- a) Route the S3 traffic through a Direct Connect public virtual interface
- b) Replace the NAT gateways with a larger NAT instance
- c) Create an S3 gateway endpoint and add it to the private route tables
- d) Create an S3 interface endpoint in every AZ
37. An analytics team runs complex aggregations over 2 PB of historical sales data. The queries read a few columns across billions of rows, and analysts use BI tools with SQL. Which database type is the MOST cost-effective?
- a) Amazon ElastiCache for Valkey
- b) Amazon Redshift, a columnar, massively parallel data warehouse
- c) Amazon DynamoDB with on-demand capacity
- d) Amazon RDS for PostgreSQL with Multi-AZ and large provisioned storage
38. A research organization shares a 50 TB dataset stored in S3 with authenticated users at universities. It wants the downloaders, not the bucket owner, to pay for the requests and data transfer. Which solution should it use?
- a) Enable S3 Transfer Acceleration on the bucket
- b) Enable Requester Pays on the bucket
- c) Share presigned URLs that expire after 7 days
- d) Replicate the bucket to each university’s account with replication rules
39. An application encrypts data client-side with the AWS Encryption SDK in us-east-1 and copies the ciphertext to a disaster recovery stack in eu-west-1. The DR stack must decrypt the data with the same key identity, without calling AWS KMS in us-east-1 during a Regional outage, and with minimal management effort. Which solution meets these requirements?
- a) Create a KMS multi-Region primary key in us-east-1 and a replica key in eu-west-1, and use the replica to decrypt in the DR stack
- b) Create an unrelated customer managed key in eu-west-1 and configure the DR stack to call the us-east-1 key to decrypt
- c) Use the AWS managed key for each service in both Regions, because AWS managed keys share the same key material across Regions
- d) Enable automatic rotation on the us-east-1 key and share the key with eu-west-1 through AWS RAM
40. A Lambda function connects to an Amazon RDS for PostgreSQL database. Compliance requires the database password to rotate every 30 days with no application downtime, and no passwords in code or environment variables. What is the MOST appropriate solution?
- a) Encrypt the password with KMS and embed the ciphertext in the deployment package
- b) Keep the password in Lambda environment variables encrypted with a KMS key and redeploy the function after each monthly rotation
- c) Store the credentials in Secrets Manager with automatic rotation and have the function read the secret at runtime
- d) Store the password as a SecureString in Parameter Store and rotate it manually each month
41. A company receives scanned invoices as PDF and image files in an S3 bucket. It wants to extract text, tables and form fields automatically as soon as a file arrives and store the structured results, without training machine learning models and with minimal operational effort. Which solution meets these requirements?
- a) Amazon Rekognition image analysis called from an EC2 instance that polls the bucket
- b) Amazon Comprehend entity detection run directly on the scanned PDF files after an S3 event notification
- c) An S3 event notification that invokes a Lambda function, which calls Amazon Textract and writes the results to DynamoDB
- d) A custom OCR model trained in Amazon SageMaker AI and hosted on a real-time endpoint
42. Legal archives totaling 500 TB must be kept for 10 years and are almost never read. A retrieval time of 12 to 48 hours is acceptable. Which storage class has the lowest cost?
- a) S3 Glacier Deep Archive
- b) S3 Glacier Instant Retrieval
- c) S3 Standard-IA
- d) S3 Glacier Flexible Retrieval with expedited retrievals
43. A company has 30 VPCs across four accounts and an on-premises network connected by Direct Connect and VPN. Spoke VPCs must reach shared services and on-premises, and growth must not require a full mesh of connections. Which solution should the architect use?
- a) A Site-to-Site VPN between each pair of VPCs through virtual private gateways in every account
- b) VPC peering between every pair of VPCs
- c) A Direct Connect transit virtual interface for each VPC, with no other hub
- d) AWS Transit Gateway shared through AWS RAM, with one attachment per VPC and per hybrid connection
44. A company runs a warm standby in us-west-2 with a minimal fleet. During a failover test, scaling out to production capacity fails with vCPU limit errors. How should the company prevent this problem?
- a) Request Service Quotas increases in the DR Region in advance, matching production capacity
- b) Buy Reserved Instances in the primary Region
- c) Increase the quotas in the primary Region, because Service Quotas values are shared across all Regions
- d) Switch the standby fleet to Spot Instances, which have no limits
45. A company stores 5 TB of CSV logs in S3 and queries them with Amazon Athena. Queries are slow and expensive. Which TWO actions reduce query time and cost? (Choose TWO.)
- a) Convert the files to gzip-compressed JSON documents
- b) Load the data into DynamoDB and query it with PartiQL
- c) Use an AWS Glue ETL job to convert the data to Apache Parquet
- d) Store the logs as millions of very small CSV files
- e) Partition the data in S3 by date and register the partitions in the Glue Data Catalog
46. A healthcare company stores records in S3. It must control the encryption key, restrict which principals can use it, and audit every use of the key. Which approach meets these requirements?
- a) Use SSE-S3, because AWS manages the keys and logs each decrypt operation for the customer, with no extra configuration
- b) Use SSE-KMS with the AWS managed key for S3 (aws/s3) and review usage in CloudTrail
- c) Enable SSE-KMS with a customer managed key, restrict it with a key policy, and review usage in CloudTrail
- d) Use client-side encryption with a static key kept in the application source code
47. A dev/test MySQL-compatible database is used a few hours a day with unpredictable bursts. The company wants the lowest cost without capacity management. Which solution should it use?
- a) Amazon Aurora Serverless v2 with a low minimum capacity
- b) Aurora provisioned with three Aurora Replicas
- c) RDS for MySQL on a db.r6g.4xlarge instance with a reserved commitment
- d) DynamoDB with provisioned capacity and auto scaling
48. A web application keeps user sessions in memory on each EC2 instance, so users are logged out when instances scale in and the ALB needs sticky sessions. The company wants to scale horizontally without these limits. Which TWO options externalize the session state? (Choose TWO.)
- a) Use larger instances with more memory so sessions are rarely lost
- b) Store session data in a DynamoDB table with a TTL attribute
- c) Store session data in an Amazon ElastiCache cluster shared by all instances
- d) Copy session files between instances with a cron-based rsync job
- e) Increase the ALB stickiness duration to 7 days
49. An account runs a critical order-processing Lambda function and several low-priority batch Lambda functions that share the Region‘s concurrency quota. During batch bursts, the order function is throttled. Which change guarantees capacity for the order function?
- a) Increase the memory of the order function
- b) Configure reserved concurrency for the order function
- c) Configure provisioned concurrency for the batch functions
- d) Enable SnapStart on the order function
50. A SaaS vendor needs to read cost data in a customer’s AWS account through a role. The customer wants to prevent the vendor from being tricked into using that role on behalf of a different vendor customer (the confused deputy problem). What should be added to the role’s trust policy?
- a) A permissions boundary on the role that removes all write actions and limits the session duration to one hour
- b) A condition on aws:SourceIp that matches the vendor’s office IP range
- c) An IAM user with long-term access keys that the vendor stores in its own system
- d) A condition that requires a unique sts:ExternalId value, supplied by the vendor when it calls AssumeRole
51. An application running as an ECS task in account A must read objects from an S3 bucket in account B. The security team forbids long-term credentials and requires least privilege. What should the solutions architect do?
- a) Make the bucket public and restrict it with a bucket policy to the IP range of the NAT gateways of account A
- b) Create a role in account B with read-only bucket access and a trust policy for account A’s task role, then call sts:AssumeRole
- c) Create an IAM user in account B with read-only access and keep its access keys in Secrets Manager in account A, rotating them yearly
- d) Attach AmazonS3ReadOnlyAccess to the task role in account A and change nothing in account B
52. A security team wants to detect, with the LEAST effort, EC2 instances that communicate with known malicious IP addresses or show signs of cryptocurrency mining, without installing agents. Which service should it enable?
- a) AWS Config, which records the configuration history of resources
- b) Amazon Macie, which classifies sensitive data stored in S3 buckets
- c) Amazon GuardDuty, which analyzes VPC Flow Logs, DNS logs and CloudTrail events
- d) Amazon Inspector, which scans instances for software vulnerabilities and exposure
53. A web application runs in us-east-1 with a standby stack in us-west-2. Traffic must shift automatically to the standby when the primary becomes unhealthy. Which TWO configurations are required? (Choose TWO.)
- a) Create a Route 53 health check that monitors the primary endpoint and associate it with the primary record
- b) Create a weighted record with weight 100 for the primary and 0 for the standby, without health checks
- c) Create simple routing records that point to both endpoints with a TTL of 24 hours
- d) Enable cross-zone load balancing on the ALB to include targets in both Regions
- e) Create a failover routing policy with a primary record and a secondary record
54. A read-heavy product catalog runs on a large RDS for PostgreSQL instance sized for read peaks. About 1,000 hot rows account for most of the reads, and the database will be needed for at least 3 more years. Which TWO actions reduce cost the most? (Choose TWO.)
- a) Increase the automated backup retention to 35 days
- b) Purchase reserved DB instances for the steady-state database
- c) Switch the storage to Provisioned IOPS io2
- d) Add Amazon ElastiCache with lazy loading for the hot items so the database can be downsized
- e) Create five read replicas of the same large instance size
55. A fleet of Linux EC2 instances in three AZs must share one POSIX-compliant file system that grows automatically and needs no capacity provisioning. Which storage service should the architect choose?
- a) Amazon EFS with a mount target in each AZ
- b) An Amazon EBS io2 volume with Multi-Attach enabled
- c) An AWS Storage Gateway Volume Gateway exposing iSCSI volumes to all the instances
- d) Amazon FSx for Windows File Server
56. A company wants to react to events emitted by a SaaS partner, such as a support ticket being created, and route them to different Lambda functions based on the event content, with no polling code. Which service should it use?
- a) An Amazon MQ broker with one topic per event type
- b) Amazon EventBridge with a partner event source and rules that match event patterns
- c) An AWS Step Functions Express workflow started by a cron schedule
- d) Amazon SQS with a Lambda function that polls the partner’s API
57. A startup plans to grow from 3 to 50 AWS accounts. It wants preventive and detective guardrails, self-service account creation, and centralized logging, without designing each piece manually. Which service should the architect use?
- a) AWS Organizations only, with hand-written SCPs and a custom script that creates accounts
- b) AWS Control Tower with a landing zone and Account Factory
- c) AWS Config conformance packs deployed from a single central account
- d) AWS Service Catalog with a product that launches an IAM role in each account
58. A Lambda-based API opens many database connections to an RDS for MySQL Multi-AZ instance. During bursts the connections are exhausted, and failovers cause long error windows. Which solution requires the LEAST code change?
- a) Place RDS Proxy in front of the database and use its endpoint
- b) Increase the Lambda function timeout to 15 minutes
- c) Raise max_connections and move to a larger DB instance class with more memory
- d) Create a read replica and send all writes to it
59. A company stores 200 TB of user-generated content in S3. Access patterns are unknown and change over time, retrieval must stay in milliseconds, and the company wants the lowest cost without analyzing access. Which storage class should it use?
- a) S3 Glacier Flexible Retrieval
- b) S3 One Zone-IA
- c) S3 Standard-IA with a 30-day lifecycle transition
- d) S3 Intelligent-Tiering
60. A developer signs in with an IAM role whose identity policy allows s3:*. Calls to s3:DeleteObject on a bucket in the same account return AccessDenied. Which TWO findings could explain the denial? (Choose TWO.)
- a) The bucket policy has no Allow statement for the role, which is mandatory inside the same account
- b) MFA is enabled on the developer’s sign-in, which blocks object deletion by default
- c) An SCP applied to the account’s OU does not allow s3:DeleteObject
- d) The role lacks a trust policy for the s3.amazonaws.com service principal
- e) The permissions boundary on the role does not include s3:DeleteObject
61. A company with 25 AWS accounts uses Okta as its corporate identity provider. Employees must sign in once and receive different permissions in each account, and user lifecycle must follow Okta. The team wants the LEAST operational overhead. Which solution meets these requirements?
- a) Use Cognito user pools with a SAML identity provider and give each team a shared IAM role
- b) Create one SAML identity provider and one federation role in each account and keep the role mappings in sync by hand with templates
- c) Create an IAM user for every employee in each account and require MFA on all of them
- d) Enable IAM Identity Center with Okta as the external identity provider (SCIM) and assign permission sets to groups per account
62. A company serves 100 TB a month of downloads directly from an S3 bucket to users located mostly in North America and Europe. It plans to deliver the content through Amazon CloudFront. Which TWO choices reduce data transfer costs? (Choose TWO.)
- a) Replicate the bucket to every Region and use Route 53 latency routing
- b) Enable S3 Transfer Acceleration for downloads
- c) Choose a CloudFront price class that covers only North America and Europe
- d) Create a CloudFront distribution with Origin Access Control using the bucket as the origin
- e) Move the objects to S3 One Zone-IA
63. An on-premises application publishes and consumes messages using ActiveMQ-specific protocols such as OpenWire and AMQP. The company wants to move to AWS with minimal code changes and without managing broker servers. Which service should it choose?
- a) Amazon SNS with a topic for each destination
- b) Amazon Kinesis Data Streams, which supports ordered messages
- c) Amazon EventBridge with a custom event bus
- d) Amazon MQ
64. A company must encrypt an existing unencrypted Amazon RDS for MySQL DB instance. Which THREE steps accomplish this? (Choose THREE.)
- a) Copy the snapshot and enable encryption with a KMS key
- b) Create an encrypted EBS volume and attach it to the running DB instance
- c) Restore a new DB instance from the encrypted snapshot and point the application to it
- d) Modify the existing DB instance and turn on the encryption option
- e) Create a snapshot of the unencrypted DB instance
65. A Lambda function that resizes images is CPU-bound and takes 8 seconds with the default 128 MB of memory. The team wants it to run faster without changing the code. What should the architect do?
- a) Attach the function to a VPC with private subnets to get more network bandwidth and CPU
- b) Increase the vCPU count in the function configuration
- c) Enable provisioned concurrency
- d) Increase the memory setting, because CPU is allocated in proportion to memory
Gabarito comentado
Gabarito
1. a) Correta: a) Inclui acesso ao Shield Response Team e a proteção de custo contra picos causados por ataques. Erradas: b) O GuardDuty detecta ameaças, não mitiga DDoS nem cobre custos de escala; c) O Standard é gratuito e automático, mas não tem equipe de resposta nem proteção de custo; d) Ajuda a filtrar requisições abusivas, mas não oferece especialistas nem reembolso de custo. Task 1.2; revise na Aula 19.2.
2. c) e d) Corretas: c) As partes incompletas são cobradas como armazenamento até alguém removê-las; d) A transição move os dados para classes mais baratas conforme o uso cai, e a expiração encerra o custo no fim da retenção. Erradas: a) O versionamento guarda mais versões e aumenta o custo; b) Acelera uploads e downloads e acrescenta cobrança, sem reduzir o armazenamento; e) Duplica o armazenamento e a transferência, aumentando o custo. Task 4.1; revise na Aula 11.3.
3. a) Correta: a) O user pool autentica e federa o login social; o identity pool troca o token por credenciais temporárias do STS. Erradas: b) Chaves embutidas no app vazam e não escalam para milhares de clientes; c) O Identity Center é para a força de trabalho, não para clientes de um aplicativo; d) Sem autenticar, não existe identidade por usuário para limitar o acesso. Task 1.2; revise na Aula 19.7.
4. b) Correta: b) O DMS faz a carga inicial e depois replica as mudanças (change data capture) até a virada, então o downtime se resume ao corte; em migração homogênea o esquema pode ser levado com ferramentas nativas, como o pg_dump só do esquema. Erradas: a) A janela de indisponibilidade dura o tempo da exportação e da restauração; c) O DataSync copia arquivos e não captura as alterações do banco, então cada sincronização exigiria nova importação; d) O Schema Conversion Tool serve para engines diferentes, e uma carga única, sem replicação contínua, mantém a janela longa. Task 4.3; revise na Aula 23.3.
5. a), b) e c) Corretas: a) Várias instâncias em AZs diferentes substituem automaticamente a que falhar; b) O banco deixa de ser ponto único de falha, e o app só troca o endereço de conexão; c) O armazenamento compartilhado e multi-AZ permite substituir instâncias sem perder arquivos, sem alterar código. Erradas: d) É uma recuperação manual e lenta, que continua dependendo de uma só instância; e) Mais tamanho não elimina o ponto único de falha de AZ. Task 2.2; revise na Aula 20.9.
6. c) Correta: c) O Fargate elimina o gerenciamento de instâncias, e o ECS dispensa o plano de controle do Kubernetes. Erradas: a) Tudo é manual: instalação, atualização, escala e substituição de contêineres; b) Você continua responsável pelo patch e pela capacidade das instâncias; d) Mantém o Kubernetes e ainda exige cuidar das instâncias dos nós. Task 2.1; revise na Aula 17.4.
7. d) Correta: d) O fan-out entrega uma cópia para cada fila, e cada sistema falha e reprocessa de forma independente. Erradas: a) Numa fila compartilhada cada mensagem vai para um só consumidor, então os outros dois não a veem; b) Message groups ordenam mensagens, não duplicam a mensagem para vários consumidores; c) Mantém o acoplamento: a falha de um sistema interrompe ou atrasa os demais. Task 2.1; revise na Aula 15.4.
8. b) Correta: b) Expõe NFS ao local, mantém o cache dos arquivos recentes e grava tudo como objetos no S3. Erradas: a) O S3 não fala NFS nativamente; c) A latência da VPN é alta e os dados ficam no EFS, não no S3; d) É transferência agendada, não dá acesso NFS de baixa latência aos arquivos. Task 3.1; revise na Aula 23.8.
9. a) e b) Corretas: a) As global tables aceitam escrita em várias Regiões e replicam entre elas; b) O modo on-demand absorve picos sem planejamento de capacidade. Erradas: c) O auto scaling reage em minutos e pode haver throttling em picos súbitos, e a exigência é não planejar capacidade; d) A réplica aceita só leitura, então só uma Região recebe escritas; e) O Backtrack volta o banco no tempo e não oferece escrita multi-Região. Task 3.3; revise na Aula 14.5.
10. c) Correta: c) O standby do Multi-AZ recebe a replicação síncrona, assume sozinho em outra AZ e o endpoint continua o mesmo, porque o failover troca o DNS. Erradas: a) A réplica é assíncrona, pode perder transações recentes e a promoção manual muda o endpoint; b) Mesmo problema de replicação assíncrona e de promoção manual, com troca de endpoint na aplicação; d) A restauração cria uma instância nova, com endpoint novo, e leva muito mais tempo. Task 2.2; revise na Aula 13.3.
11. d) Correta: d) Um SCP no nível da OU vale para todas as contas de uma vez, bloqueia a chamada antes de ela acontecer e a exceção para serviços globais evita quebrar o IAM. Erradas: a) É uma medida detectiva e reativa: o recurso chega a ser criado, e a automação de remoção em 40 contas é trabalhosa; b) Endpoint policy controla o tráfego que passa pelo endpoint da VPC, não a Região em que o recurso é criado; c) Exige configurar e manter 40 contas, não cobre o que for criado depois e não impede o root de cada conta. Task 1.1; revise na Aula 5.2.
12. d) Correta: d) O Standard suporta execuções longas, o retry e o catch são nativos e o task token espera a aprovação humana. Erradas: a) O visibility timeout tem máximo de 12 horas, então não cobre 7 dias, e a fila não orquestra etapas; b) O Express tem duração máxima curta (cinco minutos), então não aguarda dias; c) O estado e o tratamento de erro viram código próprio, e o Lambda tem limite de tempo de execução. Task 2.1; revise na Aula 15.6.
13. b) e) Corretas: b) O Session Manager abre a sessão pela API do Systems Manager, sem porta de entrada nem chave SSH, e a role da instância autoriza o agente; as sessões ficam auditadas no CloudTrail e em logs; e) Sem rota para a internet, os interface endpoints levam o tráfego do agente ao serviço pela rede privada. Erradas: a) Abre a porta 22 e mantém chaves para distribuir, exatamente o que foi proibido; c) O bastion é um servidor extra para manter, com porta de entrada aberta; d) O Elastic IP expõe as instâncias, e a network ACL não substitui o acesso sem portas. Task 1.2; revise na Aula 6.7.
14. a) Correta: a) O Macie classifica o conteúdo dos objetos com managed identifiers de PII e gera findings gerenciados. Erradas: b) Funciona, mas é código e infraestrutura para manter, contra o pedido de mínimo esforço; c) Avalia a configuração do bucket e não o que existe dentro dele; d) Detecta acessos suspeitos, mas não classifica o conteúdo dos objetos. Task 1.3; revise na Aula 8.9.
15. d) Correta: d) A replicação é feita na camada de armazenamento, com lag muito baixo, e a Região secundária pode ser promovida rapidamente. Erradas: a) Protege contra falha de AZ, não contra falha da Região; b) O RPO seria de horas e a restauração é lenta; c) Funciona, mas exige gerenciar a replicação e tem lag e overhead maiores. Task 2.2; revise na Aula 13.8.
16. a) Correta: a) O NLB opera na camada 4, aceita um Elastic IP por AZ e, com alvos do tipo instância, preserva o IP de origem, com latência muito baixa. Erradas: b) O ALB é de camada 7 (HTTP e HTTPS) e seus IPs mudam, então não há IP fixo para a lista de permissão; c) O Gateway Load Balancer serve a appliances de rede de terceiros, não a balancear uma API; d) O Classic Load Balancer é legado, sem IP estático e sem o desempenho do NLB. Task 2.1; revise na Aula 12.4.
17. d) Correta: d) O Direct Connect dá o caminho privado e de latência estável, e a VPN por cima acrescenta a criptografia IPsec. Erradas: a) Criptografa, mas a latência varia porque o tráfego passa pela internet; b) O peering conecta VPCs entre si e não alcança uma rede on-premises; c) O Direct Connect é privado, mas não criptografa os dados por padrão. Task 1.2; revise na Aula 7.6.
18. d) Correta: d) O Budgets alerta por percentual do valor real e também do previsto, sem código, e ainda aceita ações automáticas. Erradas: a) O alarme de cobrança enxerga apenas o gasto já acumulado, sem previsão; b) Funciona, mas é código e infraestrutura para manter, contra o pedido de nenhum código; c) A revisão manual não avisa antes de estourar. Task 4.1; revise na Aula 25.2.
19. b) Correta: b) O gp3 custa menos por GB que o gp2, já inclui 3.000 IOPS e 125 MiB/s de base, e o Elastic Volumes converte o tipo com o volume em uso. Erradas: a) O io2 custa mais por GB e por IOPS provisionado, sem necessidade para esse perfil; c) O st1 é HDD para throughput sequencial e não entrega IOPS aleatório para um banco; d) O instance store é efêmero e não se obtém convertendo um volume EBS, então os dados ficariam em risco. Task 4.1; revise na Aula 10.3.
20. a) Correta: a) A réplica atende as leituras pesadas e libera o primário para as transações. Erradas: b) Aumenta espaço em disco, não reduz a carga de leitura; c) Afeta a retenção de backups e não a carga das consultas; d) O standby do Multi-AZ de instância não aceita leitura. Task 3.3; revise na Aula 13.4.
21. b) Correta: b) O PrivateLink expõe só o serviço atrás do NLB, funciona com CIDRs sobrepostos e mantém o tráfego na rede privada da AWS, em um sentido só. Erradas: a) O peering exige CIDRs sem sobreposição e conecta as redes inteiras; c) O Transit Gateway roteia redes e também não aceita CIDRs sobrepostos entre os anexos; d) Uma VPN por cliente dá muito trabalho e também roteia redes inteiras, com os mesmos conflitos de CIDR. Task 3.4; revise na Aula 7.4.
22. c) Correta: c) O DAX é um cache em memória compatível com a API do DynamoDB e entrega leituras em microssegundos. Erradas: a) Mais capacidade evita throttling, mas não reduz a latência para microssegundos; b) Troca de banco, exige reescrita e não chega a microssegundos; d) O índice muda o padrão de acesso, não cria cache. Task 3.3; revise na Aula 14.6.
23. c) Correta: c) A ordem é garantida dentro de cada message group, grupos diferentes correm em paralelo e a deduplicação evita repetição. Erradas: a) A ordem existe por partition key, e uma chave aleatória espalha as mensagens da mesma conta; b) A fila standard pode entregar fora de ordem e mais de uma vez, e ordenar no consumidor não resolve a duplicidade; d) O tópico standard não garante ordem e exigiria uma fila por conta. Task 2.1; revise na Aula 15.3.
24. a) Correta: a) O Batch enfileira os jobs, agenda e provisiona a capacidade Spot automaticamente. Erradas: b) O Lambda não roda em Spot nem tem fila de jobs ou agendador; um disparo por job exigiria orquestração própria, e o limite de 15 minutos pode não bastar; c) O service mantém tarefas rodando, não gerencia uma fila de jobs em lote; d) É para processamento distribuído de big data, não para fila de jobs de renderização em contêineres. Task 3.2; revise na Aula 9.8.
25. c) Correta: c) É o pilot light: só o núcleo (o banco) fica ligado, com o menor custo que ainda cumpre RPO de minutos e um RTO de horas que tolera subir os servidores a partir das AMIs. Erradas: a) É warm standby: também cumpre os valores, mas mantém a aplicação ligada o tempo todo e custa mais do que o RTO de horas exige; b) O RPO seria de até um dia, acima dos 5 minutos aceitos; d) É active-active, bem mais caro do que o pedido exige. Task 2.2; revise na Aula 20.4.
26. c) Correta: c) O CloudFront só usa certificados do ACM da Região us-east-1, e o certificado público do ACM renova sozinho com a validação por DNS. Erradas: a) O CloudFront não enxerga certificados do ACM fora de us-east-1; b) Certificado autoassinado não é confiável para navegadores e exige renovação manual; d) Certificados importados não renovam automaticamente, e a Região está errada para o CloudFront. Task 1.3; revise na Aula 8.7.
27. c) Correta: c) O desconto se aplica a EC2 e Fargate independentemente de família, tamanho e Região. Erradas: a) O Spot pode ser interrompido e não serve a um uso estável 24/7 sem tolerância a falhas; b) Ficam presas à família e à Região, e perdem valor se a frota mudar; d) Fixam a família e a Região, reduzindo a flexibilidade exigida. Task 4.2; revise na Aula 25.5.
28. b) Correta: b) No modo compliance do Object Lock nenhum usuário, nem o root, apaga ou sobrescreve a versão durante a retenção. Erradas: a) Um administrador pode editar ou remover a policy, e ela não impede a sobrescrita; c) No modo governance, usuários com a permissão específica conseguem contornar a retenção; d) O dono do bucket com MFA ainda consegue apagar versões, então não há imutabilidade. Task 1.3; revise na Aula 8.9.
29. a) Correta: a) Oferece dois IPs anycast estáticos, suporta UDP e redireciona o tráfego conforme a saúde dos endpoints. Erradas: b) Os IPs mudam por Região e o cache de DNS atrasa o failover; c) O CloudFront trabalha com HTTP e HTTPS, não com UDP; d) Conecta redes privadas e não dá IPs fixos nem roteamento global para os jogadores. Task 3.4; revise na Aula 18.6.
30. c) Correta: c) O Lake Formation concede permissões por tabela, coluna e linha de forma central. Erradas: a) As policies e os access points controlam acesso por bucket e prefixo, sem governança central por colunas e linhas; b) O Macie descobre dados sensíveis, não concede permissões; d) Controlam acesso por prefixo e objeto, não por coluna ou linha. Task 3.5; revise na Aula 22.8.
31. b) e d) Corretas: b) O WAF inspeciona a camada 7 e o managed rule group de SQL injection bloqueia os padrões de ataque; d) A regra baseada em taxa contém o cliente que abusa do endpoint de login. Erradas: a) O Shield Standard protege contra DDoS de camadas 3 e 4, não contra injeção de SQL; c) A NACL não entende SQL injection e a manutenção de IPs é manual e reativa; e) O NLB opera na camada 4 e não inspeciona o conteúdo das requisições HTTP. Task 1.2; revise na Aula 19.3.
32. d) Correta: d) Referenciar o security group acompanha as instâncias que entram e saem, sem listar IPs. Erradas: a) A network ACL é stateless e os IPs mudam, então a regra ficaria sempre defasada; b) Libera o banco para qualquer recurso da VPC, bem além da camada de aplicação; c) Expõe o banco à internet, e um Elastic IP por instância não escala com o Auto Scaling. Task 1.2; revise na Aula 6.5.
33. b) Correta: b) A entrega é gerenciada e faz buffering, compressão e conversão sem código de consumidor. Erradas: a) Gera milhões de objetos pequenos e exige código para agrupar; c) É um cluster Kafka para operar, o oposto de sem servidores; d) Exige código e servidores próprios para o consumidor. Task 3.5; revise na Aula 22.3.
34. b) Correta: b) O Lustre foi desenhado para HPC e se integra ao S3 para carregar e exportar dados. Erradas: a) É um bom NFS compartilhado, mas não atinge o perfil de HPC de alto desempenho do Lustre; c) É voltado a SMB e Active Directory, não a HPC com integração direta ao S3; d) Um volume EBS não é compartilhado entre vários nós como um sistema de arquivos. Task 3.1; revise na Aula 10.8.
35. a) e e) Corretas: a) O aumento previsível é atendido antes de acontecer, sem esperar a métrica subir; e) Reage sozinho aos picos imprevisíveis mantendo a métrica no alvo. Erradas: b) Atende ao pico, mas paga por capacidade ociosa o tempo todo; c) O lifecycle hook pausa ações em instâncias, não decide quando escalar; d) É escala vertical manual e não responde a picos. Task 3.2; revise na Aula 12.7.
36. c) Correta: c) O gateway endpoint não tem cobrança por hora nem por GB e tira o tráfego do NAT gateway. Erradas: a) Adiciona um circuito dedicado e custo de porta, sem necessidade; b) Continua processando o tráfego e ainda exige manutenção; d) O interface endpoint cobra por hora e por GB, enquanto o gateway endpoint é gratuito. Task 4.4; revise na Aula 6.8.
37. b) Correta: b) O armazenamento colunar lê só as colunas necessárias e o MPP distribui a consulta. Erradas: a) É um cache em memória, caro e inadequado para 2 PB históricos; c) É feito para acesso por chave e não para agregações sobre bilhões de linhas; d) É um banco transacional por linha que não escala para petabytes em consultas analíticas. Task 4.3; revise na Aula 22.9.
38. b) Correta: b) Com o Requester Pays o solicitante paga requisições e transferência, e o dono paga o armazenamento; o solicitante precisa ser um principal AWS autenticado (acesso anônimo não é permitido) e enviar o cabeçalho x-amz-request-payer. Veja Requester Pays. Erradas: a) Acelera transferências e ainda cobra uma taxa extra do dono; c) Num bucket comum, as requisições feitas com presigned URL são cobradas do dono, então o custo não passa para quem baixa; d) O dono paga a replicação e a transferência entre contas. Task 4.1; revise na Aula 11.8.
39. a) Correta: a) As chaves multi-Region têm o mesmo ID e o mesmo material em cada Região, então a réplica descriptografa localmente, sem depender da Região primária. Erradas: b) Uma chave sem relação não decifra o que a outra cifrou, e chamar a chave de us-east-1 mantém a dependência da Região afetada; c) As chaves gerenciadas pela AWS são por Região e não compartilham material; d) A rotação não leva a chave a outra Região, e o RAM não compartilha chaves do KMS. Task 1.3; revise na Aula 8.4.
40. c) Correta: c) O Secrets Manager rotaciona segredos do RDS de forma nativa e a função sempre lê o valor atual. Erradas: a) Cada rotação exigiria um novo deploy, e o segredo continuaria dentro do pacote; b) Variáveis de ambiente são o que se quer evitar, e rotacionar exige redeploy e janela de inconsistência; d) O Parameter Store não tem rotação nativa, então a rotação seria manual. Task 1.2; revise na Aula 8.8.
41. c) Correta: c) O Textract extrai texto, tabelas e campos de formulário de documentos, e o evento do S3 com o Lambda monta um fluxo sem servidor e sem treinar modelo. Erradas: a) O Rekognition detecta texto em imagens, mas não extrai tabelas e formulários, e o polling em EC2 acrescenta servidor para manter; b) O Comprehend analisa texto que já foi extraído, não lê PDFs escaneados; d) Treinar e hospedar um modelo próprio é o trabalho que o serviço pronto elimina. Task 2.1; revise na Aula 24.4.
42. a) Correta: a) É a classe mais barata e a recuperação padrão em cerca de 12 horas atende ao prazo. Erradas: b) É pensada para acesso raro com resposta imediata, e custa mais por GB; c) O armazenamento custa muito mais por GB do que um arquivo frio; d) As recuperações expressas elevam o custo sem necessidade, já que o prazo aceito é de dias. Task 4.1; revise na Aula 11.2.
43. d) Correta: d) O Transit Gateway é um hub: cada rede se conecta uma vez e passa a alcançar as demais. Erradas: a) Reproduz a malha completa com custo e complexidade ainda maiores; b) 30 VPCs exigiriam 435 conexões, e o peering não é transitivo; c) A transit virtual interface liga o Direct Connect a um Transit Gateway; sem esse hub, ela não interconecta as VPCs entre si. Task 3.4; revise na Aula 7.3.
44. a) Correta: a) As quotas são regionais, então a Região de standby precisa de limites equivalentes ao de produção. Erradas: b) Reserved Instances são desconto de preço e não alteram quotas de outra Região; c) As quotas de EC2 são por Região e não se estendem à outra; d) O Spot também consome quotas de vCPU e ainda pode ser interrompido. Task 2.2; revise na Aula 20.4.
45. c) e e) Corretas: c) O formato colunar e comprimido faz o Athena ler bem menos dados; e) As partições permitem ao Athena ignorar os dados fora do filtro da consulta. Erradas: a) O JSON, mesmo comprimido, continua sendo um formato por linha: o Athena lê todos os campos de cada registro; b) O DynamoDB não é feito para consultas analíticas varrendo terabytes; d) Muitos arquivos pequenos pioram o desempenho e aumentam o custo de listagem. Task 3.5; revise na Aula 22.6.
46. c) Correta: c) A customer managed key dá controle sobre a política da chave, e cada uso fica registrado no CloudTrail. Erradas: a) O SSE-S3 não dá controle por chave nem auditoria individual de uso; b) A chave gerenciada pela AWS tem uma key policy que você não edita, então não dá para restringir quais principais a usam; d) Chave fixa no código não tem política de acesso, rotação nem trilha de auditoria. Task 1.3; revise na Aula 8.6.
47. a) Correta: a) A capacidade escala conforme a carga e cai quando o uso diminui, com compatibilidade MySQL. Erradas: b) Mantém várias instâncias ligadas o tempo todo; c) Paga uma instância grande e comprometida para uma carga pequena e irregular; d) Não é compatível com MySQL e exigiria reescrever a aplicação. Task 4.3; revise na Aula 13.8.
48. b) e c) Corretas: b) A tabela gerenciada guarda a sessão de forma durável e o TTL apaga as expiradas; c) O cache compartilhado mantém a sessão fora da instância, que passa a ser descartável. Erradas: a) É escala vertical, não remove a dependência do estado local; d) É frágil, tem atraso de sincronização e não escala com muitas instâncias; e) Continua prendendo o usuário a uma instância, que ainda perde a sessão ao ser encerrada. Task 2.1; revise na Aula 12.1.
49. b) Correta: b) A reserved concurrency separa uma parte da cota da conta só para a função, de modo que os lotes não a consomem (e ela também fica limitada a esse valor). Erradas: a) Mais memória acelera cada execução, mas não garante concorrência disponível; c) A provisioned concurrency mantém ambientes aquecidos nos lotes e consome a mesma cota, sem proteger a função de pedidos; d) O SnapStart reduz o cold start e não reserva concorrência. Task 2.1; revise na Aula 16.3.
50. d) Correta: d) O external ID, único por cliente, impede que outro cliente do fornecedor reaproveite a role. Erradas: a) Limita o que a role faz, mas não resolve quem consegue assumi-la em nome de quem; b) O serviço do fornecedor roda na nuvem dele, e IP de escritório não distingue um cliente do outro; c) Credencial de longo prazo piora a segurança e também não resolve o confused deputy. Task 1.1; revise na Aula 4.7.
51. b) Correta: b) O acesso entre contas por role entrega credenciais temporárias e a trust policy limita quem pode assumi-la. Erradas: a) Deixar o bucket público e confiar em IP não identifica a aplicação e amplia o risco; c) Chaves de acesso são credenciais de longo prazo, exatamente o que foi proibido; d) O acesso entre contas exige permissão nos dois lados, e essa policy ainda concede leitura em todos os buckets, contra o menor privilégio. O mesmo resultado se obtém com uma bucket policy na conta B que concede a leitura à task role da conta A, mais a permissão na própria task role; a opção b) está certa por ser a única que cumpre as restrições, e o AssumeRole exige também a permissão sts:AssumeRole na task role. Task 1.1; revise na Aula 4.7.
52. c) Correta: c) O GuardDuty analisa essas fontes de forma gerenciada e gera findings sem agente. Erradas: a) O Config registra configurações e conformidade, não detecta tráfego malicioso; b) O Macie trata de dados sensíveis no S3, não de tráfego das instâncias; d) O Inspector procura vulnerabilidades, não comportamento malicioso em tempo de execução. Task 1.2; revise na Aula 19.5.
53. a) e) Corretas: a) Sem health check o Route 53 não sabe que o primário caiu, e é a associação ao registro primário que dispara a troca; e) A política de failover é o que define quem é primário e quem é secundário. Em registros alias, o Evaluate Target Health pode fazer o papel do health check explícito. Erradas: b) Sem health check não há mudança automática, a troca seria manual; c) O simple routing devolve os dois IPs sem verificar saúde, e o TTL alto atrasa qualquer mudança; d) O ALB é regional e não distribui para alvos de outra Região. Task 2.2; revise na Aula 18.9.
54. b) e d) Corretas: b) O uso estável por 3 anos se beneficia do desconto por compromisso; d) O cache absorve a maior parte das leituras, e o banco pode usar uma instância menor. Erradas: a) Aumenta o armazenamento de backup e o custo; c) Armazenamento mais caro, sem resolver o excesso de leituras; e) Multiplica o custo das instâncias grandes. Task 4.3; revise na Aula 14.6.
55. a) Correta: a) O EFS é um NFS regional, compartilhado entre AZs, que cresce e encolhe sozinho. Erradas: b) O volume io2 com Multi-Attach fica em uma única AZ e exige capacidade provisionada, então não atende às três AZs; c) O Volume Gateway entrega volumes de bloco por iSCSI, não um sistema de arquivos compartilhado que cresce sozinho; d) Usa SMB para Windows, não é a escolha para um sistema de arquivos POSIX em Linux. Task 3.1; revise na Aula 10.6.
56. b) Correta: b) O barramento recebe eventos de parceiros SaaS e as regras de padrão roteiam pelo conteúdo para cada alvo. Erradas: a) Exige gerenciar um broker e não integra eventos de parceiros SaaS nativamente; c) Dispara por horário, não reage a eventos do parceiro; d) Exige código de polling e não faz roteamento por conteúdo. Task 2.1; revise na Aula 15.5.
57. b) Correta: b) O Control Tower entrega landing zone, controls (antes chamados guardrails: SCPs e regras do Config), Account Factory e logging centralizado já prontos. Erradas: a) O Control Tower é construído sobre o Organizations; fazer tudo à mão repete esse trabalho e aumenta o overhead; c) Conformance packs são controles detectivos e não criam contas, não aplicam SCPs e não centralizam logs sozinhos; d) O Service Catalog distribui produtos aprovados, mas não cria contas nem aplica guardrails de organização. Task 1.1; revise na Aula 5.4.
58. a) Correta: a) O proxy agrupa conexões e preserva as conexões das aplicações durante o failover. Erradas: b) Um timeout maior só prolonga as esperas, não reduz conexões; c) Adia o limite sem resolver o excesso de conexões nem o tempo de failover; d) A read replica aceita apenas leitura. Task 2.2; revise na Aula 13.6.
59. d) Correta: d) Move cada objeto entre os níveis conforme o acesso, sem taxa de recuperação e com latência de milissegundos. Erradas: a) A recuperação leva de minutos a horas, acima do requisito; b) Guarda os dados em uma só AZ, com menor resiliência, e também cobra recuperação; c) Cobra recuperação, e objetos lidos com frequência ficariam mais caros. Task 4.1; revise na Aula 11.2.
60. c) e e) Corretas: c) O SCP define o teto de permissões: o que ele não permite fica negado, mesmo que a identity policy permita; e) O resultado é a interseção entre a identity policy e a permissions boundary, então a ação fica fora. Erradas: a) Dentro da mesma conta, a identity policy sozinha já basta; a bucket policy só é obrigatória entre contas; b) MFA não bloqueia ações por padrão; só importa se uma condition com aws:MultiFactorAuthPresent exigir; d) A trust policy diz quem assume a role (aqui o desenvolvedor) e não afeta as ações do S3. Task 1.1; revise na Aula 4.5.
61. d) Correta: d) O Identity Center centraliza o login, as permission sets viram roles em cada conta e o SCIM sincroniza usuários e grupos do Okta. Erradas: a) Cognito serve para os clientes de uma aplicação, não para o acesso da força de trabalho às contas AWS; b) Funciona, mas o trabalho manual de manter 25 contas é justamente o overhead que a pergunta quer evitar; c) Multiplica usuários por 25 contas e cria credenciais de longo prazo para gerenciar. Task 1.1; revise na Aula 5.5.
62. c) e d) Corretas: c) A Price Class 100 usa só as edge locations mais baratas (América do Norte e Europa), onde estão os usuários, e o custo por GB cai sem prejuízo relevante de latência; d) A transferência do S3 para o CloudFront é gratuita e a saída do CloudFront costuma custar menos que a saída direta do S3. Erradas: a) Multiplica o armazenamento e a replicação, aumentando o custo; b) Acrescenta uma taxa por GB, aumentando o custo; e) Reduz o custo do armazenamento, não o da transferência de saída. Task 4.4; revise na Aula 18.5.
63. d) Correta: d) O Amazon MQ é um broker gerenciado compatível com ActiveMQ e RabbitMQ, mantendo os protocolos existentes. Erradas: a) Usa a API própria do SNS e não fala OpenWire nem AMQP; b) É um serviço de streaming com API própria e exigiria reescrever produtores e consumidores; c) É um barramento de eventos com API própria, não um broker compatível com esses protocolos. Task 2.1; revise na Aula 15.7.
64. a), c) e e) Corretas: a) A cópia do snapshot é o passo que aplica a criptografia; c) O banco restaurado nasce cifrado e passa a ser o novo endpoint; e) É o ponto de partida: só se cifra um banco existente por meio de uma cópia de snapshot. Erradas: b) O armazenamento do RDS é gerenciado pela AWS e não aceita volumes anexados por você; d) A criptografia do RDS só pode ser definida na criação da instância. A restauração cria uma instância nova com endpoint novo; para reduzir o downtime, use o DMS ou a replicação lógica para sincronizar o banco novo antes da virada. Task 1.3; revise na Aula 13.5.
65. d) Correta: d) No Lambda, mais memória significa mais CPU, o que reduz o tempo de uma tarefa limitada por CPU. Erradas: a) A VPC não aumenta CPU e adiciona complexidade de rede; b) O Lambda não tem configuração separada de vCPU; c) Reduz cold starts, não acelera a execução da função. Task 3.2; revise na Aula 16.5.
Autoavaliação por domínio
Conte um acerto por questão só quando você marcou todas as alternativas corretas (e nenhuma errada). Calcule o percentual (acertos divididos por questões) de cada linha.
| Domínio | Questões (números) | Total | Acertos | % |
|---|---|---|---|---|
| 1. Design Secure Architectures (30%) | 1, 3, 11, 13, 14, 17, 26, 28, 31, 32, 39, 40, 46, 50, 51, 52, 57, 60, 61, 64 | 20 | ||
| 2. Design Resilient Architectures (26%) | 5, 6, 7, 10, 12, 15, 16, 23, 25, 41, 44, 48, 49, 53, 56, 58, 63 | 17 | ||
| 3. Design High-Performing Architectures (24%) | 8, 9, 20, 21, 22, 24, 29, 30, 33, 34, 35, 43, 45, 55, 65 | 15 | ||
| 4. Design Cost-Optimized Architectures (20%) | 2, 4, 18, 19, 27, 36, 37, 38, 42, 47, 54, 59, 62 | 13 | ||
| Total | 1 a 65 | 65 |
O que revisar abaixo de 72%
| Domínio abaixo da meta | Onde revisar |
|---|---|
| 1. Secure | Módulo 4 e Módulo 5 (acesso, SCPs, federação); Módulo 6 e Módulo 19 (rede e proteção de aplicações); Módulo 8 (KMS, ACM, Object Lock, Macie) |
| 2. Resilient | Módulo 15 (filas e eventos); Módulo 12 e Módulo 17 (escala e contêineres); Módulo 20 e Módulo 21 (DR e visibilidade) |
| 3. High-Performing | Módulo 10 e Módulo 11 (armazenamento); Módulo 9 e Módulo 16 (computação); Módulo 13 e Módulo 14 (bancos); Módulo 18 e Módulo 7 (rede); Módulo 22 (dados) |
| 4. Cost-Optimized | Módulo 25 (todas as tasks 4.x); para o tema específico, volte ao módulo do serviço (S3 no 11, EC2 no 9, bancos nos 13 e 14, rede no 6 e 7) |
Como ler o resultado:
- Todos os domínios em 72% ou mais: passe para o Simulado 2 daqui a alguns dias, depois de revisar os erros.
- Um domínio abaixo: releia as aulas indicadas na linha dele, refaça as questões erradas sem olhar o gabarito e só então siga.
- Erros concentrados em pares que confundem (SQS e SNS e EventBridge, ALB e NLB, gateway e interface endpoint, warm standby e pilot light): anote o par e releia a aula de decisão do módulo correspondente.
- Erro por falta de leitura (perdeu um qualificador como LEAST operational overhead ou “Choose TWO”): é erro de técnica, não de conteúdo; treine sublinhar o qualificador antes de olhar as alternativas.
Mencionado em 210
- Aula 27.3: Revisão final, mapa requisito para serviço e pares que confundem
- Aula 27.5: Simulado 2
- Módulo 27: Estratégia de prova e simulados
- Parte VIII: Custo, projeto e prova
- Access Key
- Access Point
- Account Factory
- ACM
- Acomodacao ESL
- Active Directory
- Alias Record
- Allow List
- Amazon MQ
- AMI
- Anycast
- Apache Kafka
- Application Load Balancer
- Armazenamento Colunar
- AssumeRole
- Athena
- Aurora
- Auto Scaling Group
- AWS Managed Key
- Backtrack
Ver mais 186
- Bastion Host
- Bucket Policy
- Bucket
- Budgets
- Cache
- Change Data Capture
- CIDR
- CloudFront
- CloudTrail
- Cognito
- Cold Start
- Comprehend
- Concorrencia Provisionada
- Concorrencia Reservada
- Config Rule
- Conformance Pack
- Confused Deputy
- Conta AWS
- Container
- Control Tower
- Controle Detectivo
- Credencial Temporaria
- Customer Managed Key
- Cutover
- Data Lake
- Data Transfer
- DataSync
- DAX
- DDoS
- Direct Connect
- Distrator
- DMS
- DNS
- DynamoDB
- EBS
- EC2
- ECS
- Edge Location
- EFS
- Elastic IP
- Elastic Load Balancing
- Elastic Volumes
- Endpoint Policy
- Evaluate Target Health
- Event Bus
- EventBridge
- External ID
- Failover Routing
- Failover
- Fan-out
- Fargate
- Federacao
- Fila Padrao
- Finding
- FSx for Lustre
- Gateway Endpoint
- Gateway Load Balancer
- gp2
- gp3
- Graviton
- GuardDuty
- Health Check
- HTTP
- IAM Identity Center
- IAM Role
- IAM
- Identity Provider
- Identity-Based Policy
- Instance Store
- Interface Endpoint
- io2
- IOPS
- IPsec
- iSCSI
- Key Policy
- KMS
- Kubernetes
- Lake Formation
- Landing Zone
- Latencia
- Lifecycle Hook
- Macie
- Managed Rule Group
- Member Account
- Menor Privilégio
- Message Group
- Metrica
- MFA
- Migracao Homogenea
- Modelo OSI
- Modo Compliance
- Modo Governance
- Multi-Attach
- Multi-AZ
- Multi-Region Key
- Multi-Site Active-Active
- NAT Gateway
- NAT
- Network ACL
- Network Load Balancer
- NFS
- Object Lock
- OLTP
- Organizations
- Orquestracao
- Overhead Operacional
- Parameter Store
- Partition Key
- Permission Set
- Permissions Boundary
- PII
- Pilot Light
- Plano de Controle
- Ponto Único de Falha
- Presigned URL
- Price Class
- Principal
- PrivateLink
- Processamento em Lote
- Processamento Massivamente Paralelo
- Qualificador
- RAM
- Rate-Based Rule
- RDS Proxy
- RDS
- Read Replica
- Recuperacao de Desastres
- Redshift Spectrum
- Região AWS
- Rekognition
- Replicacao Assincrona
- Replicacao Sincrona
- Requester Pays
- Reserved Instance
- Route 53
- RPO
- RTO
- S3
- Schema Conversion Tool
- SCIM
- SCP
- Secrets Manager
- Security Group
- Serverless
- Service Catalog
- Session Manager
- Shield
- SMB
- Snapshot
- SnapStart
- SNS
- Spot Instance
- SQL Injection
- SQS
- SSE-S3
- st1
- Stateless
- Sticky Sessions
- Storage Class
- Streaming de Dados
- STS
- Sub-rede
- Systems Manager
- Tarefa ECS
- Task Role
- Task Token
- Textract
- Throttling
- Throughput
- Timeout
- Tolerancia a Falhas
- Transit Gateway
- Trust Policy
- TTL
- UDP
- User Pool
- Usuario Root
- vCPU
- Versionamento
- Virtual Interface
- Visibility Timeout
- Volume Gateway
- VPC
- WAF
- Warm Standby
- Zona de Disponibilidade