Security Coding Quiz

Security Coding Quiz

Professional Development

14 Qs

quiz-placeholder

Similar activities

Mastering AI Safari For Everyday Use

Mastering AI Safari For Everyday Use

Professional Development

15 Qs

FOS Quiz 1

FOS Quiz 1

Professional Development

15 Qs

Lesson01 Quiz

Lesson01 Quiz

Professional Development

11 Qs

ATWIT meetup fun quiz

ATWIT meetup fun quiz

Professional Development

14 Qs

Microsoft IT Pro Community Meetup - November

Microsoft IT Pro Community Meetup - November

Professional Development

10 Qs

Quiz on Enhance Productivity with Gen Ai for Business

Quiz on Enhance Productivity with Gen Ai for Business

Professional Development

10 Qs

Scorevision Cloud Basics Quiz

Scorevision Cloud Basics Quiz

Professional Development

16 Qs

Insecure Deserialization Quiz

Insecure Deserialization Quiz

Professional Development

15 Qs

Security Coding Quiz

Security Coding Quiz

Assessment

Quiz

Information Technology (IT)

Professional Development

Easy

Created by

Dominika Sułot

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

it’s safe to store a database password in a private GitHub repo.

True

False

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which practice helps prevent SQL injection vulnerabilities?

Using eval() on inputs

Strict input validation and parameterized queries

Giving the DB user full admin rights

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of Azure Key Vault?

Store large BLOBs

Perform automated database backups

Manage and audit encryption keys/secrets safely

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the main risk of using eval() on user input in Python?

It’s slow

It can execute arbitrary code from the user

It can’t handle strings

It doesn't support variables

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Why shouldn’t you log user passwords or API keys?

There is no problem with that

Because people with log access can see them breaking least privilege rule

Because logs are often accessible and can leak secrets

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is the best practice for storing a production API key?

In a .env file committed to the repo

As a plaintext string in your source code

In Azure Key Vault with restricted access

Inside a shared Excel file on SharePoint

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does “principle of least privilege” help prevent?

Data duplication

Time zone issues

Code duplication

Lateral movement in case of a breach

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?