Docsity

Professional Software Engineering Master Latest Practice Exam (Updated Edition), Exams of Technology

Toggle sidebar
bg1
Professional Software Engineering
Master Latest Practice Exam (Updated
Edition)
Question 1
A financial institution is replacing its legacy loan approval platform. During
requirements elicitation, different stakeholders provide conflicting priorities. Loan
officers request maximum flexibility, compliance officers require strict regulatory
controls, and executives emphasize reduced processing time. Which technique is
MOST effective for resolving these conflicting requirements while maintaining
traceability?
A. Create independent requirement specifications for each stakeholder group.
B. Apply requirements prioritization using stakeholder influence only.
C. Facilitate structured requirements negotiation supported by a traceability
matrix.
D. Postpone conflicting requirements until system testing.
Answer: C
Explanation:
Requirements negotiation helps resolve conflicts among stakeholders while
preserving business objectives. A traceability matrix ensures every requirement
is linked to stakeholders, regulations, business goals, and design artifacts,
simplifying impact analysis throughout development.
Question 2
A cloud-native e-commerce platform experiences frequent feature additions by
independent teams. The architecture should minimize coupling while allowing
independent deployment of services.
Which architectural approach BEST satisfies these objectives?
A. Layered Monolithic Architecture
B. Pipe-and-Filter Architecture
C. Microservices with Domain-Driven Design
D. Repository Architecture
Answer: C
Explanation:
Microservices combined with Domain-Driven Design organize services around
business capabilities, reducing coupling and enabling independent deployment,
scaling, and maintenance.
Question 3
During implementation of a concurrent order processing engine, developers
observe intermittent race conditions that cannot easily be reproduced.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Professional Software Engineering Master Latest Practice Exam (Updated Edition) and more Exams Technology in PDF only on Docsity!

Master Latest Practice Exam (Updated

Edition)

Question 1 A financial institution is replacing its legacy loan approval platform. During requirements elicitation, different stakeholders provide conflicting priorities. Loan officers request maximum flexibility, compliance officers require strict regulatory controls, and executives emphasize reduced processing time. Which technique is MOST effective for resolving these conflicting requirements while maintaining traceability? A. Create independent requirement specifications for each stakeholder group. B. Apply requirements prioritization using stakeholder influence only. C. Facilitate structured requirements negotiation supported by a traceability matrix. D. Postpone conflicting requirements until system testing. Answer: C Explanation: Requirements negotiation helps resolve conflicts among stakeholders while preserving business objectives. A traceability matrix ensures every requirement is linked to stakeholders, regulations, business goals, and design artifacts, simplifying impact analysis throughout development. Question 2 A cloud-native e-commerce platform experiences frequent feature additions by independent teams. The architecture should minimize coupling while allowing independent deployment of services. Which architectural approach BEST satisfies these objectives? A. Layered Monolithic Architecture B. Pipe-and-Filter Architecture C. Microservices with Domain-Driven Design D. Repository Architecture Answer: C Explanation: Microservices combined with Domain-Driven Design organize services around business capabilities, reducing coupling and enabling independent deployment, scaling, and maintenance. Question 3 During implementation of a concurrent order processing engine, developers observe intermittent race conditions that cannot easily be reproduced.

Master Latest Practice Exam (Updated

Edition)

Which construction practice is MOST appropriate? A. Replace synchronized collections with arrays. B. Introduce immutable objects and thread-safe synchronization mechanisms. C. Increase compiler optimization. D. Remove exception handling. Answer: B Explanation: Immutable objects eliminate shared mutable state, while thread-safe synchronization mechanisms reduce race conditions and improve reliability in concurrent applications. Question 4 A safety-critical aviation system must demonstrate that every independent execution path has been exercised. Which structural testing criterion is MOST appropriate? A. Statement Coverage B. Branch Coverage C. Decision Coverage D. Basis Path Coverage Answer: D Explanation: Basis Path Coverage uses cyclomatic complexity to identify independent execution paths and provides stronger assurance than statement or branch coverage. Question 5 Following deployment, developers discover a defect caused by an undocumented dependency between two services. Which maintenance activity should occur FIRST? A. Optimize database indexes. B. Perform impact analysis before implementing the correction. C. Rewrite both services. D. Replace the communication protocol. Answer: B

Master Latest Practice Exam (Updated

Edition)

A. Level 2 B. Level 3 C. Level 4 D. Level 1 Answer: C Explanation: CMMI Level 4 introduces quantitative process management using statistical techniques to control and predict process performance. Question 9 A development team selects a formal specification language before coding a railway signaling system. What is the PRIMARY benefit? A. Reduced documentation B. Elimination of integration testing C. Mathematical verification of system behavior D. Automatic deployment Answer: C Explanation: Formal methods allow mathematical verification of system properties, reducing ambiguity in safety-critical environments. Question 10 An organization adopts ISO-based quality management practices. Which activity MOST directly contributes to quality assurance rather than quality control? A. Executing regression tests B. Performing code inspections C. Auditing compliance with development processes D. Measuring defect density Answer: C Explanation: Quality assurance focuses on ensuring development processes are followed, whereas quality control evaluates product quality. Question 11

Master Latest Practice Exam (Updated

Edition)

A software engineer discovers a security vulnerability shortly before product release. Management requests delaying disclosure until after launch. What is the MOST ethical course of action? A. Ignore the issue. B. Document the vulnerability privately but release anyway. C. Escalate the issue through appropriate organizational channels. D. Publicly disclose immediately. Answer: C Explanation: Professional ethics require protecting the public while following responsible disclosure procedures through appropriate organizational channels. Question 12 A requirements engineer models business processes using use cases. Which relationship indicates mandatory common behavior shared among multiple use cases? A. Extend B. Include C. Generalization D. Dependency Answer: B Explanation: The <> relationship extracts mandatory reusable behavior common to multiple use cases. Question 13 A system requires interchangeable algorithms selected dynamically during execution. Which design pattern BEST addresses this requirement? A. Singleton B. Factory Method C. Strategy D. Observer Answer: C

Master Latest Practice Exam (Updated

Edition)

Answer: B Explanation: Adaptive maintenance modifies software to accommodate changes in the external environment. Question 17 Why is configuration identification essential? A. It eliminates software defects. B. It defines uniquely identifiable configuration items throughout the lifecycle. C. It replaces testing activities. D. It reduces hardware costs. Answer: B Explanation: Configuration identification establishes baselines and uniquely identifies software artifacts for controlled change management. Question 18 Earned Value equals Planned Value, while Actual Cost exceeds Earned Value. Which conclusion is MOST accurate? A. Project is ahead of schedule and under budget. B. Project is on schedule but over budget. C. Project is behind schedule but under budget. D. Project is ahead of schedule but over budget. Answer: B Explanation: EV = PV indicates schedule performance is on target, but AC > EV indicates cost overrun. Question 19 Retrospectives in Agile primarily support: A. Configuration auditing B. Continuous process improvement C. Database normalization D. Requirements baselining Answer: B

Master Latest Practice Exam (Updated

Edition)

Explanation: Sprint retrospectives identify opportunities for improving team processes and practices. Question 20 Model checking primarily verifies: A. UI usability B. Hardware compatibility C. System properties against formal models D. Coding style Answer: C Explanation: Model checking systematically explores system states to verify formally specified properties. Question 21 Which metric BEST indicates testing effectiveness? A. Function Points B. Defect Removal Efficiency C. Lines of Code D. Cyclomatic Complexity Answer: B Explanation: Defect Removal Efficiency measures how effectively defects are found before release relative to total discovered defects. Question 22 Which economic principle supports choosing the solution with the highest expected financial benefit after considering uncertainty? A. Technical Debt B. Net Present Value C. Expected Monetary Value D. Code Coverage Answer: C

Master Latest Practice Exam (Updated

Edition)

indicates that the tests are effective at identifying subtle defects and provides a stronger measure of test quality than code coverage alone. Question 26 A multinational healthcare organization is developing an Electronic Health Record (EHR) platform. During validation, clinicians discover that several approved functional requirements conflict with newly introduced privacy regulations. Which activity should be performed FIRST? A. Begin system redesign immediately B. Conduct requirements impact analysis and update traceability links C. Ignore regulatory changes until the next release cycle D. Add compensating controls during testing Answer: B Explanation: Regulatory changes require assessing the impact on existing requirements before implementation. Traceability identifies affected requirements, design components, test cases, and stakeholders, minimizing compliance risks. Question 27 A payment processing platform requires high availability. A single service failure must not interrupt transaction processing. Which architectural design principle BEST supports this requirement? A. Tight coupling between services B. Redundant service instances behind load balancing C. Centralized database locking D. Single-threaded execution Answer: B Explanation: Redundant instances with load balancing improve fault tolerance by allowing requests to continue through healthy service instances. Question 28 During code review, developers notice repeated implementation of complex validation logic across multiple modules. Which refactoring provides the BEST long-term maintainability?

Master Latest Practice Exam (Updated

Edition)

A. Duplicate the code for consistency B. Extract validation into reusable components C. Increase compiler optimization D. Replace comments with documentation Answer: B Explanation: Extracting reusable components reduces duplication, improves maintainability, simplifies testing, and supports future enhancements. Question 29 A testing team needs to determine whether newly added functionality has unintentionally affected existing capabilities. Which testing strategy should receive the HIGHEST priority? A. Smoke Testing B. Exploratory Testing C. Regression Testing D. Stress Testing Answer: C Explanation: Regression testing verifies that previously functioning features remain unaffected after software modifications. Question 30 A development team restructures legacy source code without changing externally observable behavior. This maintenance activity is BEST classified as: A. Corrective B. Adaptive C. Perfective D. Preventive Answer: D Explanation: Preventive maintenance improves maintainability and reduces future defects without altering functional behavior. Question 31

Master Latest Practice Exam (Updated

Edition)

Question 34 Which modeling notation is specifically designed for describing concurrent state transitions? A. Entity-Relationship Diagram B. UML State Machine Diagram C. Data Flow Diagram D. Package Diagram Answer: B Explanation: State machine diagrams effectively model dynamic behavior, state transitions, and event-driven systems. Question 35 A software organization introduces peer inspections before implementation. The PRIMARY objective is to: A. Improve runtime performance B. Detect defects early C. Reduce deployment frequency D. Eliminate unit testing Answer: B Explanation: Peer inspections identify defects before execution, making them one of the most cost-effective quality techniques. Question 36 During outsourcing negotiations, a software engineer intentionally exaggerates estimated maintenance costs to secure a larger contract. This action violates: A. Software portability B. Professional integrity C. Cyclomatic complexity D. Configuration management Answer: B

Master Latest Practice Exam (Updated

Edition)

Explanation: Professional ethics require honesty, fairness, and transparency in technical and commercial decisions. Question 37 Which requirements attribute MOST directly supports measurable acceptance criteria? A. Completeness B. Verifiability C. Modularity D. Priority Answer: B Explanation: Verifiable requirements can be objectively tested to determine whether they have been satisfied. Question 38 A distributed system minimizes dependencies by exposing only stable service interfaces. This primarily demonstrates: A. High coupling B. Information hiding C. Algorithm duplication D. Shared persistence Answer: B Explanation: Information hiding reduces interdependencies and isolates implementation changes. Question 39 Which coding practice MOST effectively prevents resource leaks? A. Deep inheritance B. Automatic resource management constructs C. Long methods D. Global variables Answer: B

Master Latest Practice Exam (Updated

Edition)

Explanation: Configuration audits verify that configuration items match approved documentation and baselines. Question 43 Which leadership style is MOST appropriate for a highly experienced, self- organizing Agile team? A. Directive B. Micromanagement C. Servant Leadership D. Autocratic Answer: C Explanation: Servant leadership empowers autonomous teams while removing organizational impediments. Question 44 Continuous Integration primarily reduces: A. Database storage B. Integration risk C. Processor utilization D. Compiler complexity Answer: B Explanation: Frequent integration identifies interface problems early and reduces integration effort. Question 45 Design by Contract specifies: A. Coding standards B. Preconditions, postconditions, and invariants C. UML deployment diagrams D. Configuration baselines Answer: B

Master Latest Practice Exam (Updated

Edition)

Explanation: Design by Contract formally defines obligations and guarantees between software components. Question 46 A software product achieves high reliability when: A. Source code is lengthy B. It performs required functions consistently under specified conditions C. Memory usage is minimized D. Development cost is low Answer: B Explanation: Reliability reflects consistent, failure-free operation within defined operational conditions. Question 47 A software architect discovers that a third-party library violates its open-source license. The MOST appropriate response is: A. Ignore the issue B. Continue distribution C. Escalate the licensing concern before release D. Remove copyright notices Answer: C Explanation: Software professionals must ensure legal compliance and protect organizations from licensing violations. Question 48 Which elicitation technique is MOST effective for discovering undocumented business workflows? A. Source code inspection B. Stakeholder observation C. Compiler analysis D. Static code analysis Answer: B

Master Latest Practice Exam (Updated

Edition)

variability. C. Reject all customer-specific requests. D. Hard-code conditional logic throughout the application. Answer: B Explanation: Feature modeling enables controlled variability without creating multiple codebases. Product-line engineering supports maintainability while satisfying diverse customer requirements through configuration rather than customization. Question 52 A distributed banking application must ensure that service failures are isolated without propagating cascading failures across dependent services. Which design pattern BEST addresses this concern? A. Singleton B. Adapter C. Circuit Breaker D. Builder Answer: C Explanation: The Circuit Breaker pattern prevents repeated calls to failing services, allowing systems to recover gracefully and improving resilience in distributed architectures. Question 53 Developers are implementing asynchronous processing using multiple worker threads. Shared mutable objects occasionally produce inconsistent application states. Which programming practice MOST effectively eliminates this issue? A. Increase processor cores. B. Replace mutable shared state with immutable data structures and message passing. C. Add additional logging statements. D. Use recursive algorithms. Answer: B Explanation: Immutable data and message-passing architectures significantly reduce synchronization complexity and eliminate many concurrency defects.

Master Latest Practice Exam (Updated

Edition)

Question 54 A quality assurance team wants to verify that every Boolean condition within compound decisions independently affects the overall decision outcome. Which structural testing criterion should be selected? A. Statement Coverage B. Decision Coverage C. Modified Condition/Decision Coverage (MC/DC) D. Path Coverage Answer: C Explanation: MC/DC demonstrates that each condition independently influences decision outcomes and is widely required in safety-critical software domains. Question 55 A cloud application experiences increasing technical debt because multiple emergency patches bypass architectural guidelines. Which maintenance strategy MOST effectively reduces future maintenance costs? A. Continue emergency fixes. B. Schedule systematic refactoring supported by architectural reviews. C. Freeze all development. D. Increase production monitoring only. Answer: B Explanation: Refactoring reduces technical debt while preserving functionality, improving long-term maintainability and reducing future corrective maintenance costs. Question 56 Multiple development teams maintain parallel releases for customers using different software versions. Which SCM strategy BEST supports this environment? A. Single development branch B. Long-lived maintenance branches with controlled merging C. No version control D. Daily repository recreation