Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: Build Lifecycle

Front

Why are integration tests used sparingly?

They are slower and more complex. Frame the concept in practical terms so you can explain it during…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How does Mockito help in unit testing?

It isolates dependencies using mocks. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How would you explain the test phase in Gradle in an interview?

It executes unit tests. Frame the concept in practical terms so you can explain it during interview discussion.…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How does a failing test affect the Maven build lifecycle?

It stops the build process. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why automate testing in Java projects?

It ensures consistency and saves time. Frame the concept in practical terms so you can explain it during…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why does the 'compile' phase in the Maven build lifecycle matter in this design?

It compiles the project's source code. Frame the concept in practical terms so you can explain it during…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why pin the Java toolchain?

To keep laptops and CI on the same Java version. If one developer uses Java 17 and another…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why commit the Gradle or Maven wrapper?

So every machine and CI job uses the same build tool version. A build is only trustworthy when…

View Card →
Flashcard Study

Java: Salting and BCrypt

Front

How does Spring Security's filter chain contribute to application security?

The filter chain processes security-related logic, such as authentication and authorization. Spring Security's filter chain consists of a…

View Card →
Flashcard Study

Java: Salting and BCrypt

Front

How does BCrypt's 'Work Factor' enhance password security?

The 'Work Factor' increases hashing time, making brute-force attacks more difficult. BCrypt's 'Work Factor' is a parameter that…

View Card →