TK Study

Software Engineering › Learn step by step › Y12 Secure Software Architecture

Item 212 of 426 · Year 12: Secure Software Architecture, 35 of 57

Application programming interface (API)

Term Key terms bank

Jump to a topic
  1. Exam format, question types and command words (46)
  2. Year 11: Programming Fundamentals (69)
  3. Year 11: The Object-Oriented Paradigm (33)
  4. Year 11: Programming Mechatronics (29)
  5. Year 12: Secure Software Architecture (57)
  6. Year 12: Programming for the Web (59)
  7. Year 12: Software Automation (35)
  8. Year 12: The Software Engineering Project (47)
  9. Diagrams and modelling tools (18)
  10. Python, SQL, pseudocode and CSS patterns (33)

See every item in the sequence

Definition

A set of rules that lets one program request services or data from another, often over HTTP using JSON. A safe API validates input, authenticates callers, limits data returned and uses HTTPS.

Example: Return only the fields the client needs.

Found in: syllabus, school notes.

Short version to memorise (key terms bank)

Rules letting software components request data or services from each other.

Where you'll use it in the test

Syllabus area: Y12 Secure Software Architecture.

Question types it can appear in

Where it has appeared in the paper

Secure Software Architecture (Part A). Part letters follow each paper’s own layout.

Related past questions

How to use it

A model sentence

General advice, built from the definition and example above

“A set of rules that lets one program request services or data from another, often over HTTP using JSON.” Then apply it: Return only the fields the client needs.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

From the linked past questions
  • Identify: Recognise and name. (2025 HSC Q5 (1 mark): API vulnerabilities)

Go deeper

Check yourself

Explain “Application programming interface (API)” in one sentence, give an example, and name a question type that could test it.

Reveal the answer

A set of rules that lets one program request services or data from another, often over HTTP using JSON. A safe API validates input, authenticates callers, limits data returned and uses HTTPS.

Example: Return only the fields the client needs.

Could be tested as: Multiple choice, Short answer, Extended response.

Quick multiple choice

Which is the BEST way to reduce the risk of an API exposing more data than intended?

  1. Return only the fields the client needs and require authentication and authorisation on each endpoint
  2. Return the entire database record for every request
  3. Disable error logging
  4. Allow unlimited anonymous requests
Show the answer

A

Excessive data exposure and weak access control are common API vulnerabilities (cf. 2025 HSC Q5). Also use rate limiting and validate input.

Source: original (written for this study pack; not a NESA question). Open it in the multiple-choice bank.