Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Lecture notes

ITSW 3173 D286 Java Frameworks - Objective Assessment - WGU 2025

Rating
-
Sold
-
Pages
34
Uploaded on
28-05-2025
Written in
2024/2025

ITSW 3173 D286 Java Frameworks - Objective Assessment - WGU 2025ITSW 3173 D286 Java Frameworks - Objective Assessment - WGU 2025ITSW 3173 D286 Java Frameworks - Objective Assessment - WGU 2025

Content preview

D287 ITSW 3173 Java Frameworks

Objective Assessment Review

(Questions & Solutions)

2025




©2025

, Question 1
A large enterprise is transitioning its monolithic application into a
microservices architecture using Spring Boot. To centralize external
configurations for multiple environments, which Spring Cloud component
is most appropriate?
A. Spring Cloud Config
B. Spring Boot Actuator
C. Spring Cloud Bus
D. Netflix Hystrix
ANS: A
Rationale: Spring Cloud Config provides a centralized configuration
management system that externalizes properties and enables runtime
updates across microservices, a key benefit in distributed systems.

---

Question 2
In a secured Java web application using Spring Security, what is the
primary advantage of applying method-level security annotations (e.g.,
@PreAuthorize) instead of URL-based security only?
A. They allow cross–domain requests by default.
B. They enable fine-grained access control at the business method level.
C. They reduce the overhead of session management.
D. They simplify the configuration of Spring MVC controllers.
ANS: B
Rationale: Using annotations like @PreAuthorize directly at the method
level allows for concise, role-based access control for business logic,
enhancing security granularity.

---

Question 3
When using Hibernate as the ORM layer, what is the primary role of the
©2025

,SessionFactory?
A. It establishes a connection pool for JDBC.
B. It creates Session objects that manage database operations.
C. It provides caching for entity objects automatically.
D. It converts HQL queries into SQL at runtime.
ANS: B
Rationale: The SessionFactory is a thread‑safe, heavyweight object that
creates Sessions. These Session objects act as a gateway for CRUD
operations and manage object states with the database.

---

Question 4
In the Spring Framework, Aspect-Oriented Programming (AOP) is used
primarily to:
A. Simplify the configuration of BeanFactory.
B. Modularize cross-cutting concerns (e.g., logging, security, transaction
management).
C. Automatically generate RESTful endpoints.
D. Enhance session management by intercepting HTTP requests.
ANS: B
Rationale: AOP enables the separation of cross‑cutting concerns from
business logic, thereby reducing code duplication and enhancing
maintainability.

---

Question 5
What is the main benefit of Spring Boot's auto-configuration feature?
A. It completely eliminates manual configuration in every scenario.
B. It automatically instantiates beans based on classpath settings and
defined properties.
C. It forces developers to follow strict coding conventions.
D. It provides a fully reactive programming model out-of-the-box.
ANS: B
©2025

, Rationale: Auto‑configuration in Spring Boot examines the application’s
classpath and properties to automatically set up beans and
infrastructure, significantly reducing boilerplate code while still allowing
customization.

---

Question 6
A development team is building a reactive microservices application
using Spring WebFlux. Which publisher type best represents a stream of
multiple asynchronous items?
A. Mono
B. Flux
C. Single
D. Observable
ANS: B
Rationale: In Spring WebFlux, a Flux represents an asynchronous
sequence of 0 to many items and is central to reactive programming,
while a Mono represents either zero or one item.

---

Question 7
A web application built on Struts2 separates user actions from business
logic using a specific design pattern. Which pattern is primarily used by
Struts2?
A. Observer
B. Front Controller
C. Singleton
D. Template Method
ANS: B
Rationale: Struts2 employs the Front Controller pattern (via its
ActionServlet) to centralize request handling and delegate control to
appropriate action classes, thereby decoupling the UI from the business
logic.
©2025

Document information

Uploaded on
May 28, 2025
Number of pages
34
Written in
2024/2025
Type
Lecture notes
Professor(s)
Unknown
Contains
All classes

Subjects

$18.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EmilioOchieng Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
144
Member since
2 year
Number of followers
17
Documents
4021
Last sold
1 month ago

Hi there! I'm a former nursing student who loves to share my knowledge and experience with others. I have a collection of past study notes and papers for nursing and other programs that I sell at affordable prices. Whether you need help with anatomy, pharmacology, ethics, or anything else, I have something for you. My notes are clear, concise, and fun to read. They will make your learning easier and more enjoyable. Plus, you'll get to see some of my witty comments and jokes along the way. Trust me, you won't regret buying from me!

Read more Read less
4.1

24 reviews

5
13
4
5
3
3
2
1
1
2

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions