Home / Study library / Application Development - 2 / End Term · May 2025 Application Development - 2 · End Term · May 2025 · FN
Application Development - 2 · End Term · May 2025 FN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 32 published solutions
Q120 Q121 Q122 Q123 Q124 Q125 Q126 Q127 Q128 Q129 Q130 Q131 Q132 Q133 Q134 Q135 Q136 Q137 Q138 Q139 Q140 Q141 Q142 Q143 Q144 Q145 Q146 Q147 Q148 Q149 Q150 Q151
Question 120 MCQ · 2.0 marks In a message queue system, if the consumer is slower than the producer, what is likely to occur
first?
6406534706227. Messages will be dropped
6406534706228. The producer will block until the consumer is ready
6406534706229. Messages will accumulate in the queue
6406534706230. The consumer will speed up automatically
A published solution is not available for this question yet.
Report a correction for Q120
Question 121 MCQ · 2.0 marks 6406534706231. The component will reload when data changes
6406534706232. The DOM updates automatically when the underlying reactive data changes
6406534706233. All function calls become asynchronous
6406534706234. It disables direct access to state
A published solution is not available for this question yet.
Report a correction for Q121
Question 122 MCQ · 2.0 marks In Flask, what is the main benefit of using the @cache.cached() decorator?
6406534706235. It stores output in session storage
6406534706236. It skips route execution for repeated inputs
6406534706237. It enables token authentication
6406534706238. It sends compressed response headers
A published solution is not available for this question yet.
Report a correction for Q122
Question 123 MCQ · 2.0 marks What is the primary purpose of CORS (Cross-Origin Resource Sharing)?
6406534706239. To encrypt data between client and server
6406534706240. To control which domains can access resources
6406534706241. To compress HTTP responses
6406534706242. To authenticate users across applications
A published solution is not available for this question yet.
Report a correction for Q123
Question 124 MSQ · 2.0 marks Which of the following practices help protect against supply chain attacks?
6406534706243. Version pinning
6406534706244. Storing keys only in environment variables
6406534706245. Reduce Dependencies
6406534706246. Using only packages with over 1000 stars on GitHub
A published solution is not available for this question yet.
Report a correction for Q124
Question 125 MSQ · 2.0 marks Which of the following factors directly affect the speed and performance of a web page load?
6406534706247. The number of CSS selectors in the stylesheet
6406534706248. Number of HTTP requests made
6406534706249. File size of resources (like images, JS)
6406534706250. Use of semantic HTML tags
A published solution is not available for this question yet.
Report a correction for Q125
Question 126 MSQ · 2.0 marks Which of the following is/are the potential benefits of using a message broker?
6406534706251. A message broker allows two servers in a network to directly communicate
with each other, without an intermediary.
6406534706252. A message broker makes the network scalable for adding more servers to the
network.
6406534706253. A message broker can be used for batch processing of messages.
6406534706254. A message broker is not suited in case of traffic spikes, as messages are
retained in the queue until processed.
A published solution is not available for this question yet.
Report a correction for Q126
Question 127 MSQ · 2.0 marks Which statements about webhooks are correct?
6406534706255. They enable real-time data delivery
6406534706256. They require polling from the client
6406534706257. They use HTTP POST requests typically
6406534706258. They're designed for server-to-server communication
A published solution is not available for this question yet.
Report a correction for Q127
Question 128 MCQ · 3.0 marks A popular e-commerce platform needs to notify multiple third-party services (inventory
management, email marketing, analytics) whenever a customer places an order. The development
team is considering different approaches to handle these notifications.
Scenario: When an order is placed, the system needs to:
● Update inventory levels in an external warehouse system
● Send a welcome email through a third-party email service
● Log analytics data to an external tracking service
● Update customer loyalty points in a CRM system
Which of the following statements about using webhooks for this scenario is MOST accurate?
6406534706259. Webhooks are not suitable for this use case because they require the e-
commerce platform to continuously poll each third-party service to check if they're ready to
receive data, which would create unnecessary network overhead.
6406534706260. Webhooks provide an ideal solution as they allow the e-commerce platform to
push real-time notifications to all subscribed third-party services immediately when an order is
placed, eliminating the need for these services to repeatedly poll for updates.
6406534706261. Webhooks should be avoided in this scenario because they operate
synchronously, meaning the customer's order placement would be delayed until all third-party
services have successfully processed their notifications.
6406534706262. Webhooks are primarily designed for read-only operations and cannot handle
complex data payloads like order information, making them unsuitable for e-commerce
transaction notifications.
A published solution is not available for this question yet.
Report a correction for Q128
Question 129 MCQ · 3.0 marks What is the main advantage of using caching in a Flask-based web application?
6406534706263. It eliminates the need for client-side rendering
6406534706264. It encrypts data transmission between server and client
6406534706265. It avoids the need for database interactions completely
6406534706266. It reduces server load by reusing responses for repeated requests
A published solution is not available for this question yet.
Report a correction for Q129
Question 130 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q130
Question 131 MCQ · 3.0 marks 6406534706283. 6406534706284. 6406534706285. 6406534706286. A published solution is not available for this question yet.
Report a correction for Q131
Question 132 MCQ · 3.0 marks 6406534706287. 6406534706288. 6406534706289. 6406534706290. A published solution is not available for this question yet.
Report a correction for Q132
Question 133 MCQ · 3.0 marks 6406534706291. object, undefined, true, false
6406534706292. null, undefined, false, false
6406534706293. object, undefined, false, false
6406534706294. null, undefined, true, true
A published solution is not available for this question yet.
Report a correction for Q133
Question 134 MCQ · 3.0 marks 6406534706295. Admin component
6406534706296. Unauthorized component
6406534706297. Blank screen
6406534706298. Vue throws a routing error
A published solution is not available for this question yet.
Report a correction for Q134
Question 135 MCQ · 3.0 marks 6406534706299. 6406534706300. 6406534706301. 6406534706302. A published solution is not available for this question yet.
Report a correction for Q135
Question 136 MCQ · 3.0 marks Given the following parent-child component setup
Parent Component: App.vue
<template>
di
2>Selected Tasks</h2
task task ddToSelectio
Total Selected: {{ selectedTa: -length }}</f
or="task in " skey=" id">{{ task.name }}</li
import TaskList f
components TaskList },
data() {
return {
ta
1
id: 2, name: ‘Write
» name: ‘Design UL" },
id: 3, name: ‘Writ
1,
selectedTasks: []
};
selectedTa
push(t,
Child Component: TaskList.vue
Based on the above data, answer the given subquestions.
After step 2 (selecting two tasks), what is the value of selectedTasks.length?
A published solution is not available for this question yet.
Report a correction for Q136
Question 137 MCQ · 3.0 marks Given the following parent-child component setup
Parent Component: App.vue
<template>
di
2>Selected Tasks</h2
task task ddToSelectio
Total Selected: {{ selectedTa: -length }}</f
or="task in " skey=" id">{{ task.name }}</li
import TaskList f
components TaskList },
data() {
return {
ta
1
id: 2, name: ‘Write
» name: ‘Design UL" },
id: 3, name: ‘Writ
1,
selectedTasks: []
};
selectedTa
push(t,
Child Component: TaskList.vue
Based on the above data, answer the given subquestions.
What happens when the user clicks "Select" on **Design UI** again (step 3)?
6406534706275. It is added again, making the total 3
6406534706276. It replaces the previous task
6406534706277. Nothing changes, no duplicate is added
6406534706278. Vue throws a warning about duplicate keys
A published solution is not available for this question yet.
Report a correction for Q137
Question 138 MSQ · 3.0 marks Given the following parent-child component setup
Parent Component: App.vue
<template>
di
2>Selected Tasks</h2
task task ddToSelectio
Total Selected: {{ selectedTa: -length }}</f
or="task in " skey=" id">{{ task.name }}</li
import TaskList f
components TaskList },
data() {
return {
ta
1
id: 2, name: ‘Write
» name: ‘Design UL" },
id: 3, name: ‘Writ
1,
selectedTasks: []
};
selectedTa
push(t,
Child Component: TaskList.vue
Based on the above data, answer the given subquestions.
Which of the following statements about this component setup are true?
6406534706279. 6406534706280. 6406534706281. 6406534706282. A published solution is not available for this question yet.
Report a correction for Q138
Question 139 MSQ · 3.0 marks Which factors directly impact the Lighthouse "Performance" score?
6406534706303. First Contentful Paint (FCP)
6406534706304. HTTPS usage
6406534706305. Time to Interactive (TTI)
6406534706306. Layout Shift
A published solution is not available for this question yet.
Report a correction for Q139
Question 140 MSQ · 3.0 marks Which statements are true about handling background tasks in Flask with Celery?
6406534706307. Celery allows long-running tasks to be executed asynchronously
6406534706308. Polling is a strategy to check task status periodically
6406534706309. Using time.sleep() blocks the event loop and is recommended for async tasks
6406534706310. Flask + Celery + Redis is a common stack for async task management
A published solution is not available for this question yet.
Report a correction for Q140
Question 141 MSQ · 3.0 marks Which of the following are true about mutations and actions in Vuex?
6406534706311. Mutations can be asynchronous
6406534706312. Actions can be asynchronous
6406534706313. Only actions can call APIs through fetch call
6406534706314. Mutations should modify state directly
A published solution is not available for this question yet.
Report a correction for Q141
Question 142 MSQ · 3.0 marks 6406534706315. The class "active" will only be applied to the div element if the variable
"isActive" evaluates to true.
6406534706316. The class "text-bold" will always be applied to the div element regardless of
the "hasBoldText" variable value.
6406534706317. The class "disabled" will be applied to the div element when the variable
"isEnabled" evaluates to false.
6406534706318. All three classes ("active", "text-bold", "disabled") will always be applied to the
div element.
6406534706319. The class "text-bold" will only be applied if the variable "hasBoldText" exists
and evaluates to a truthy value.
6406534706320. If "isEnabled" is undefined, the "disabled" class will not be applied to the div
element.
A published solution is not available for this question yet.
Report a correction for Q142
Question 143 MCQ · 4.5 marks 6406534706321. 6406534706322. 6406534706323. 6406534706324. A published solution is not available for this question yet.
Report a correction for Q143
Question 144 MCQ · 4.5 marks 6406534706325. 6406534706326. 6406534706327. 6406534706328. A published solution is not available for this question yet.
Report a correction for Q144
Question 145 MCQ · 4.5 marks 6406534706329. 6406534706330. 6406534706331. 6406534706332. A published solution is not available for this question yet.
Report a correction for Q145
Question 146 MCQ · 4.5 marks
If requests for user IDs 1, 2, 1 are made within 5 minutes, what's the total response time?
A published solution is not available for this question yet.
Report a correction for Q146
Question 147 MCQ · 4.5 marks 6406534706337. 6406534706338. 6406534706339. 6406534706340. A published solution is not available for this question yet.
Report a correction for Q147
Question 148 MCQ · 4.5 marks 6406534706341. Result: null
6406534706342. Error: HTTP 404, Result: null
6406534706343. Error: HTTP 404
6406534706344. Unhandled promise rejection
A published solution is not available for this question yet.
Report a correction for Q148
Question 149 MCQ · 4.5 marks Consider the following JavaScript program that demonstrates web storage operations:
6406534706345. 6406534706346. 6406534706347. 6406534706348. A published solution is not available for this question yet.
Report a correction for Q149
Question 150 MCQ · 3.0 marks Answer the given subquestions.
6406534706349. The password will be stored as plain text "mypassword123" in the database
because WTF_CSRF_ENABLED = False
6406534706350. The password will be hashed using bcrypt with the salt "this-is-a-salt-key"
before being stored in the database
6406534706351. The password will be hashed using SHA-256 algorithm since no specific
hashing method is configured
6406534706352. The password will be encrypted using the SECRET_KEY and stored in the
session only
A published solution is not available for this question yet.
Report a correction for Q150
Question 151 MCQ · 4.5 marks Answer the given subquestions.
6406534706353. 200, 200, 200
6406534706354. 200, 401, 403
6406534706355. 200, 401, 401
6406534706356. 401, 401, 403
**MLT**
**Section Id :** 64065399148
**Section Number :** 7
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 15
**Number of Questions to be attempted :** 15
**Section Marks :** 50
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
A published solution is not available for this question yet.
Report a correction for Q151