Quiz: Technical Writer
Technical Writer questions from real interviews as a quiz, with an explanation for every option.
Try it: 5 questions
Loading…
Sample questions
Which three factors can directly limit a microservice’s horizontal scalability? Select three.
- CPU or memory limits, or orchestrator settings, prevent new instances from starting
- The database or an external service cannot handle the increased load
- The service stores state locally and requires synchronization between instances
- Adding instances always removes bottlenecks in dependencies
- The service is stateless and has no shared-resource dependencies
Which description best explains an interface to a junior developer?
- A contract that defines available operations a type implementing it must support
- A mechanism that automatically creates a class from a given set of methods
- A ready-made implementation of methods that implementing classes use unchanged
- A class instance that stores data and calls methods on other objects
Which combination correctly describes how to verify webhook integrity and protect data in transit?
- Verify the message's HMAC signature and send the webhook over HTTPS (TLS).
- Verify the message's HMAC signature and send the webhook over HTTP.
- Encrypt the payload with a shared key and send the webhook over HTTP.
- Compare the payload's checksum and send the webhook over HTTP.
Which statements accurately describe time-based and application-based partitioning for logs, including during seasonal traffic spikes? Select all that apply.
- Time-based indices make deleting old logs harder because the data must be searched for across all current indices.
- A key risk of time-based partitioning is that load is not necessarily spread across applications, so the current index can become hot.
- Time-based indices suit sequential writes, date-range queries, and deleting data according to retention policies.
- Partitioning by application can help when application loads differ substantially and queries usually filter by application.
- During seasonal spikes, application-based partitioning is guaranteed to remove hot load while keeping queries simple.
When is adopting Argo CD usually justified?
- The team does not use Kubernetes yet but wants to learn declarative infrastructure management with Argo CD.
- Applications run on Kubernetes, configuration is stored in Git, and the team needs drift detection and deployment auditing.
- The company has reached a certain size, even though its current stack and deployment process cause no problems.
- Most applications run on virtual machines, and configuration is easier to change manually.
When both operands have type
Integer, what does the==operator compare?- References to the objects
- The objects’ hash codes
- Numeric values
- The objects’ types
Which two Go expressions can count the number of runes (Unicode code points) in the string
s?len(s)strings.Count(s, "")utf8.RuneCountInString(s)len([]rune(s))len([]byte(s))