AWS Quick Starts provide automated deployments for common architectures and solutions on AWS.
Incorrect! Try again.
19Which AWS service is commonly used by AWS Quick Starts to automate resource deployment?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Easy
A.Amazon Route 53
B.AWS CodeCommit
C.AWS CloudFormation
D.Amazon CloudWatch
Correct Answer: AWS CloudFormation
Explanation:
AWS Quick Starts commonly use CloudFormation templates to automate the deployment of AWS resources.
Incorrect! Try again.
20Which task can Amazon Q Developer assist a developer with?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Easy
A.Generate and explain code
B.Archive and retrieve objects
C.Register and route domains
D.Distribute and balance traffic
Correct Answer: Generate and explain code
Explanation:
Amazon Q Developer provides generative AI assistance for tasks such as generating, explaining, and improving code.
Incorrect! Try again.
21An operations team needs to monitor memory utilization on several Amazon EC2 instances. The metric is not available in the CloudWatch console by default. What should the team do?
Monitoring AWS resources with CloudWatch
Medium
A.Install the CloudWatch agent and publish the memory metric
B.Enable EC2 detailed monitoring and select the memory metric
C.Create a CloudTrail trail and filter instance memory events
D.Enable VPC Flow Logs and aggregate memory utilization records
Correct Answer: Install the CloudWatch agent and publish the memory metric
Explanation:
EC2 publishes metrics such as CPU utilization by default, but operating-system metrics such as memory usage require the CloudWatch agent.
Incorrect! Try again.
22CloudTrail events are delivered to a CloudWatch Logs log group. Administrators want an alert whenever repeated unauthorized API calls occur. Which solution best meets this requirement?
Monitoring AWS resources with CloudWatch
Medium
A.Configure AWS Config to perform continuous resource evaluations and send a notification after every configuration snapshot
B.Create a dashboard widget that displays all API events
C.Create an EC2 status check and attach an SNS topic
D.Create a metric filter and attach a CloudWatch alarm
Correct Answer: Create a metric filter and attach a CloudWatch alarm
Explanation:
A CloudWatch Logs metric filter can count matching authorization-error messages. An alarm can then notify administrators when the count exceeds a threshold.
Incorrect! Try again.
23A team wants to notify its on-call engineer only when both CPU utilization is high and application error rate is elevated. Which CloudWatch feature should it use?
Monitoring AWS resources with CloudWatch
Medium
A.A log group with two retention policies
B.A dashboard with two metric widgets
C.A composite alarm with an AND rule
D.An anomaly detector for CPU utilization only
Correct Answer: A composite alarm with an AND rule
Explanation:
A composite alarm combines the states of multiple alarms. An AND rule enters the alarm state only when both underlying conditions are met.
Incorrect! Try again.
24An alarm monitors an error metric that is emitted only when an error occurs. Missing periods should represent normal operation rather than an unknown state. How should missing data be configured?
Monitoring AWS resources with CloudWatch
Medium
A.Ignore all previously evaluated data points
B.Treat missing data as always missing
C.Treat missing data as breaching
D.Treat missing data as not breaching
Correct Answer: Treat missing data as not breaching
Explanation:
For a metric emitted only on errors, no data usually means no error occurred. Treating missing data as not breaching prevents unnecessary alarms.
Incorrect! Try again.
25An application should automatically add or remove EC2 instances to keep average CPU utilization near 50%. Which scaling policy is most appropriate?
Scaling compute resources using Auto Scaling
Medium
A.A step policy based only on instance launch failures
B.A target tracking policy using average CPU utilization
C.A manual policy controlled through the EC2 console
D.A scheduled policy that adds two instances every hour
Correct Answer: A target tracking policy using average CPU utilization
Explanation:
Target tracking adjusts the Auto Scaling group's capacity to keep a selected metric close to a specified target value.
Incorrect! Try again.
26An Auto Scaling group uses Elastic Load Balancing health checks. One instance passes its EC2 system checks but repeatedly fails the load balancer health check. What will Auto Scaling do?
Scaling compute resources using Auto Scaling
Medium
A.Mark the instance unhealthy and replace it
B.Stop sending traffic but never replace it
C.Increase the group's maximum capacity automatically
D.Keep the instance because EC2 checks pass
Correct Answer: Mark the instance unhealthy and replace it
Explanation:
When load balancer health checks are enabled for the group, Auto Scaling can replace an instance that fails those checks even if its EC2 checks pass.
Incorrect! Try again.
27Before an Auto Scaling group terminates an instance, a script must upload local diagnostic files to Amazon S3. Which feature provides time for this task?
Scaling compute resources using Auto Scaling
Medium
A.An Auto Scaling lifecycle hook
B.A CloudWatch dashboard
C.A launch template version
D.An EC2 placement group
Correct Answer: An Auto Scaling lifecycle hook
Explanation:
A termination lifecycle hook pauses the instance in a waiting state so that custom actions can finish before termination continues.
Incorrect! Try again.
28Traffic increases at 08:00 every weekday and drops at 18:00. The pattern is stable, and capacity must be ready before users arrive. Which approach is most suitable?
Scaling compute resources using Auto Scaling
Medium
A.Configure predictive scaling to analyze several unrelated application metrics and replace every existing instance before each traffic increase
B.Configure scheduled scaling actions for the known times
C.Use a lifecycle hook to launch instances at each request
D.Use manual scaling after administrators observe high CPU
Correct Answer: Configure scheduled scaling actions for the known times
Explanation:
Scheduled scaling is appropriate for predictable, time-based demand and can adjust capacity before the expected traffic arrives.
Incorrect! Try again.
29A company runs /api and /images on different target groups. It wants one load balancer to route requests according to the URL path. Which load balancer should it use?
Using load balancers for high availability
Medium
A.An Application Load Balancer
B.A Network Load Balancer
C.A Gateway Load Balancer
D.A Classic Load Balancer
Correct Answer: An Application Load Balancer
Explanation:
An Application Load Balancer operates at Layer 7 and supports listener rules that route HTTP and HTTPS requests by URL path.
Incorrect! Try again.
30A web application must remain available if one Availability Zone fails. Which load-balancing design best supports this requirement?
Using load balancers for high availability
Medium
A.Deploy separate load balancers without a common DNS endpoint
B.Deploy an ALB and all targets in one Availability Zone
C.Deploy one EC2 instance with several listener ports
D.Deploy an ALB across subnets in multiple Availability Zones
Correct Answer: Deploy an ALB across subnets in multiple Availability Zones
Explanation:
A load balancer enabled in multiple Availability Zones can route requests to healthy targets in the remaining zones if one zone becomes unavailable.
Incorrect! Try again.
31A latency-sensitive TCP service requires very high throughput and a static IP address in each enabled Availability Zone. Which load balancer is the best fit?
Using load balancers for high availability
Medium
A.A Gateway Load Balancer
B.A Network Load Balancer
C.A Classic Load Balancer
D.An Application Load Balancer
Correct Answer: A Network Load Balancer
Explanation:
A Network Load Balancer is designed for high-performance Layer 4 traffic and supports static IP addresses, including Elastic IP addresses.
Incorrect! Try again.
32A company hosts its application in two AWS Regions. The secondary Region should receive traffic only when the primary endpoint is unhealthy. Which Route 53 routing policy should be used?
DNS-based routing with Amazon Route 53
Medium
A.Geolocation routing
B.Latency-based routing
C.Weighted routing
D.Failover routing
Correct Answer: Failover routing
Explanation:
Failover routing designates primary and secondary records. Route 53 directs traffic to the secondary endpoint when the primary health check fails.
Incorrect! Try again.
33A globally distributed application should direct each user to the AWS Region that currently provides the lowest network latency. Which Route 53 policy is appropriate?
DNS-based routing with Amazon Route 53
Medium
A.Multivalue answer routing
B.A geolocation policy that permanently routes every continent to one Region regardless of measured network performance
C.Simple routing
D.Latency-based routing
Correct Answer: Latency-based routing
Explanation:
Latency-based routing selects the configured AWS Region that provides the lowest measured latency for the requester.
Incorrect! Try again.
34A company needs the zone apex example.com to resolve to an Application Load Balancer. Which Route 53 record should it create?
DNS-based routing with Amazon Route 53
Medium
A.An MX record targeting the load balancer
B.A CNAME record targeting the load balancer
C.A TXT record containing the load balancer name
D.An alias A record targeting the load balancer
Correct Answer: An alias A record targeting the load balancer
Explanation:
Route 53 alias records can point a zone-apex name to an AWS load balancer. A CNAME record cannot normally be created at the zone apex.
Incorrect! Try again.
35An administrator is about to update a production CloudFormation stack and wants to preview which resources will be added, modified, or deleted. What should the administrator create?
Infrastructure automation with AWS CloudFormation
Medium
A.A CloudWatch composite alarm
B.An AWS Config conformance pack
C.A CloudFormation change set
D.A CloudFormation drift report
Correct Answer: A CloudFormation change set
Explanation:
A change set previews the resource-level effects of a proposed stack update before the changes are executed.
Incorrect! Try again.
36A security group managed by CloudFormation was manually modified in the EC2 console. Which feature identifies the difference between the deployed resource and its template?
Infrastructure automation with AWS CloudFormation
Medium
A.CloudWatch anomaly detection
B.CloudFormation rollback protection
C.AWS CloudTrail event history
D.CloudFormation drift detection
Correct Answer: CloudFormation drift detection
Explanation:
Drift detection compares supported deployed resources with their expected CloudFormation configuration and reports differences.
Incorrect! Try again.
37Several application stacks require the same reusable networking configuration. Which CloudFormation design reduces duplication while preserving modularity?
Infrastructure automation with AWS CloudFormation
Medium
A.Copy the networking resources into every application template
B.Store screenshots of the network configuration in Amazon S3 and use them as the authoritative deployment definition
C.Place the networking resources in a nested stack
D.Create all networking resources manually before each deployment
Correct Answer: Place the networking resources in a nested stack
Explanation:
Nested stacks allow common infrastructure components to be packaged as reusable templates and referenced by parent stacks.
Incorrect! Try again.
38A company wants to deploy a documented, repeatable reference architecture for a partner solution without manually creating every AWS resource. Which option best meets this need?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Medium
A.Record deployment steps in a CloudWatch dashboard
B.Create each resource through the AWS console
C.Deploy the appropriate AWS Quick Start
D.Use Route 53 health checks as deployment scripts
Correct Answer: Deploy the appropriate AWS Quick Start
Explanation:
AWS Quick Starts use automated templates and deployment guidance to create reference architectures consistently and quickly.
Incorrect! Try again.
39A developer is modifying a Quick Start CloudFormation template and encounters an unfamiliar resource property. What is an appropriate use of Amazon Q Developer?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Medium
A.Ask it to replace the deployed resources without updating the stack
B.Ask it to bypass CloudFormation validation during deployment
C.Ask it to create AWS permissions without administrator review
D.Ask it to explain the property and suggest template changes
Correct Answer: Ask it to explain the property and suggest template changes
Explanation:
Amazon Q Developer can explain AWS concepts and assist with code or template changes. Suggested output should still be reviewed and validated.
Incorrect! Try again.
40Amazon Q Developer generates a proposed CloudFormation modification for a production Quick Start deployment. What is the safest next action?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Medium
A.Replace the existing stack with manually created resources
B.Execute it immediately with administrator credentials
C.Assume generated infrastructure code is automatically secure, compliant, compatible, and ready for unrestricted production deployment without human review
D.Validate it, test it, and review a change set
Correct Answer: Validate it, test it, and review a change set
Explanation:
AI-generated infrastructure changes should be reviewed and tested. A CloudFormation change set provides an additional preview before production execution.
Incorrect! Try again.
41An operations team has separate CloudWatch alarms for high latency, elevated error rate, and an active deployment window. Notifications should be sent only when both service alarms are in ALARM and no deployment is underway. Which design best satisfies this requirement without modifying the application?
Monitoring AWS resources with CloudWatch
Hard
A.Create one metric-math alarm that averages latency, error rate, and deployment status before invoking the notification action
B.Configure the latency alarm to invoke the error alarm, then suppress both alarms whenever the deployment metric exists
C.Place all three metrics in one dashboard and configure the dashboard to publish an SNS notification when their widgets simultaneously turn red
D.Create a composite alarm using ALARM(Latency) AND ALARM(Errors) AND NOT ALARM(Deployment) and attach the notification action
Correct Answer: Create a composite alarm using ALARM(Latency) AND ALARM(Errors) AND NOT ALARM(Deployment) and attach the notification action
Explanation:
A CloudWatch composite alarm evaluates Boolean combinations of other alarms. The NOT condition suppresses notification while the deployment alarm is active.
Incorrect! Try again.
42A p99 latency alarm frequently changes to ALARM when only one or two requests occur during a period. The team wants the alarm to retain its current state when CloudWatch lacks enough samples to evaluate the percentile reliably. Which configuration is appropriate?
Monitoring AWS resources with CloudWatch
Hard
A.Set low-sample percentile evaluation to ignore for the percentile alarm
B.Publish zero-valued latency samples during idle periods so that every evaluation window has a statistically complete data set
C.Convert p99 latency to an average statistic and treat missing data as notBreaching
D.Set missing data treatment to breaching and increase the evaluation period
Correct Answer: Set low-sample percentile evaluation to ignore for the percentile alarm
Explanation:
The ignore setting for low-sample percentile evaluation preserves the alarm's current state when the percentile does not have enough data points for meaningful evaluation.
Incorrect! Try again.
43An EC2 fleet scales dynamically, and an alarm must detect when operating-system memory utilization is high on any instance. Only standard EC2 metrics and basic monitoring are currently enabled. What is required?
Monitoring AWS resources with CloudWatch
Hard
A.Enable EC2 detailed monitoring, which changes memory utilization from five-minute to one-minute resolution
B.Create a metric filter over VPC Flow Logs and derive each instance's memory pressure from rejected network packets
C.Enable CloudTrail data events for the instances, then use CloudWatch Logs Insights to calculate resident memory from operating-system API calls
D.Install the CloudWatch agent, publish memory as a custom metric with instance dimensions, and alarm on the required aggregation
Correct Answer: Install the CloudWatch agent, publish memory as a custom metric with instance dimensions, and alarm on the required aggregation
Explanation:
EC2 does not publish guest operating-system memory metrics by default. The CloudWatch agent must collect and publish them as custom metrics.
Incorrect! Try again.
44A central observability account must search logs and visualize metrics from dozens of AWS accounts without copying all telemetry into a new custom repository. Which CloudWatch-native architecture should be used?
Monitoring AWS resources with CloudWatch
Hard
A.Create an observability sink in the monitoring account and links from each source account using CloudWatch cross-account observability
B.Export every log group to a centralized S3 bucket, replicate CloudWatch metrics through EventBridge, and reconstruct dashboards with Athena queries
C.Share CloudWatch log groups and metric namespaces through AWS Resource Access Manager, granting the monitoring account read-only access
D.Peer every source VPC with the monitoring VPC and use interface endpoints to expose each account's CloudWatch dashboards
Correct Answer: Create an observability sink in the monitoring account and links from each source account using CloudWatch cross-account observability
Explanation:
CloudWatch cross-account observability uses a sink in the monitoring account and links from source accounts, enabling centralized access to supported telemetry.
Incorrect! Try again.
45An Auto Scaling group has two target-tracking policies: one targets 50% CPU utilization and the other targets 1,000 requests per target. CPU indicates that capacity can decrease, but request volume indicates that it cannot. Assuming scale-in is enabled for both policies, what happens?
Scaling compute resources using Auto Scaling
Hard
A.The group does not scale in until both target-tracking policies indicate scale-in
B.The group executes both recommendations sequentially, scaling in for CPU before scaling out again for request volume
C.The group scales in because the CPU policy reached its scale-in threshold first
D.The group averages the percentage deviations from both targets and follows the resulting sign
Correct Answer: The group does not scale in until both target-tracking policies indicate scale-in
Explanation:
With multiple target-tracking policies, Auto Scaling can scale out when any policy requires it, but scales in only when all scale-in-enabled target-tracking policies agree.
Incorrect! Try again.
46An Auto Scaling group with desired capacity 40 must perform an instance refresh without reducing the number of healthy instances below 40. It may temporarily add at most 10 instances during replacement. Which instance maintenance policy meets these constraints?
Scaling compute resources using Auto Scaling
Hard
A.Set minimum healthy percentage to 125% and maximum healthy percentage to 150%
B.Set minimum healthy percentage to 90%, maximum healthy percentage to 100%, and suspend health-check replacement for the entire refresh
C.Set minimum healthy percentage to 75% and maximum healthy percentage to 100%
D.Set minimum healthy percentage to 100% and maximum healthy percentage to 125%
Correct Answer: Set minimum healthy percentage to 100% and maximum healthy percentage to 125%
Explanation:
A 100% minimum preserves all 40 healthy instances. A 125% maximum permits capacity up to , allowing a surge of 10 instances.
Incorrect! Try again.
47A Spot-heavy Auto Scaling group experiences frequent interruptions and occasional failure to launch replacements because one instance type has insufficient capacity. Which design most directly improves resilience?
Scaling compute resources using Auto Scaling
Hard
A.Create a scheduled action that replaces the entire Spot fleet every hour before interruption notices are likely to arrive
B.Disable Availability Zone rebalancing so that replacement instances remain in the least expensive zone
C.Use a mixed instances policy with diversified instance types and Availability Zones, and enable Capacity Rebalancing
D.Use one Spot instance type with the lowest historical price and increase the group's maximum capacity
Correct Answer: Use a mixed instances policy with diversified instance types and Availability Zones, and enable Capacity Rebalancing
Explanation:
Diversification reduces dependence on one Spot capacity pool, while Capacity Rebalancing proactively replaces instances identified as being at elevated interruption risk.
Incorrect! Try again.
48Every registered target in an Application Load Balancer target group becomes unhealthy, but clients can still connect to the ALB. How does the ALB normally handle requests in this condition?
Using load balancers for high availability
Hard
A.It returns HTTP 503 for every request until at least two targets become healthy
B.It redirects traffic to the target group's configured disaster-recovery endpoint after the health-check threshold has been exceeded
C.It fails open and routes requests to the registered targets despite their unhealthy status
D.It automatically creates targets in another Availability Zone from the target group's launch template
Correct Answer: It fails open and routes requests to the registered targets despite their unhealthy status
Explanation:
When all registered targets in a target group are unhealthy, an ALB fails open and attempts to route traffic to them rather than removing every possible destination.
Incorrect! Try again.
49A service must route gRPC calls by host and path while terminating TLS at the load balancer. Which configuration is most appropriate?
Using load balancers for high availability
Hard
A.Use a Classic Load Balancer with TCP listeners, enabling application-cookie stickiness so the listener can inspect each gRPC method
B.Use an ALB with an HTTPS listener and configure the target group protocol version as gRPC
C.Use a Network Load Balancer with a UDP listener and configure path rules in the target group
D.Use a Gateway Load Balancer and encode the gRPC service name into a GENEVE flow identifier
Correct Answer: Use an ALB with an HTTPS listener and configure the target group protocol version as gRPC
Explanation:
An ALB supports gRPC over an HTTPS listener and can perform application-layer host and path routing when the target group uses the gRPC protocol version.
Incorrect! Try again.
50A Network Load Balancer has cross-zone load balancing disabled. One enabled Availability Zone loses all healthy targets, and some clients continue using the cached zonal NLB IP address. Which change most directly allows that NLB node to serve traffic through healthy targets in other enabled zones?
Using load balancers for high availability
Hard
A.Enable application-cookie stickiness on the affected target group
B.Enable cross-zone load balancing on the Network Load Balancer
C.Replace the Network Load Balancer with an internet-facing Classic Load Balancer and assign one Elastic IP address to each listener
D.Increase the DNS TTL of the Network Load Balancer's service name
Correct Answer: Enable cross-zone load balancing on the Network Load Balancer
Explanation:
With cross-zone load balancing enabled, each NLB node can distribute requests to healthy targets across all enabled Availability Zones, including for clients using a cached zonal address.
Incorrect! Try again.
51A weighted Route 53 record set contains two healthy records with weight 0 and two records with positive weights. Both positive-weight records become unhealthy. What can Route 53 do when answering queries?
DNS-based routing with Amazon Route 53
Hard
A.Return the unhealthy positive-weight record having the numerically largest configured weight
B.Convert the record set to latency-based routing and select whichever zero-weight endpoint is geographically closest to the authoritative name server
C.Return healthy zero-weight records because all positive-weight records are unhealthy
D.Return no records because weight 0 permanently excludes a record from DNS responses
Correct Answer: Return healthy zero-weight records because all positive-weight records are unhealthy
Explanation:
Route 53 normally excludes zero-weight records while healthy positive-weight records exist, but can consider healthy zero-weight records when every positive-weight record is unhealthy.
Incorrect! Try again.
52A private application endpoint is reachable only through private IP addresses in a VPC. Route 53 failover routing must use an application-specific health signal, but public Route 53 health checkers cannot reach the endpoint. Which approach is suitable?
DNS-based routing with Amazon Route 53
Hard
A.Publish the private health signal as a CloudWatch metric and use a Route 53 health check that monitors the corresponding alarm
B.Attach a security group to the private hosted zone that permits HTTPS probes from the global Route 53 authoritative DNS server addresses
C.Configure a standard Route 53 endpoint health check against the private IP and associate it with the private hosted zone
D.Enable Evaluate Target Health on a non-alias A record so Route 53 can probe the private address from the VPC resolver
Correct Answer: Publish the private health signal as a CloudWatch metric and use a Route 53 health check that monitors the corresponding alarm
Explanation:
A CloudWatch-alarm-based health check can represent the status of a private endpoint without requiring public Route 53 health checkers to connect directly to it.
Incorrect! Try again.
53A public DNS name uses Route 53 failover alias records for a primary ALB and a secondary disaster-recovery ALB. Traffic should move to the secondary when the primary ALB has no healthy targets. Which configuration provides this behavior without a separate endpoint health check?
DNS-based routing with Amazon Route 53
Hard
A.Use geolocation routing and map the default location to the primary while mapping every continent to the DR ALB
B.Configure equal weighted aliases and rely on the ALB's target deregistration delay to remove the primary alias from Route 53
C.Set the primary alias to PRIMARY, the DR alias to SECONDARY, and enable Evaluate Target Health
D.Create two simple alias records and assign the DR record a lower DNS TTL than the primary record
Correct Answer: Set the primary alias to PRIMARY, the DR alias to SECONDARY, and enable Evaluate Target Health
Explanation:
Failover alias records define primary and secondary endpoints. Evaluate Target Health lets Route 53 derive the primary alias's health from the ALB and its target groups.
Incorrect! Try again.
54A CloudFormation template uses a dynamic reference to retrieve a database password from Secrets Manager. The secret value is rotated, but the template and resource properties are otherwise unchanged. What should an engineer expect from a newly created change set?
Infrastructure automation with AWS CloudFormation
Hard
A.The change set refuses creation because CloudFormation dynamic references become invalid immediately after the referenced secret is rotated
B.The change set automatically adds an AWS::SecretsManager::RotationSchedule resource to synchronize the database
C.The change set displays the old and new secret values and marks the database for replacement
D.The change set may show no resource modification because it compares the reference rather than detecting the rotated secret value
Correct Answer: The change set may show no resource modification because it compares the reference rather than detecting the rotated secret value
Explanation:
CloudFormation does not expose or compare the resolved secret value in a change set. An unchanged dynamic reference can therefore produce no detected resource change.
Incorrect! Try again.
55A stateful resource must be retained when a property update causes replacement, but the replacement resource should continue to be managed by the stack. Which policy controls retention of the old physical resource during that replacement?
Infrastructure automation with AWS CloudFormation
Hard
A.Set UpdateReplacePolicy: Retain on the resource
B.Set DependsOn to the replacement resource's logical ID
C.Set DeletionPolicy: Snapshot on the stack output
D.Disable rollback for the stack so CloudFormation leaves both physical resources under active stack management after every update
Correct Answer: Set UpdateReplacePolicy: Retain on the resource
Explanation:
UpdateReplacePolicy determines what happens to the old physical resource when an update replaces it. DeletionPolicy primarily governs stack deletion or resource removal from the template.
Incorrect! Try again.
56A stack is stuck in UPDATE_ROLLBACK_FAILED because one resource cannot return to its previous state. An operator uses continue-update-rollback and specifies that resource under resources-to-skip. What important consequence must be addressed afterward?
Infrastructure automation with AWS CloudFormation
Hard
A.The entire stack becomes permanently read-only even after rollback reaches UPDATE_ROLLBACK_COMPLETE
B.CloudFormation deletes the skipped resource and all resources depending on it after the remaining rollback operations have completed
C.The skipped resource is immediately imported into a separate stack with its current properties
D.The skipped resource can be inconsistent with the template and must be reconciled before a later update
Correct Answer: The skipped resource can be inconsistent with the template and must be reconciled before a later update
Explanation:
Skipping lets rollback continue by marking the resource as completed, but its actual state may differ from the template. That inconsistency should be corrected before future updates.
Incorrect! Try again.
57An organization wants a baseline CloudFormation stack deployed automatically to newly added AWS Organizations member accounts and selected Regions, without manually creating cross-account execution roles in every account. Which solution fits best?
Infrastructure automation with AWS CloudFormation
Hard
A.Create one nested stack in the management account and reference member-account IDs as resource properties
B.Use an S3 replication rule to copy the template into every account and rely on CloudFormation drift detection to launch each regional stack
C.Use service-managed CloudFormation StackSets with trusted access and automatic deployment enabled
D.Use self-managed StackSets and manually distribute administrator credentials to each member account
Correct Answer: Use service-managed CloudFormation StackSets with trusted access and automatic deployment enabled
Explanation:
Service-managed StackSets integrate with AWS Organizations, manage required permissions, and can automatically deploy stack instances to accounts added to targeted organizational units.
Incorrect! Try again.
58A team must customize an AWS Quick Start that uses a root template, nested templates, Lambda deployment packages, and scripts. Which approach is safest for a maintainable customized deployment?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Hard
A.Copy the templates and referenced assets to controlled storage, update artifact locations, and test the customized nested deployment
B.Edit only the root template at the vendor's public URL because nested templates automatically inherit all local changes
C.Convert every nested stack into manually executed console instructions so that future upstream Quick Start versions cannot replace customized resources
D.Deploy the original Quick Start, manually modify its resources, and depend on drift detection to preserve those changes during updates
Correct Answer: Copy the templates and referenced assets to controlled storage, update artifact locations, and test the customized nested deployment
Explanation:
Quick Starts commonly reference nested templates and deployment artifacts. A controlled copy allows consistent customization, versioning, path updates, and repeatable testing.
Incorrect! Try again.
59Amazon Q Developer generates a CloudFormation template for a production service. What workflow best reduces the risk of deploying hallucinated properties, excessive permissions, or destructive replacements?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Hard
A.Disable CloudFormation rollback so partially valid generated resources remain available for Amazon Q Developer to repair automatically
B.Deploy directly to production because generated infrastructure code is automatically checked against every regional service schema
C.Grant the generated template administrator permissions, deploy it once, and reduce permissions afterward based solely on CloudTrail history
D.Validate and lint the template, review IAM and security findings, then inspect a change set before deployment
Correct Answer: Validate and lint the template, review IAM and security findings, then inspect a change set before deployment
Explanation:
Generated infrastructure code still requires human and automated validation. Linting, security review, and change-set inspection detect invalid properties, overbroad access, and replacement risks.
Incorrect! Try again.
60A CloudFormation deployment fails with an AccessDenied event involving a deployment role. An engineer asks Amazon Q Developer to troubleshoot it. Which expectation correctly preserves operational control?
Automating deployments with AWS Quick Starts and Amazon Q Developer
Hard
A.Amazon Q Developer automatically attaches AdministratorAccess to the failed role and retries the stack without requiring user confirmation
B.Amazon Q Developer can analyze available context and suggest remediation, but authorized personnel or automation must approve and apply permission changes
C.Amazon Q Developer permanently assumes the deployment role, rewrites all organization service control policies, and completes the failed stack operation autonomously
D.Amazon Q Developer bypasses the denied API by invoking the same operation through the CloudFormation service-linked role in every account
Correct Answer: Amazon Q Developer can analyze available context and suggest remediation, but authorized personnel or automation must approve and apply permission changes
Explanation:
Amazon Q Developer can assist with diagnosis and proposed fixes, but it does not supersede IAM authorization, governance controls, or production approval processes.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →