Sonali Bank Officer Exam 2021 — Question Solution | সোনালী ব্যাংক অফিসার নিয়োগ পরীক্ষা ২০২১ — প্রশ্ন সমাধান
- Sonali Bank
- Officer
- 2021
- 14 questions · 0 MCQ, 14 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Sonali Bank Officer exam was held in 2021. The paper had 14 written questions. The subjects asked most were Networking (5), Database (2) and Programming (2). This page lists every question, with 2 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
সোনালী ব্যাংক অফিসার নিয়োগ পরীক্ষার (২০২১) এই প্রশ্নপত্রে ১৪টি প্রশ্ন ছিল, বেশিরভাগ নেটওয়ার্কিং ও ডেটাবেজ থেকে। এখানে ২টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- Sonali Bank
- Post
- Officer
- Exam date
- 2021
- Questions
- 14 (0 MCQ, 14 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
- Networking · নেটওয়ার্কিং 5
- Database · ডেটাবেজ 2
- Programming · প্রোগ্রামিং 2
- Bangla to English Translation · বাংলা থেকে ইংরেজি অনুবাদ 1
- Cyber Security · সাইবার নিরাপত্তা 1
- English to Bangla Translation · ইংরেজি থেকে বাংলা অনুবাদ 1
- English Writing · ইংরেজি লিখন 1
- Web Technology · ওয়েব টেকনোলজি 1
What is Web caching? Why do we use web caching?
Model answer
Web caching is the practice of storing copies of web resources (HTML pages, images, CSS, JavaScript files, API responses) in a location closer to the user, so that a later request for the same resource is served from that stored copy instead of being fetched again from the origin server.
How it works
flowchart TD
R(["User requests a resource"]) --> Q{"Copy in cache and still fresh?"}
Q -->|"Yes: cache hit"| H["Serve the stored copy at once"]
Q -->|"No: cache miss or expired"| O["Request it from the origin server"]
O --> S["Store the new copy in the cache"]
S --> U["Send it to the user"]
Where caches are kept
| Cache | Location | Example |
|---|---|---|
| Browser cache | on the user's own device (private) | logo and CSS reused on every page of a site |
| Proxy cache | at an organisation or ISP, shared by many users | an office proxy that keeps popular pages |
| Reverse-proxy cache | in front of the web server | Varnish or Nginx caching a news site's pages |
| CDN edge cache | servers spread across many cities | a video or image served from the nearest edge |
Controlled by HTTP headers (worked example)
First visit — the server sends the file with caching rules:
HTTP/1.1 200 OK
Content-Type: text/css
Cache-Control: max-age=600
ETag: "v42"
- For the next 600 seconds the browser uses its copy without contacting the server.
- After that it revalidates with
If-None-Match: "v42". If the file has not changed, the server replies304 Not Modifiedwith no body, and the browser reuses its copy — only a few headers cross the network.
Cache-Control: no-store forbids caching (for example on a bank statement), and private allows only the user's browser, not shared caches, to store it.
Why we use web caching
- Faster pages (lower latency): the copy is nearby, so fewer round trips to a distant server.
- Less load on the origin server: repeated requests are answered by caches, so the server can handle traffic spikes (such as on an exam-result day).
- Lower bandwidth use and cost: the same bytes are not sent over long links again and again.
- Better availability: a cache can keep serving stored content for a while if the origin is slow or briefly down.
- Better user experience and SEO: fast pages keep visitors and are favoured by search engines.
Trade-off: a cached copy can become stale, so expiry times and revalidation must suit how often the content changes.
Exam tip: define caching as "store a copy near the user and reuse it", name the cache locations, then list speed, server load, bandwidth and availability as the reasons.
Write a programme in C/C++/Java what finds sum of digits of a number until sum becomes single digit, simple input/output is:
Input: 12345
Output: 6
What is DNS Resolver?
What is a TCP Three-way handshaking step?
Sign up free to see the model answers to written questions 2–4 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is DDoS and SQL Injection attack?
Model answer
DDoS (Distributed Denial-of-Service): an attack in which many compromised machines - a botnet - simultaneously flood a target server or network so that its bandwidth, processing capacity, or connection table is exhausted and legitimate users are denied service. Because the traffic comes from many sources at once, it is hard to block by simply filtering one address. A SYN flood (half-open TCP connections) is one common form.
Pattern: attacker -> command-and-control server -> many bots -> one target.
SQL Injection (SQLi): an attack in which malicious SQL is inserted into an input field so the application's own database query executes attacker-controlled logic - bypassing login, or reading, modifying, or deleting data.
Example - vulnerable login (built by string concatenation):
-- App builds: SELECT * FROM users WHERE username='<input>' AND password='<input>'
-- Attacker enters username: admin' --
SELECT * FROM users WHERE username='admin' --' AND password='anything';
The -- starts an SQL comment, so the password check is ignored and the attacker is logged in as admin without a password. (MySQL treats -- as a comment only when a space follows it, so there the input must end with a space.)
flowchart LR
A["Malicious input injected"] --> Q["App concatenates input into the SQL string"]
Q --> DB[("Database")]
DB --> R["Returns admin row (login bypassed)"]
Mitigation:
| Attack | Key defences |
|---|---|
| DDoS | Rate limiting, CDN / anycast, upstream traffic scrubbing, SYN cookies, auto-scaling |
| SQL injection | Parameterised queries / prepared statements, input validation, least-privilege DB account, WAF |
Exam tip: DDoS is a volumetric flood from many sources that denies service; SQL injection is untrusted input changing a query's logic, cured reliably only by parameterised queries - never by string concatenation plus escaping.
What is VPN? Why do we use it?
What is difference between link state routing and distance vector routing?
Write difference between relational database and NoSQL database.
Write a C program to compute the perimeter and area of a circle with a given radius.
Draw an ER diagram of a railway service system.
TDM math: rate= 1.536 Mbps, message size= 960000, Slot=32, end to end circuit Switch time=800ms, calculate transfer time.
Translation Bangla to English.
Translation English to Bangla.
English focus: Telecommunication in Developing Economic sector.
Sign up free to see the model answers to written questions 6–14 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
12 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ১২টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 9 syllabus chapters; the biggest is Protocols (TCP/UDP/HTTP/DNS), in Networking, with 2 questions. Protocols (TCP/UDP/HTTP/DNS) is asked in 90 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Protocols (TCP/UDP/HTTP/DNS) Networking · 90 other papers, 2012–20262
- Language Basics & Syntax Programming · 122 other papers, 2015–20261
- OSI & TCP/IP Models Networking · 112 other papers, 2012–20261
- ER Model & Design Database · 101 other papers, 2015–20261
- Attacks & Threats Cyber Security · 81 other papers, 2012–20261
- Keys & Relational Model Database · 42 other papers, 2016–20251
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the Sonali Bank Officer exam (2021)?
- 14 written questions.
- Which subjects were asked most in the Sonali Bank Officer exam (2021)?
- Networking (5), Database (2) and Programming (2), out of 14 questions.
- When was the Sonali Bank Officer exam held?
- In 2021. The exact day isn't in our records.
- Where can I find the Sonali Bank Officer exam (2021) question solution?
- On this page: 2 of the 14 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers