Given E=14, N=12, and P=1, complexity is?
A 4
B 3
C 5
D 6
Answer: A. 4. Cyclomatic complexity is E β N + 2P, so 14 β 12 + 2 = 4.
PERT estimates are O=2, M=5, P=8; expected time is?
A 4
B 6
C 5
D 7
Answer: C. 5. The estimate is (2 + 4Γ5 + 8)/6 = 30/6 = 5.
Suppose loss is $40,000 with probability 25%; exposure is?
A $1,000
B $5,000
C $40,000
D $10,000
Answer: D. $10,000. Expected exposure is probability multiplied by loss: 0.25 Γ $40,000 = $10,000.
In UML, Β«includeΒ» usually represents what?
A Optional behavior extension
B Mandatory reused behavior
C A class inheritance
D A deployment node
Answer: B. Mandatory reused behavior. An include relationship factors required behavior into another use case.
Unlike Β«includeΒ», Β«extendΒ» represents what?
A Mandatory shared behavior
B A data type
C A deployment package
D Optional conditional behavior
Answer: D. Optional conditional behavior. An extend relationship adds behavior conditionally to a base use case.
MC/DC coverage requires each condition to do what?
A Independently affect outcome
B Execute once only
C Pass every test
D Use each data type
Answer: A. Independently affect outcome. Modified condition/decision coverage shows each condition can independently affect the decision result.
Production logs, metrics, and traces support what?
A Requirements elicitation
B Source formatting
C Operational monitoring
D Budget estimation
Answer: C. Operational monitoring. These telemetry signals help operators understand software behavior in production.
If a dependency is failing, a circuit breaker helps by?
A Deleting its source
B Stopping repeated calls
C Changing the API
D Disabling all tests
Answer: B. Stopping repeated calls. A circuit breaker temporarily blocks calls to a failing dependency to limit cascading failures.
Blue-green deployment normally switches traffic between what?
A Two production environments
B Two code editors
C Two test cases
D Two backlog items
Answer: A. Two production environments. Blue-green deployment keeps two environments and redirects traffic to the selected one.
Canary releases first send traffic to what?
A All users at once
B Only test machines
C No production users
D Small user subset
Answer: D. Small user subset. A canary exposes a new version to a limited portion of production traffic first.
Balancing low latency against strong isolation is an example of?
A Requirements elicitation
B Code compilation
C Quality attribute trade-off
D Unit test isolation
Answer: C. Quality attribute trade-off. Architectural choices often trade one quality attribute against another.
Fault-tolerant designs commonly use what?
A Single points of failure
B Redundancy and failover
C Untracked local changes
D Unverified assumptions
Answer: B. Redundancy and failover. Redundant components and failover can keep a service operating when a component fails.
API backward compatibility helps which users?
A Only future developers
B Only test managers
C Unrelated services
D Existing clients
Answer: D. Existing clients. Backward-compatible changes allow existing clients to keep working against the API.
Before approving a change, impact analysis identifies what?
A Affected components and tests
B Only the change author
C Unrelated project budgets
D All future releases
Answer: A. Affected components and tests. Impact analysis identifies requirements, components, and tests that may need revision.
A risk response that removes the threat is called?
A Risk acceptance
B Risk transfer
C Risk avoidance
D Risk monitoring
Answer: C. Risk avoidance. Risk avoidance changes the plan so the identified threat no longer applies.
In Scrum 2020, the Sprint Goal gives the Sprint what?
A Fixed scope guarantee
B Single objective
C Release approval
D Testing standard
Answer: B. Single objective. The Sprint Goal is the single objective for the Sprint, while scope can be renegotiated.
Under the Scrum Guide, an Increment must meet what?
A Definition of Done
B A fixed story count
C A manager's estimate
D Every future requirement
Answer: A. Definition of Done. Work that does not meet the Definition of Done cannot be released as part of the Increment.
In a layered design, why constrain dependency direction?
A Increase circular imports
B Share every database
C Remove module boundaries
D Limit cross-layer coupling
Answer: D. Limit cross-layer coupling. Controlled dependency direction limits unwanted coupling between layers.
Refactoring changes internal structure while preserving what?
A Every line number
B The release date
C Observable behavior
D The project budget
Answer: C. Observable behavior. Refactoring improves internal design without changing externally observable behavior.
Software reliability concerns failure-free operation under what?
A Any possible environment
B Stated conditions and time
C Unlimited duration
D Unknown requirements
Answer: B. Stated conditions and time. Reliability is defined with respect to specified conditions and a specified time interval.
At 99.9% availability over 30 days, downtime is about?
A 4 minutes
B 7 hours
C 43 hours
D 43 minutes
Answer: D. 43 minutes. Thirty days contain 43,200 minutes; 0.1% downtime is about 43.2 minutes.
Which item can be managed as a configuration item?
A Tracked project artifact
B Unrecorded conversation
C Personal preference
D Temporary thought
Answer: A. Tracked project artifact. A configuration item is a selected artifact managed under configuration control.
Which risk response lowers probability or impact?
A Risk avoidance
B Risk transfer
C Risk mitigation
D Risk acceptance
Answer: C. Risk mitigation. Mitigation reduces a risk's likelihood, consequence, or both without necessarily eliminating it.
A test using forecast peak traffic is what type?
A Mutation test
B Load test
C Usability review
D Static analysis
Answer: B. Load test. Load testing evaluates behavior under an expected workload.
Technical debt describes future cost from what?
A User acceptance tests
B Stable interfaces
C Automated releases
D Expedient design choices
Answer: D. Expedient design choices. Shortcuts can create future rework and maintenance costs, which are commonly called technical debt.