--:--









Quiz for Building the React App

Course: REACT | Subject: React | Topic: Deployment



Logo

Q1: What command is used to create a production build of a React app?

Logo

Q2: Where is the build output stored by default?

Logo

Q3: Which of these files contains the entry point for React in the build?

Logo

Q4: What type of files are generated in the build folder?

Logo

Q5: How can environment variables be injected during the build?

Logo

Q6: Which bundler does Create React App use by default?

Logo

Q7: What does "npm start" do in a React app?

Logo

Q8: Can the build output be deployed to any static file server?

Logo

Q9: Which folder contains the public assets that are copied as-is during build?

Logo

Q10: How can you serve the React production build locally to test?

Logo

Q11: What is the typical size impact of minification in React build?

Logo

Q12: Which file typically contains the build scripts in a React project?

Logo

Q13: What is a common reason to eject a CRA app?

Logo

Q14: How does the build process handle source maps?

Logo

Q15: Which command cleans the build folder before creating a new build?

Logo

Q16: Is React build output server-side rendered?

Logo

Q17: How can you enable gzip compression for React build files?

Logo

Q18: Which environment variable controls the public URL of the app?

Logo

Q19: What happens if you deploy a React build on a server without redirecting to index.html?

Logo

Q20: How do you configure a React app to be served from a subdirectory?

Are you ready to start test? Set your time limit