stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
SPA Day One Quiz Flashcards | StudBud
Explore
/
SPA Day One Quiz
SPA Day One Quiz
15 terms
·
StudBud Administration
·
18 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
12. What does the mount function do in Single-SPA?
Makes the app ready for display
Removes the app
Initializes the app
Unloads the app
2
10. What is a primary benefit of using micro front-ends?
Improves SEO
Reduces load time
Decreases bandwidth usage
Independent deployment
3
4. Which library does Single-SPA use to manage multiple frameworks on the same page?
SystemJS
React Router
Redux
Vue Router
4
13. What is the role of SystemJS in Single-SPA?
Load micro front-ends dynamically
Handle routing
Serve static files
Manage state
5
3. What is a micro front-end?
A design pattern for breaking up front-end code
A tiny web application
A small front-end component
A backend service
6
11. Which technology is commonly used to bundle JavaScript files in SPAs?
Grunt
Gulp
Parcel
Webpack
7
6. Which method is used to register an application in Single-SPA?
addApplication
registerApp
registerApplication
addApp
8
5. What lifecycle methods are important in Single-SPA?
Bootstrap, Mount, Unmount
Initialize, Run, Stop
Load, Render, Destroy
Start, Pause, Resume
9
1. What does SPA stand for in web development?
Static Page Application
Simple Page Application
Secure Page Application
Single-Page Application
10
14. How do SPAs handle routing?
Server-side routing
Static routing
No routing is used
Client-side routing
11
7. In a micro front-end architecture, how are different apps combined?
Using a build tool
Directly importing components
Using an orchestration framework like Single-SPA
Using iframes
12
2. Which of the following is a key benefit of SPAs?
Improved SEO
Faster transitions between pages
Easier to maintain
Requires more server resources
13
15. Why are SPAs considered faster than traditional multi-page applications?
Fewer HTTP requests
Faster server responses
Minimal page refreshes
Pre-loaded pages
14
9. What is the purpose of the activeWhen property in Single-SPA?
To manage state between apps
To load components
To initialize the application
To define when an app is active based on route
15
8. What is a disadvantage of using SPAs?
Increased server load
Slow initial load time
All of the above
Difficulty in SEO