Skip to content

Commit

Permalink
Add new question for Spring (#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonikolaba authored Jul 30, 2021
1 parent 091f1e2 commit 624f8b6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if you want to meet each other or discuss quiz related problems join the `Discor
| [Search Engine Optimization (SEO)](seo/search-engine-optimization-quiz.md) | | => 29 questions | => 28 answers | |
| [SharePoint](sharepoint/sharepoint-quiz.md) | | => 36 questions | => 29 answers | |
| [SOLIDWORKS](solidworks/solidworks-quiz.md) | | => 3 questions | => 3 answers | |
| [Spring Framework](spring-framework/spring-framework-quiz.md) | | => 43 questions | => 43 answers | |
| [Spring Framework](spring-framework/spring-framework-quiz.md) | | => 46 questions | => 46 answers | |
| [Swift](swift/swift-quiz.md) | | => 70 questions | => 70 answers | |
| [Transact-SQL (T-SQL)](t-sql/t-sql-quiz.md) | | => 28 questions | => 28 answers | |
| [Unity](unity/unity-quiz.md) | | => 38 questions | => 0 answers | |
Expand Down
23 changes: 23 additions & 0 deletions spring-framework/spring-framework-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,3 +381,26 @@ private String val;
- [ ] @PropertySource annotations on configuration classes
- [x] profile-specific application-{profile}.properties files
- [ ] application properties located in an application.properties file inside the application.jar

#### Q44. In the Spring Bean lifecycle pictured, what should the third step of the process be?

![Alt text](https://usaupload.com/cache/plugins/filepreviewer/69009/c5e6eedce33819dd3b16bff7590d244b0fedf52561323c444b4b63e19e61e2e8/1100x800_cropped.jpg 'Spring bean lifecycle')

- [ ] Persist bean definitions into a database
- [x] Instance bean objects
- [ ] De-normalize bean definition
- [ ] Use reflection to inject bean objects into the servlet container

#### Q45. What Spring Boot property is used to set the logging level for the entire application in the application.properties file?

- [ ] logging.settings
- [ ] log.level
- [ ] root.logger.level
- [x] logging.level.root

#### Q46. What is a Spring bean uniquely identified?

- [ ] an autogenerated UUID
- [x] a unique String name
- [ ] an auto-incremented Integer ID
- [ ] an ID derived from its location in memory

0 comments on commit 624f8b6

Please sign in to comment.