Topic A01 Fundamentals of Secure Coding

Topic A01 Fundamentals of Secure Coding

University

15 Qs

quiz-placeholder

Similar activities

Hari 3 - Kuis Coding & Perkenalan AI - Anggi Agustin

Hari 3 - Kuis Coding & Perkenalan AI - Anggi Agustin

University

10 Qs

NETSEC MIDTERM EXAM PART 1

NETSEC MIDTERM EXAM PART 1

University

15 Qs

Netschool 13 CMS

Netschool 13 CMS

University

10 Qs

Post Test

Post Test

University

10 Qs

Software Testing

Software Testing

University - Professional Development

11 Qs

CySa+ PT5: 2 of 3

CySa+ PT5: 2 of 3

9th Grade - Professional Development

20 Qs

Hari 3 - Kuis Coding & Perkenalan Al

Hari 3 - Kuis Coding & Perkenalan Al

University

10 Qs

SYSTEM ADMINISTRATION FINAL EXAM PART 3

SYSTEM ADMINISTRATION FINAL EXAM PART 3

University

15 Qs

Topic A01 Fundamentals of Secure Coding

Topic A01 Fundamentals of Secure Coding

Assessment

Quiz

Instructional Technology

University

Easy

Created by

Jigme Dema

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

User input is directly inserted into SQL queries. How can this be prevented?

Hide SQL errors from the user only

Require all input to be uppercase

Replace spaces with underscores in input

Use parameterized queries or prepared statements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Messaging app built without threat modeling; some endpoints lack authorization checks. Why is this insecure design?

It's caused by outdated frameworks

Only junior developers worked on it

Security wasn't considered during architecture

The app doesn’t use a dark mode

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Libraries are outdated, one has an RCE vulnerability. What is the best approach?

Ignore until next major project upgrade

Update vulnerable components, test, and deploy

Add more antivirus software to the server

Remove all third-party libraries

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Unlimited login attempts; tokens never expire. Which fix is most secure?

Implement rate limiting, lockout policies, and short-lived tokens

Force all users to log in daily

Use the same password for all accounts

Keep current design for convenience

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Logs are overwritten daily, no alerts for suspicious patterns. What’s the best security improvement?

Save logs in a spreadsheet once a week

Only log successful logins

Store logs long-term, enable real-time alerts, and review regularly

Remove logging entirely to save space

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In security terms, what is a 'threat'?

A known software bug

A coding style violation

A harmless system alert

A potential event that can exploit a vulnerability

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does integrating security into every SDLC phase achieve?

Reduces the need for testing

Ensures no design changes are made

Detects and prevents security issues early

Removes all bugs

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?