All Practice Exams

Free Practice Questions for Junior Web Developer

Exam-style questions and explanations by OpenExamPrep.

✓ No registration✓ No credit card
100+ Questions
100% Free

Loading practice questions...

Same family resources

Explore More Indonesia BNSP ICT Occupational Competency Certifications (Sertifikasi Kompetensi BNSP Bidang TIK)

Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.

Sample Junior Web Developer Practice Questions

Try these sample questions to review concepts for the Junior Web Developer exam. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1Which command initialises a new local Git repository in the current project directory?
A.git clone
B.git init
C.git checkout -b
D.git pull origin main
Explanation: The command 'git init' creates a hidden '.git' subdirectory containing all repository metadata, tracking branches, and object databases necessary to initialize version control in a local project directory.
2What is the primary function of the '.gitignore' file in a web development project repository?
A.To automatically compile Sass and TypeScript files into minified assets
B.To specify intentionally untracked files (such as node_modules/, vendor/, and .env) that Git should ignore
C.To store database user passwords in plain text for backup purposes
D.To redirect HTTP traffic to HTTPS on the production web server
Explanation: A '.gitignore' file lists file patterns and directories that Git intentionally ignores, preventing dependency folders (e.g. node_modules), build artifacts, and secret configuration files (.env) from being committed to source control.
3Which Git command records staged snapshot changes into the repository history along with a descriptive log message?
A.git add .
B.git commit -m "descriptive message"
C.git status
D.git push origin
Explanation: The command 'git commit -m' records staged changes into the permanent project history, binding a unique SHA-1 hash and commit message to the snapshot.
4What is Composer in a PHP web application development environment?
A.A graphical visual layout editor for drawing wireframes
B.An application-level dependency management tool for installing and updating PHP libraries and managing class autoloading via composer.json
C.A database server engine that replaces MySQL
D.A hardware network load balancer
Explanation: Composer is the standard dependency manager for PHP. It resolves required library dependencies declared in 'composer.json', installs them into the 'vendor/' directory, and generates a PSR-compliant autoload file.
5In a modern Node.js web development workflow, which file records exact dependency version locks to guarantee reproducible builds across developer machines?
A.package.json
B.package-lock.json
C.README.md
D.index.html
Explanation: While 'package.json' specifies semver ranges (e.g. ^1.2.0), 'package-lock.json' stores the exact resolved version, integrity hash, and dependency tree, ensuring that every 'npm install' reproduces the identical environment.
6Which configuration file in Apache HTTP Server is used for per-directory configuration overrides, URL rewriting, and access control?
A.nginx.conf
B..htaccess
C.php.ini
D.web.config
Explanation: Apache uses '.htaccess' files placed in web directories to enable decentralized management of configuration directives, such as mod_rewrite URL routing, custom error pages, and MIME types.
7In PHP's main runtime configuration file ('php.ini'), which directive specifies the maximum file size that can be uploaded via HTTP POST multipart form submissions?
A.max_execution_time
B.upload_max_filesize
C.memory_limit
D.post_max_size must be equal to or greater than upload_max_filesize
Explanation: 'upload_max_filesize' sets the maximum allowable size of a single uploaded file. (Note that 'post_max_size' must also be configured to be larger than or equal to 'upload_max_filesize' to accommodate form data headers).
8What is the standard listening port for unencrypted HTTP traffic and encrypted HTTPS traffic respectively?
A.Port 21 and Port 22
B.Port 80 and Port 443
C.Port 3306 and Port 5432
D.Port 25 and Port 110
Explanation: IANA assigns TCP port 80 for unencrypted Hypertext Transfer Protocol (HTTP) and TCP port 443 for Hypertext Transfer Protocol Secure (HTTPS over TLS/SSL).
9Which architecture distinguishes the Nginx web server from traditional Apache mpm_prefork worker models, allowing Nginx to handle tens of thousands of concurrent connections efficiently?
A.Spawning one dedicated operating system thread per client connection
B.An asynchronous, non-blocking, event-driven single-threaded worker process loop (epoll / kqueue)
C.Storing all incoming HTML pages inside the CPU L1 cache
D.Executing client JavaScript directly on the motherboard BIOS
Explanation: Nginx uses an asynchronous, non-blocking, event-driven architecture. A small number of worker processes handle thousands of connections concurrently via operating system event mechanisms (such as epoll on Linux), consuming minimal RAM compared to per-thread models.
10What is the purpose of setting up a Virtual Host (vhost in Apache) or Server Block (in Nginx)?
A.To run a Minecraft gaming server on an enterprise switch
B.To host multiple distinct domain names (e.g. site1.com and site2.com) on a single physical server and IP address
C.To encrypt MySQL tables using symmetric hardware tokens
D.To automatically convert PHP scripts into C++ binaries
Explanation: Virtual hosts (or server blocks) use the HTTP 'Host' request header to distinguish incoming traffic, allowing a single web server instance with one IP address to serve completely separate websites with different root directories.

About the Junior Web Developer Exam

Pengembang Web Pratama (Junior Web Developer) is an Indonesian national occupational competency certification issued by BNSP through licensed LSPs. The scheme packages six competency units from SKKNI Kepmenaker No. 282 Tahun 2016 (Bidang Software Development Subbidang Pemrograman): implementing the user interface, applying language execution commands over text, graphics and multimedia, organising functions and files tidily, writing code to guidelines and best practices, implementing structured programming, and using pre-existing libraries or components. Certificates are valid for three years.

Exam sponsor: BNSP-licensed LSPs, including LSP Media Informatika (BNSP-LSP-2121-ID) and LSP Teknologi Digital (BNSP-LSP-1565-ID). The requirements and fees below concern the certification or admission exam, separate from our free practice resources.

Assessment

The candidate submits FR.APL.01 (application) and FR.APL.02 (self-assessment) with portfolio artefacts, an assessor verifies the evidence, and the assessment session at a licensed Tempat Uji Kompetensi (TUK) then applies written, interview and practical-observation methods against each unit's performance criteria. Several LSPs also run the session remotely as Sertifikasi Jarak Jauh.

Time Limit

No fixed assessment duration is published; a scheduled session at a licensed TUK commonly occupies most of one day.

Passing Score

Kompeten (competent) or Belum Kompeten (not yet competent). Assessors judge the candidate against the performance criteria of each of the six competency units across knowledge, skill and work attitude; BNSP publishes no percentage pass mark.

Exam / Certification Fees

Set by each licensed LSP rather than by a national tariff. LSP Media Informatika publishes Rp 900.000 for Pengembang Web Pratama and LSP Teknologi Digital publishes Rp 1.250.000. Komdigi Digital Talent Scholarship intakes are free to qualifying participants.

Exam sponsor website

Reported exam pass rate: Not published. Exam sponsor website

Fees, eligibility, and exam policies can change. Confirm them with the exam sponsor before applying or paying.

Our practice resources: topics covered

We aim to reflect publicly available exam outlines and topic information in our study resources. Coverage, format, and difficulty may differ from the actual exam, and we cannot guarantee that every detail is accurate or current. Confirm exam requirements, fees, and policies with the official exam sponsor.

21 of 100 questions

User Interface Implementation — unit J.620100.005.02 (Mengimplementasikan User Interface)

Building the program's interface design: semantic HTML5 structure and forms, the CSS box model, Flexbox and Grid layout, responsive breakpoints and the viewport meta tag, positioning and stacking, accessibility requirements such as alt text and label association, and SVG versus raster assets.

25 of 100 questions

Structured Programming and Language Execution — units J.620100.017.02 and J.620100.010.01

Implementing structured programming and running language execution commands over text, graphics and multimedia: variable declaration and scope, operators and type coercion, control flow, array and object handling, DOM manipulation and events, asynchronous execution with promises and async/await, and JSON serialisation.

15 of 100 questions

Server-Side Execution and Data Access

Supporting knowledge for running server-delivered code in the web environment: PHP superglobals and sessions, PDO with bound parameters, SQL retrieval, REST methods and status codes, and password storage. These topics are widely taught alongside the scheme and appear in the adjacent Junior Web Programmer package.

13 of 100 questions

Development Environment and Web Servers

Supporting knowledge about the environment the code runs in: local stacks, Apache and Nginx configuration, PHP runtime directives, HTTP and HTTPS ports, virtual hosts, editor configuration and version control basics.

7 of 100 questions

Library and Pre-existing Component Reuse — unit J.620100.019.02 (Menggunakan Library atau Komponen Pre-existing)

Selecting and using existing libraries and components rather than rewriting them: dependency managers such as Composer and npm, lockfiles and reproducible installs, CSS frameworks including Bootstrap and Tailwind, resets such as Normalize.css, and the licence, maintenance, security and bundle-size checks that precede adopting a dependency.

9 of 100 questions

Debugging, Documentation and Web Security

Supporting knowledge for diagnosing and hardening web code: browser DevTools, PHP error-display hardening, structured exception handling, PHPDoc blocks, cross-site scripting and its output escaping, and cookie flags.

5 of 100 questions

Organising Functions, Files and Programming Resources — unit J.620100.015.01

Arranging source and resources tidily: project directory structure, separating presentation into external stylesheets, splitting large scripts into ES modules, extracting shared markup into PHP includes, and portable lowercase file-naming conventions.

5 of 100 questions

Writing Code to Guidelines and Best Practices — unit J.620100.016.01

Applying coding guidelines so code stays maintainable: descriptive camelCase naming, comments that record why rather than restate what, automated formatting with a shared configuration, guard clauses in place of deep nesting, and static analysis with a linter.

Preparing for the Junior Web Developer Exam

What You Need to Know

  • Passing score: Kompeten (competent) or Belum Kompeten (not yet competent). Assessors judge the candidate against the performance criteria of each of the six competency units across knowledge, skill and work attitude; BNSP publishes no percentage pass mark.
  • Assessment: The candidate submits FR.APL.01 (application) and FR.APL.02 (self-assessment) with portfolio artefacts, an assessor verifies the evidence, and the assessment session at a licensed Tempat Uji Kompetensi (TUK) then applies written, interview and practical-observation methods against each unit's performance criteria. Several LSPs also run the session remotely as Sertifikasi Jarak Jauh.
  • Time limit: No fixed assessment duration is published; a scheduled session at a licensed TUK commonly occupies most of one day.
  • Exam / certification fees: Set by each licensed LSP rather than by a national tariff. LSP Media Informatika publishes Rp 900.000 for Pengembang Web Pratama and LSP Teknologi Digital publishes Rp 1.250.000. Komdigi Digital Talent Scholarship intakes are free to qualifying participants. Official sources

Using Our Practice Resources

  • Work through all 100 available questions
  • Review every answer and explanation
  • Track weak areas and revisit them
  • Use our AI tutor for tough concepts

Frequently Asked Questions

What standard governs the BNSP Junior Web Developer certification?

The scheme packages six competency units from SKKNI (Standar Kompetensi Kerja Nasional Indonesia) Keputusan Menteri Ketenagakerjaan No. 282 Tahun 2016 for Software Development, Subbidang Pemrograman, arranged according to the Peta Okupasi Nasional Bidang TIK. Licensed LSPs such as LSP Media Informatika and LSP Teknologi Digital run the assessment.

Which competency units are assessed?

Six: J.620100.005.02 Mengimplementasikan User Interface, J.620100.010.01 Menerapkan Perintah Eksekusi Bahasa Pemrograman Berbasis Teks, Grafik, dan Multimedia, J.620100.015.01 Menyusun Fungsi, File atau Sumber Daya Pemrograman yang Lain dalam Organisasi yang Rapi, J.620100.016.01 Menulis Kode dengan Prinsip sesuai Guidelines dan Best Practices, J.620100.017.02 Mengimplementasikan Pemrograman Terstruktur, and J.620100.019.02 Menggunakan Library atau Komponen Pre-existing.

How is the competency assessment conducted?

A BNSP-certified assessor combines a written knowledge test (uji tulis), a technical interview (wawancara) and practical observation (observasi/praktik) in which the candidate demonstrates and explains working code. Several LSPs offer the session remotely as Sertifikasi Jarak Jauh with screen sharing and a digital portfolio.

What does the assessment cost and how long is the certificate valid?

Fees are set per LSP, not nationally: LSP Media Informatika publishes Rp 900.000 and LSP Teknologi Digital publishes Rp 1.250.000. Komdigi Digital Talent Scholarship intakes are free to qualifying participants. BNSP competency certificates are valid for three years, after which the holder recertifies.

How does Junior Web Developer differ from Junior Web Programmer?

They are separate BNSP schemes drawn from the same SKKNI. Pengembang Web Pratama (Junior Web Developer) packages six units centred on the user interface, structured programming, code organisation, guidelines and library reuse. Junior Web Programmer is an eight-unit package that adds data structures, programming-tool installation, code documentation and debugging.

Are these practice questions an official BNSP examination?

No. This is independent practice by OpenExamPrep for the topics the Pengembang Web Pratama scheme covers. The official assessment is conducted in Bahasa Indonesia and includes a mandatory practical demonstration of working code, which multiple-choice questions cannot reproduce.