VMware vRealize Automation 8.x (2022) — Question 33
Which following statements are true about Spring Data? (Choose two.)
Answer options
- A. Spring Data implementations exist for many data storage types, such as MongoDB, Neo4j, and Redis.
- B. Spring Data works by applying the JPA annotations to data stores such as MongoDB, Neo4j, and Redis.
- C. Spring Data can greatly reduce the amount of “boilerplate” code typically needed for data access.
- D. Spring Data is specifically designed for JPA, JDBC, and relational database access only.
- E. Spring Data cannot be used together with Spring MVC.
Correct answer: A, C
Explanation
The correct answers are A and C because Spring Data indeed supports multiple data storage types like MongoDB, Neo4j, and Redis, and it helps in reducing boilerplate code for data access. Option B is incorrect as Spring Data does not apply JPA annotations to non-relational data stores. Option D is wrong because Spring Data is not limited to just JPA and relational databases; it supports various data storage types. Option E is false since Spring Data can work with Spring MVC.