Interview Flashcards

1
Q

[Interview]
What’s your STIG score?

A

It’s difficult to say usually just says pass/fail

Ideal score: 0 Cat 1, few Cat 2, few Cat 3

Critical (CAT I) issues must be fixed immediately to maintain security compliance.
Medium (CAT II) and Low (CAT III) issues should be minimized to enhance system security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[Interview]
What tools would you use for monitoring?

A

$ htop = CPU, memory, swap usage, running processes
$ vmstat 1 = detailed info about sys performance including virtual memory, processes, CPU activity & disk I/O (updated every second)
$ free -h = display memory usage (RAM & swap: total, used, free, shared, cached)

$ df -h = disk space usage for mounted filesystems
$ du -sh [file/dir] = disk usage of [file/dir]

$ “netstat / ss” -tuln = active network connections, listening ports, network stats

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

[Interview]
How do you manage disk storage and clean up disk space?

A

$ df -h = show free disk space on all mounted filesystems
$ du -sh [file/dir] = shows disk usage of [file/dir]

$ yum clean all = cleans package manager cache
$ yum clean packages = removes package cache

$ logrotate = Rotate (& compress) old logs (located in /etc/logrotate.conf)

$ rm /tmp/* = Delete temp files

need yum-utils:
$ package-cleanup –leaves = removes orphaned packages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

[Interview]
What is a LAMP environment?

A

a popular open-source software stack used for hosting web applications utilizing Linux, Apache, MySQL & PHP/Python.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

[Interview]
Tell me about a time when something broke & you had to fix it

A

personalized answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

[Interview]
What would you do if a server went down?

A

personalized answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

[Interview]
What are some things you would check if your application went down?

A

personalized answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

[Interview]
Someone is complaining of a server with full disk space, & when running a df -h says nothing is full. What would you do?

A

personalized answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is your experience with GitLab & BitBucket? (enterprise versions of GitHub)

A

We use it for version control for CI/CD
(version control: a system that helps manage changes to files, code or documents over time. Also allows you to go back to a previous version of a file, see history of changes or collaborate with others w/o overwriting each others work)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly