Exam Information
Free practice questions with explanations
WGU Cloud-Deployment-and-Operations Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Automating Cloud Provisioning and Maintenance
A retail company manages its AWS environment with AWS CloudFormation stacks spread across three accounts. Their platform team must ensure that every new EC2 instance launched by a CloudFormation stack is patched during a fixed weekly maintenance window, without manually editing each stack. The team wants the least operational overhead and must keep the configuration declarative and auditable. Some instances run a legacy OS that does not support the SSM agent, and the company cannot change that OS before next quarter. Which action should the team take?
Correct Answer: AExplanationSystems Manager Maintenance Windows combined with patch baselines and tag-based target registration let the platform team manage patching declaratively across accounts without editing each stack. The constraint that rules out the other options is the legacy OS that cannot run the SSM agent, so those instances need a separate path, which the scenario signals by describing a supported-instance bootstrap. Cron jobs in user data are not centrally auditable and drift from the declared configuration. Stopping and restarting every instance on a schedule causes unnecessary downtime and does not patch anything meaningfully. AWS Config reports drift but its remediation does not provide a managed maintenance window with approvals and audit trail for patching.
-
2 Question 2 Single choice Cloud Service Deployment and Management
A healthcare startup runs a stateless API on Amazon EC2 instances behind an Application Load Balancer in an Auto Scaling group. Traffic spikes are predictable every weekday morning, and the team must keep p95 latency under 300 ms during those spikes while minimizing cost during overnight hours. The application takes four minutes to become healthy after launch because of a warm-up cache. Which scaling configuration BEST meets these requirements?
Correct Answer: AExplanationPredictable weekday spikes call for scheduled scaling to add capacity ahead of demand, while target tracking handles variation within the day. Setting the health check grace period above the four-minute warm-up prevents Auto Scaling from terminating instances that are still initializing. A static peak capacity wastes money overnight, which the cost constraint forbids. Reactive CPU target tracking alone adds capacity only after latency rises, so spikes can breach the 300 ms target while instances warm up. A short cooldown with step scaling and no schedule is reactive and ignores the known pattern, and it may still launch instances that have not finished warming.
-
3 Question 3 Single choice Configuring Cloud Network Connectivity
A financial services firm has a VPC in us-east-1 with private subnets hosting an Amazon RDS database. An on-premises data center connects through an AWS Site-to-Site VPN attached to a virtual private gateway. Application servers in a second VPC, peered to the first, cannot reach the database, but on-premises clients can. The route tables of both VPCs show the correct peering routes, and the security group on the database allows port 5432 from the application subnet CIDR. The security team forbids opening the database to 0.0.0.0/0. Which cause is MOST likely, and what should the engineer do?
Correct Answer: AExplanationThe route tables and security group are already correct, so the remaining stateless control is the network ACL, which evaluates inbound and outbound rules separately and requires return traffic on ephemeral ports. Adding a rule for the application CIDR on the ephemeral range resolves the blockage without exposing the database publicly. Peering is not the issue because the peering routes are present and the traffic path is already established. Moving the database to a public subnet violates the security requirement and is unnecessary. Reattaching the virtual private gateway affects on-premises connectivity, which already works, so it would not address the application VPC failure.
-
4 Question 4 Single choice Ensuring Scalability, Elasticity, and Backup Readiness
An e-commerce company stores order records in an Amazon DynamoDB table with point-in-time recovery enabled. Compliance requires that backups be retained for seven years, and the operations team must be able to restore the table to a specific day within the last 35 days. Backups beyond 35 days must be immutable and kept at a lower cost. Which configuration BEST meets both requirements?
Correct Answer: BExplanationPoint-in-time recovery provides continuous backups with restores to any second in the last 35 days, which matches the operational requirement. AWS Backup plans with a seven-year lifecycle, using a vault lock for immutability, satisfy the longer compliance retention. Relying on on-demand backups in the default vault does not provide the immutability the requirement demands, and it removes the granular point-in-time restore. Hourly exports to S3 Standard add significant cost and have no built-in immutability or restore workflow. DynamoDB Streams are not a backup mechanism, and their retention is limited to 24 hours, so they cannot satisfy either requirement.
-
5 Question 5 Single choice Implementing Cloud Security and Compliance
A payments company stores cardholder data in Amazon S3 buckets in a single account. The compliance team requires that any object uploaded without server-side encryption be denied and that the buckets never be accessible to principals outside the organization, even if an administrator later attaches a broad bucket policy. The engineers want a preventive control enforced across all member accounts managed through AWS Organizations. Which approach should they take?
Correct Answer: AExplanationService control policies are a preventive guardrail enforced at the organization level, and they apply even to administrators within member accounts, which matches the requirement that a later broad bucket policy cannot override the control. Using the encryption header condition and the aws:PrincipalOrgID condition gives both required denials. GuardDuty detects threats rather than enforcing encryption, and automatic re-encryption after upload does not stop unencrypted writes. AWS Config is detective, so it alerts only after the violation. IAM policies attached per account can be modified by administrators, so they do not meet the enforcement requirement.
-
6 Question 6 Single choice Monitoring, Logging, and Issue Remediation
An operations team receives alerts that an Auto Scaling group's instances are being replaced every few minutes. Amazon CloudWatch shows that the ALB target group marks instances unhealthy shortly after they register. The application logs on one instance show the service starting correctly, and the instance's security group allows traffic on port 8080 from the ALB security group. The health check is configured for HTTP on port 8080 at path /health with a 5-second timeout. The /health endpoint takes about 7 seconds to respond because it queries a downstream dependency. Which action should the team take FIRST?
Correct Answer: BExplanationThe logs show the service is running and the security group permits traffic, so the failure is in the health check response itself. The endpoint takes about seven seconds, which exceeds the five-second timeout, so the load balancer records each check as failed. Increasing the timeout and making the endpoint respond promptly addresses the root cause. Replacing the load balancer type is an unrelated architectural change that does not fix the response latency. Disabling health checks removes the failure signal and leaves unhealthy instances in service. Adding port 443 does not match the configured protocol and port, so it would not change the failing check.
-
7 Question 7 Single choice Optimizing Cost and Performance Baselines
A media company runs a batch transcoding workload on Amazon EC2 that processes jobs from an Amazon SQS queue. Jobs are fault-tolerant, can be interrupted and restarted, and run for up to six hours. The current fleet uses On-Demand instances at a steady capacity of 40 instances, and monthly compute costs must fall by at least 50 percent without changing the job completion deadline of 24 hours from submission. Which purchasing strategy BEST meets the requirements?
Correct Answer: AExplanationThe workload is interruptible and fault-tolerant with a generous 24-hour deadline, which makes Spot Instances the lowest-cost option that still meets the requirement. A mixed instances Auto Scaling group using several instance types and the price-capacity-optimized strategy reduces interruption risk, and scaling on queue depth keeps the deadline achievable. A savings plan reduces cost but usually not by 50 percent on its own, and it locks in spend for a steady baseline that the company may not need. Dedicated Hosts increase cost for licensing or isolation reasons and do not reduce the per-instance price. A single larger On-Demand instance increases cost and creates a single point of failure.
-
8 Question 8 Single choice Cloud Service Deployment and Management
A logistics company is deploying a new version of its order-tracking service on Amazon ECS with the Fargate launch type behind an Application Load Balancer. The service must have zero downtime during deployment, and the team must be able to roll back automatically if the new tasks fail their container health checks or the ALB target group reports unhealthy targets. The company's change control requires that only a small share of traffic reaches the new version first. Which deployment configuration meets these requirements?
Correct Answer: DExplanationA CodeDeploy blue/green deployment for ECS supports canary traffic shifting, which sends a small share of traffic to the new task set first, and it can roll back automatically on failed health checks or on alarms tied to the ALB unhealthy target metric. A rolling update with a 100 percent minimum does avoid downtime, but it has no traffic-share control for canary testing, and disabling the circuit breaker removes an automatic rollback path. Stopping the service causes downtime by design. An all-at-once DNS cutover is not a canary and relies on manual intervention, which fails the automatic rollback requirement.
-
9 Question 9 Single choice Configuring Cloud Network Connectivity
A company runs a web application in a VPC with public subnets for its load balancer and private subnets for EC2 instances. The instances must download operating system updates from the internet, but the security team forbids any inbound connections initiated from the internet to the instances. After deployment, instances in the private subnets cannot reach the internet, and the route table for the private subnets points to a NAT gateway created in a public subnet. The NAT gateway's route table has no route to an internet gateway. Which change restores outbound internet access while keeping inbound access blocked?
Correct Answer: CExplanationA NAT gateway must sit in a public subnet whose route table sends 0.0.0.0/0 to an internet gateway, so the missing default route in the public subnet is the cause. Adding that route restores the path from private instances through the NAT gateway to the internet while inbound connections remain blocked. Assigning public IPs to the private instances would make them reachable from the internet, violating the security constraint. Moving the NAT gateway into a private subnet removes its internet path entirely. Security groups are stateful, so return traffic does not require an inbound rule opened to the world, and such a rule would violate the requirement.
-
10 Question 10 Single choice Ensuring Scalability, Elasticity, and Backup Readiness
A SaaS provider runs a relational workload on Amazon Aurora PostgreSQL with one writer and two reader instances. Read traffic fluctuates sharply during business hours, and reader latency increases during peaks. The operations team must add readers automatically when average CPU across readers exceeds 60 percent, remove them when load falls, and keep the minimum at one reader and the maximum at six. Which configuration meets this requirement?
Correct Answer: CExplanationAurora Auto Scaling adds and removes Aurora Replicas based on a target metric such as average reader CPU, with configurable minimum and maximum replica counts, which exactly matches the requirement. Scaling on writer CPU does not address reader load and requires custom manual provisioning. Aurora Serverless v2 scales the capacity of an instance, not the number of readers, so it does not meet the reader-count requirement. A Route 53 weighted record across clusters introduces a second database with separate data, so it does not provide elastic read scaling for the same data set.
-
11 Question 11 Multiple choice Implementing Cloud Security and Compliance
A government contractor hosts a case-management application on Amazon EC2 in a single VPC. The security team must ensure that administrators reach instances only through audited, time-limited sessions, and that no instance has a public IP address or open inbound SSH port. The contractor also needs centralized audit records of session activity. Which TWO actions together meet these requirements? (Choose two.)
Correct Answer: B, CExplanationSession Manager provides interactive access without inbound ports or public IPs, and it authorizes sessions through IAM, which is the audited, time-limited control the scenario needs. Enabling session logging to CloudWatch Logs or S3 delivers the centralized activity record the contractor requires. Keeping SSH open from a corporate range still leaves an inbound port, which violates the stated requirement. Assigning Elastic IPs gives instances public addresses, and a bastion host still exposes an inbound SSH path. Distributing shared keys by email is insecure and offers no per-session audit.
-
12 Question 12 Multiple choice Monitoring, Logging, and Issue Remediation
A fintech company's application runs on Amazon EC2 instances across two Availability Zones. Operators need to detect when the application returns a rising rate of HTTP 5xx errors and to investigate the specific requests that caused them. The application writes access logs to files on each instance and does not currently ship them anywhere. The company wants alerts within minutes and searchable logs without installing third-party software. Which TWO actions together meet these requirements? (Choose two.)
Correct Answer: D, EExplanationThe CloudWatch agent ships file-based application logs to CloudWatch Logs, making them searchable and available for investigation. A metric filter on those logs converts 5xx entries into a metric, and an alarm on that metric delivers the minutes-level alerting required. Detailed monitoring only adds instance-level metrics at one-minute granularity and does not record HTTP status codes. CloudTrail records API activity rather than application HTTP responses. VPC Flow Logs capture network metadata such as ports and bytes, not HTTP status codes, and a weekly S3 analysis cannot provide timely alerts.
-
13 Question 13 Single choice Automating Cloud Provisioning and Maintenance
A platform team uses AWS CloudFormation to provision identical VPC stacks for twelve application teams in different AWS accounts. A recent change to a shared template caused several stacks to fail during an update because a required parameter was removed. The team wants to catch this class of problem before any production stack is updated, and wants an automated review step that runs whenever a template is committed. Which approach BEST meets this requirement?
Correct Answer: DExplanationRunning cfn-lint and generating change sets in a non-production account inside the pipeline exposes breaking changes, such as a removed required parameter, before any production update, and the review gate prevents unintended execution. Validate-template checks syntax only and does not reveal update impact, and manual review does not scale across twelve teams. Termination protection prevents stack deletion, not failed updates caused by parameter changes. Drift detection finds configuration differences after the fact and does not evaluate proposed template changes.
-
14 Question 14 Single choice Optimizing Cost and Performance Baselines
A company's analytics team runs nightly Amazon Athena queries against 40 TB of log data stored in Amazon S3 as uncompressed JSON. Queries scan the full dataset for each report, and the monthly Athena bill has grown sharply. Reports must still complete within the same window, and the schema must remain queryable without restructuring the source logs. Which change BEST reduces cost while preserving performance?
Correct Answer: DExplanationAthena bills by the amount of data scanned, so converting to compressed columnar Parquet and partitioning by date reduces the scanned bytes substantially while keeping the logs queryable with SQL. Glacier Deep Archive storage is not queryable by Athena without restoration and does not reduce scan charges. Running more concurrent queries does not reduce the per-query scan cost. Running a large Redshift cluster continuously adds fixed cost that is likely higher than the optimized Athena approach and is unnecessary for a nightly report workload.
These are 14 of the 67 questions in the full Cloud-Deployment-and-Operations pack.
Get All 67 QuestionsGet all 67 questions & answers
Full access options for WGU Cloud-Deployment-and-Operations
Self-study
PDF Version
- 67 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 67 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 67 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Cloud-Deployment-and-Operations Exam (WGU Cloud Deployment and Operations) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.