Exam Information
Free practice questions with explanations
WGU Secure-Software-Design Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Design Pattern Selection and Implementation
A retail company is building a checkout service in which the payment processing rules differ by country: card authorization steps, currency rounding, and fraud screening thresholds all vary. The team must add new country rules without modifying the checkout workflow code that is already certified for PCI compliance. The tech lead wants each country's rules encapsulated behind a common interface that the checkout workflow selects at runtime. Which design pattern best meets this requirement, and what is the most important reason to choose it over a single class with nested conditionals?
Correct Answer: BExplanationStrategy encapsulates interchangeable algorithms behind a common interface and lets the context choose one at runtime, which matches the requirement that new country rules be added while the certified checkout workflow stays untouched. Adapter would be correct if the problem were mismatched interfaces to existing gateway SDKs, which the scenario does not describe. Singleton enforces one instance, which contradicts the need for different rules per country. Facade simplifies access to a subsystem but does not provide swappable behaviour selected per request.
-
2 Question 2 Single choice Large Scale Software System Design
A ticketing platform expects traffic to spike tenfold during concert sale openings, lasting about fifteen minutes. The architect must scale the seat-reservation service horizontally while guaranteeing that two customers can never reserve the same seat. The reservation database is a single relational instance with strong consistency requirements, and the budget does not allow a permanent tenfold capacity increase. The team also wants to avoid rewriting the reservation logic. Which approach is the BEST design decision?
Correct Answer: DExplanationStateless service instances can be scaled out and back in with autoscaling, which fits the short spike and budget limit, while the database keeps the authoritative seat state and enforces no double booking through conditional updates. Read replicas cannot accept writes, so routing reservations to them is invalid. A queue would change the customer experience and require rewriting the flow, and a TTL cache would serve stale availability, allowing double bookings under strong consistency demands.
-
3 Question 3 Single choice Reliable and Secure Software Systems
A healthcare application stores patient records in a web tier that calls an internal API. During a security review, the team discovers that the API trusts any request carrying a valid session cookie and returns full record details, including records outside the requesting clinician's assigned ward. Compliance requires that access be restricted to assigned patients and that every denied attempt be logged for audit within the same sprint. The developers have limited time and must not break existing clinician workflows. What is the FIRST action the team should take?
Correct Answer: DExplanationThe root defect is broken object-level authorization on the server, so the first fix is a server-side ward assignment check on every record request, with denials logged to satisfy the audit requirement. TLS and cookie rotation address transport and session theft, not the authorization flaw. Hiding records in the user interface does nothing against direct API calls. Rate limiting slows bulk scraping but still returns unauthorized records to any authenticated caller.
-
4 Question 4 Single choice Software Architecture and Design
A logistics company is redesigning a monolithic order system into smaller services. The order, inventory, and shipping modules share one database schema, and inventory changes must commit atomically with order status updates. Management wants independent deployment of each module within six months. The architect proposes a database-per-service model. Which design approach best preserves business consistency across the services after the split?
Correct Answer: DExplanationOnce each service owns its database, a single local transaction can no longer span them, so a saga with compensating actions coordinated through events maintains consistency while allowing independent deployment. Keeping a shared schema defeats the stated independent deployment goal. Two-phase commit across independently deployed services is fragile and is generally avoided for this reason. Merging services reduces the split the management team asked for and only partially solves the atomicity need.
-
5 Question 5 Multiple choice Software Architecture Types
A government agency must modernize a benefits claims system that must run in an on-premises data center for data residency reasons. The system must handle large claim batches overnight and remain available during daytime peak periods. Teams will be organized by claim type, and the agency wants minimal coordination overhead between teams. Which TWO architectural styles best fit these requirements? (Choose two.)
Correct Answer: B, CExplanationMicroservices aligned to claim types match team organization and reduce coordination, and they can run on the required on-premises platform. An event-driven design with a durable broker handles overnight batches and daytime peaks by buffering work and decoupling intake from processing. A shared monolith creates the coordination overhead the agency wants to avoid. Public cloud serverless violates the data residency constraint. Pure peer-to-peer replication without coordination is not a practical fit for auditable benefit claims.
-
6 Question 6 Single choice Software System Management
A project manager leads a team building a payments integration due in eight weeks. The security architect requires threat modeling before any code for the payment interface is written. The developers have started coding the interface because the sprint plan shows it in week two. The sponsor wants the schedule protected and will not accept a slip. Which action should the project manager take FIRST to satisfy both the schedule and the security governance requirement?
Correct Answer: DExplanationThe security gate is a stated governance requirement that comes before the payment interface code, so the project manager should hold a short threat modeling session first and reorder work so developers are not idle. Removing the gate or deferring it to week seven breaks the requirement and invites rework of insecure design. Bypassing the security architect without authority is a governance failure, not a schedule solution.
-
7 Question 7 Single choice Design Pattern Selection and Implementation
A mobile banking team is integrating a third-party identity verification provider whose SDK exposes a verification workflow with a different request and response model than the team's domain objects. The team wants to isolate the provider's model from the rest of the application so that switching providers later requires changing one component only. Which design pattern should be applied, and where should it be placed?
Correct Answer: DExplanationAn Adapter sits at the boundary and translates the provider's request and response model into the application's domain model, so replacing the provider means replacing only the adapter. Decorator adds responsibilities to objects rather than translating interfaces, which misses the isolation goal. Observer handles notification, not model translation. Prototype concerns object creation by cloning and has nothing to do with integrating an external SDK.
-
8 Question 8 Multiple choice Reliable and Secure Software Systems
A fintech startup stores customer API keys used for outbound partner integrations. A recent incident showed keys committed to a source repository and copied into build logs. The company must reduce exposure without breaking the nightly integration jobs, and the security team requires the fix to avoid long-lived static secrets. Which TWO actions best meet these requirements? (Choose two.)
Correct Answer: D, EExplanationA secrets manager with short-lived credentials removes long-lived static secrets from code and pipelines, and pipeline log masking combined with rotating the already exposed keys addresses the incident directly. Encrypted variables in the repository still place secrets in version control and expose them to reviewers. Longer log retention extends exposure. Embedding keys in artifacts makes them readable to anyone who obtains the build output.
-
9 Question 9 Single choice Large Scale Software System Design
A streaming media company runs a recommendation service whose latency must stay under 200 milliseconds at the 99th percentile, even when a regional cluster fails. The current design has all three replicas in one availability zone. The company's budget permits adding capacity but not a full second region, and data must remain in approved regions only. Which design change BEST improves availability without violating these constraints?
Correct Answer: DExplanationDistributing replicas across availability zones within the approved region protects against a single zone failure while keeping latency and residency requirements intact. Adding replicas in one zone does not help if that zone fails. Replicating to an unapproved region breaks the data residency constraint regardless of cost. Long-lived edge caching produces stale recommendations and does not guarantee the latency target for uncached requests.
-
10 Question 10 Single choice Software Architecture Types
A hospital network is choosing an architecture for a new scheduling platform that must integrate with fourteen legacy systems, each exposing data through different protocols and update frequencies. The integration team must add new legacy systems over time without changing the core scheduling logic. Which architecture type best fits this requirement, and what is its main trade-off?
Correct Answer: DExplanationA service-oriented architecture with an enterprise service bus translates between heterogeneous protocols and lets new integrations attach without changing core scheduling logic, at the cost of making the bus a central component needing governance. Layered architecture does not address protocol heterogeneity. Pipe-and-filter is poorly suited to interactive scheduling. Thick client-server does not solve integration of many legacy protocols.
-
11 Question 11 Single choice Software System Management
A software program manager oversees three teams delivering components of a public procurement portal. Each team reports a green status, yet integration testing fails repeatedly because interface contracts between teams changed without notice. The program is three weeks from a regulatory deadline. The manager has authority to change coordination practices but not team scopes. Which action BEST addresses the root cause within the time available?
Correct Answer: DExplanationThe root cause is uncoordinated interface changes, so a versioned contract register with a change approval step and joint integration checkpoints addresses the actual failure mode and fits the manager's authority over coordination practices. Weekly status percentages would continue to report green while contracts drift. A single developer fixing everything creates a bottleneck. Postponing the deadline is a decision outside the manager's stated authority and skips the root cause.
-
12 Question 12 Multiple choice Design Pattern Selection and Implementation
A developer team is refactoring a document-processing pipeline in which each document passes through validation, format conversion, and encryption steps. New steps are added frequently, the order of steps must be configurable per customer, and a failure in one step must stop the pipeline and report the failing step. Which TWO design patterns best support these requirements? (Choose two.)
Correct Answer: B, DExplanationChain of Responsibility lets each handler decide to process or forward, and a stage-based pipeline with a common interface lets steps be added and ordered per customer while stopping on failure and reporting the failing stage. Builder assembles configuration objects but does not govern execution flow or failure handling. Flyweight addresses memory sharing, not sequencing. Mediator centralizes communication and does not express an ordered, failure-stopping sequence.
-
13 Question 13 Single choice Reliable and Secure Software Systems
A payroll application runs a nightly batch job that reads employee bank details and writes payment files. An audit found that failed batch runs were restarted manually, and in one case a file was generated twice and transmitted twice. The finance director requires that reruns never produce duplicate payment files, and the batch must remain idempotent without redesigning the file format. Which implementation best meets this requirement?
Correct Answer: DExplanationRecording a unique payment key in a processed-records table within the same transaction as the write makes reruns skip work already completed, which is the standard idempotency technique for batch jobs and avoids duplicate files. Deleting files does not stop a duplicate from being transmitted. Retries reduce restarts but do not prevent duplicates on manual reruns. Encryption protects confidentiality but does not stop a duplicate payment from being processed.
These are 13 of the 118 questions in the full Secure-Software-Design pack.
Get All 118 QuestionsGet all 118 questions & answers
Full access options for WGU Secure-Software-Design
Self-study
PDF Version
- 118 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
- 118 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
- 118 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 Secure-Software-Design Exam (WGU Secure Software Design) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.