Back to the topic

The mark scheme starts on a new page, so you can print pages one and two for a student and keep the last page yourself. Everything prints in black on white whichever theme you are using.

Data Analytics · F200 TA3

F200 TA3: Accessing Data Across Platforms

Section A: 10 multiple choice questions, 10 marks. Section B: 4 written questions, 20 marks. Total 30 marks.

Name

Class

Date

Mark  / 30

Section A

Circle the letter of the correct answer. One mark each.

  1. 1An API returns status 403. What does that mean?1
    1. AYou have made too many requests
    2. BYou are authenticated but not allowed to do this
    3. CThe endpoint does not exist
    4. DYour key is missing or invalid
  2. 2Which HTTP method is used to read data from an API?1
    1. APOST
    2. BGET
    3. CDELETE
    4. DPATCH
  3. 3What does a 429 response mean you should do?1
    1. ABack off and retry later
    2. BSwitch to a different endpoint
    3. CReport a server fault
    4. DChange your API key
  4. 4Two systems exchange a file that imports cleanly, but the totals are wrong because each defines 'active customer' differently. What kind of interoperability has failed?1
    1. ASyntactic
    2. BPhysical
    3. CSemantic
    4. DTechnical
  5. 5What is the principle of least privilege?1
    1. AEveryone has read access by default
    2. BAdministrators have no access to data
    3. CEach user gets only the access their role requires
    4. DAccess is granted only in emergencies
  6. 6Which is true of pseudonymised data?1
    1. AIt has been encrypted at rest
    2. BIt is anonymous and outside data protection law
    3. CIt cannot be analysed
    4. DIt is still personal data, because it can be reversed with the key
  7. 7How should passwords be stored?1
    1. AHashed and salted
    2. BEncrypted with a reversible key
    3. CIn plain text with restricted access
    4. DIn a separate spreadsheet
  8. 8What does the 3-2-1 backup rule say?1
    1. AThree tests, two restores, one archive
    2. BThree backups a day, two weekly, one monthly
    3. CThree copies, two media, one off site
    4. DThree administrators, two sites, one key
  9. 9Which is the most common cause of cloud data exposure?1
    1. ANetwork interception
    2. BPhysical theft of servers
    3. CWeak provider encryption
    4. DMisconfigured access permissions
  10. 10Why would an organisation use an API rather than a nightly CSV export?1
    1. AThe data is live and only the records requested are transferred
    2. BAPIs need no authentication
    3. CAPIs are always cheaper
    4. DCSV cannot be automated

Section B

Answer in the space provided. The number of marks tells you how many separate points to make.

  1. 1StateState what is meant by an API.2
  2. 2ExplainExplain the difference between authentication and authorisation in a data system.4
  3. 3ExplainA hospital wants to give its research team access to patient records for analysis. Explain three access control measures that should be applied, and why each is necessary.6
  4. 4DiscussA growing company is deciding whether to keep its data warehouse on its own servers or move it to a cloud provider. Discuss the factors it should consider and recommend an approach.8

Mark scheme

Section A

1B2B3A4C5C6D7A8C9D10A

Section B

1 State what is meant by an API. 2

One mark for each of the following, to a maximum of 2.

  • A defined interface between two systems
  • Without either needing to know the other's internal workings, or for data or functionality

Model answer. An API is a defined interface that lets one system request data or functionality from another, without either system needing to know how the other works internally.

2 Explain the difference between authentication and authorisation in a data system. 4

One mark for each of the following, to a maximum of 4.

  • Authentication establishes identity
  • An example of authentication
  • Authorisation determines what is permitted
  • An example, or why the distinction matters

Model answer. Authentication establishes who a user or system is, using something they know, have or are: a password with a second factor, a passkey, a certificate or an API token. Authorisation then determines what that identity is permitted to do, which is usually expressed through roles, so an analyst can read the sales table but not delete it and cannot see the payroll table at all. The distinction matters because the two fail differently: an HTTP 401 means the system does not recognise you, while a 403 means it recognises you perfectly well and the answer is still no, and fixing one would not fix the other.

3 A hospital wants to give its research team access to patient records for analysis. Explain three access control measures that should be applied, and why each is necessary. 6

One mark for each of the following, to a maximum of 6.

  • Least privilege or role-based access control
  • Why it is necessary here
  • Pseudonymisation or masking of identifiers
  • Why it is necessary here
  • Audit logging, or row and column level security
  • Why it is necessary here

Model answer. The team's access should be role based and set to least privilege: a research role granted read-only access to the specific dataset the approved study needs, rather than individual grants on the live clinical system. That matters because health records are special category data under the UK GDPR, the research purpose is narrower than clinical care, and a role can be audited and withdrawn in one change when the study ends. The data should be pseudonymised before it reaches them, with names, addresses and NHS numbers replaced by a study identifier and the linking key held separately by the clinical team, because researchers almost never need to know which individual a record belongs to and removing that need removes most of the risk. Finally every access should be logged and reviewed, with row level security limiting each researcher to their approved cohort, because logging is what makes misuse detectable and investigable rather than merely prohibited, and a hospital has to be able to evidence who looked at a record and why.

4 A growing company is deciding whether to keep its data warehouse on its own servers or move it to a cloud provider. Discuss the factors it should consider and recommend an approach. 8

One mark for each of the following, to a maximum of 8.

  • Cost shape is compared
  • Scalability is compared
  • Maintenance and staffing are addressed
  • Resilience and backup are addressed
  • Security and configuration risk are addressed
  • Legal or data location issues are addressed
  • A clear recommendation is made
  • The recommendation is justified against the drawbacks raised

Model answer. The decision turns on five factors. Cost shape comes first: on premise is a capital purchase that has to be sized for the busiest hour of the year and then sits idle, while cloud is an operating cost that tracks use, which suits a company whose volumes are growing and unpredictable but which becomes expensive if a steady, heavy workload is left running continuously. Scalability follows from that: cloud capacity changes in minutes and can be reduced again, whereas on premise growth means specifying, buying, racking and configuring hardware weeks in advance. Maintenance matters more than it first appears, because a growing company rarely has staff to spare: a managed cloud warehouse removes patching, backup and hardware replacement from a small team, and that reclaimed time is a real saving rather than an accounting one. Resilience favours cloud too, since multi-region redundancy and tested restores are available as configuration rather than as a second data centre. Against all that sit two genuine risks. Security does not improve automatically; the dominant cause of cloud data exposure is misconfiguration, so the company would need enforced encryption, role-based access, least privilege and scheduled access reviews. Legally, it must know and control where data physically sits, put a processor contract with appropriate safeguards in place, and check whether any dataset is subject to restrictions on international transfer. My recommendation is a cloud warehouse with a hybrid exception: move the analytical warehouse to the cloud, where the elasticity and reduced maintenance burden genuinely fit a growing company, and keep any regulated or special category data on premise or in a specifically contracted region. That answers the two drawbacks directly, because the configuration risk is addressed by governance the company needs in any case, and the legal risk is addressed by not moving the data that creates it.