Elastic136 open jobs

Principal Software Engineer (Java) - Security - Elasticsearch

SecurityPosted 3 days agofrom Elastic's own hiring page

Work type
On-siteCanada
Experience
Not stated
Pay
€105k–166k a year
Posted
3 days ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Elasticsearch, Java and Security

About the job

Elastic, the Search AI Company, enables everyone to find the answers they need in real time, using all their data, at scale — unleashing the potential of businesses and people. The Elastic Search AI Platform, used by more than 50% of the Fortune 500, brings together the precision of search and the intelligence of AI to enable everyone to accelerate the results that matter. By taking advantage of all structured and unstructured data — securing and protecting private information more effectively — Elastic’s complete, cloud-based solutions for search, security, and observability help organizations deliver on the promise of AI.

What is The Role

We are seeking a Principal Software Developer to join the Elasticsearch Security team. In this role, you will lead the architecture and design of Elasticsearch's main features. These features include authentication, authorization, and tenant isolation.

You will work with engineering and product leaders at Elastic. Your goal is to provide high-performance security at all levels. This includes ensuring that our distributed data store has top-quality security at scale.

What You Will Be Doing

  • Owning core security initiatives from architecture to production, focusing on the delivery of new critical features. Leading the technical design, plan, and execution for major security components inside the Elasticsearch core engine.
  • Developing the foundational security models for intricate features.
  • Optimizing security performance at scale in distributed systems environments.
  • Applying cryptographic solutions to address genuine customer use cases.
  • Ensuring robust data isolation within shared infrastructure supporting disparate customers.
  • Monitoring and applying the latest advancements and best practices in security. This includes authentication, identity management, cryptography, and data access management.
  • Collaborating with peers across the company to embed security into new customer features from the outset.
  • Drive vulnerability management efforts by collaborating closely with the InfoSec team to proactively identify, assess, and remediate security risks.
  • Leverage AI-driven tools to automate vulnerability triage, prioritization, and preliminary investigation, streamlining security workflows and reducing manual intervention.
  • Mentoring and coaching other engineers, fostering a culture of technical excellence and security-first development.

What You Bring

  • You have deep knowledge of Java internals and JVM memory management. You understand how concurrency models work. You can write code that is high-performance, thread-safe, and lock-free. This experience includes working with large open-source and enterprise codebases.
  • You have proven experience in designing and building systems for authorization that can scale. This includes deep experience designing scalable RBAC/ABAC models and token validation pipelines. It includes permission compilation and distributed cache invalidation strategies.
  • You have a solid comprehension of distributed systems security, including node-to-node mutual trust, zero-trust transport, partition tolerance, and cluster state propagation.
  • You have a deep knowledge of edge identity protocols (OAuth 2.0, SAML).
  • You have a proven track record of using AI to accelerate development, debug complex systems, and optimize code, while still owning the final outcomes.
  • You possess the ability to collaborate across functions and teams and seamlessly transition between different projects, codebases, or teams based on business priorities
  • You can work autonomously, drive decisions, and lead a distributed team by leveraging asynchronous, direct, and transparent communication.

Bonus Points

  • Knowledge of cipher suites, TLS handshakes, and PKI/certificate lifecycle management.
  • Cryptographic methods considering memory usage and delays.
  • Familiarity with the implications of Post-Quantum Cryptography (PQC) and readiness to support the migration of services to quantum-resistant cryptographic algorithms.
  • Hands-on experience mapping engine-level technical controls to FedRAMP (Moderate/High), FIPS 140, and SOC 2 requirements.
  • Experience working on the internals of a data store or search engine.

Compensation for this role is in the form of base salary.  This role does not have a variable compensation component.  

At Elastic, our compensation philosophy aims to provide fair, competitive and transparent remuneration. Salary ranges are established based on a combination of external market benchmarks, internal pay equity considerations, and the responsibilities and complexity associated with each role. This approach helps ensure consistency across comparable roles while remaining competitive within the relevant labour markets.

The final compensation offered within the applicable range will be determined based on several objective factors, including relevant professional experience, level of skills and expertise, alignment with the role requirements, and the overall scope and complexity of the position.

The typical starting salary range for this role is:€104.800—€165.700 EUR

Additional Information - We Take Care of Our People

As a distributed company, diversity drives our identity. Whether you’re looking to launch a new career or grow an existing one, Elastic is the type of company where you can balance great work with great life. Your age is only a number. It doesn’t matter if you’re just out of college or your children are; we need you for what you can do.

We strive to have parity of benefits across regions and while regulations differ from place to place, we believe taking care of our people is the right thing to do.

  • Competitive pay based on the work you do here and not your previous salary
  • Health coverage for you and your family in many locations
  • Ability to craft your calendar with flexible locations and schedules for many roles
  • Generous number of vacation days each year
  • Increase your impact - We match up to $2000 (or local currency equivalent) for financial donations and service
  • Up to 40 hours each year to use toward volunteer projects you love
  • Embracing parenthood with minimum of 16 weeks of parental leave

Different people approach problems differently. We need that. Elastic is an equal opportunity employer and is committed to creating an inclusive culture that celebrates different perspectives, experiences, and backgrounds. Qualified applicants will receive consideration for employment without regard to race, ethnicity, color, religion, sex, pregnancy, sexual orientation, gender perception or identity, national origin, age, marital status, protected veteran status, disability status, or any other basis protected by federal, state or local law, ordinance or regulation.

We welcome individuals with disabilities and strive to create an accessible and inclusive experience for all individuals. To request an accommodation during the application or the recruiting process, please email candidate_accessibility@elastic.co. We will reply to your request within 24 business hours of submission.

Applicants have rights under Federal Employment Laws, view posters linked below: Family and Medical Leave Act (FMLA) Poster; Pay Transparency Nondiscrimination Provision Poster; Employee Polygraph Protection Act (EPPA) Poster and Know Your Rights (Poster)

Elasticsearch develops and distributes technology and information that is subject to U.S. and other countries’ export controls and licensing requirements for individuals who are located in or are nationals of the following sanctioned countries and regions: Belarus, Cuba, Iran, North Korea, Syria, or Russia, including the Ukrainian territories annexed by Russia (The Crimea region of Ukraine, The Donetsk People's Republic (DNR), The Luhansk People's Republic (LNR), Kherson or Zaporizhzhia). If you are located in or are a national of one of the listed countries or regions, an export license may be required as a condition of your employment in this role. Please note that national origin and/or nationality do not affect eligibility for employment with Elastic.

Please see here for our Privacy Statement.

4 more openings for this job

Elastic posts this job once per place or skill set. Pick the one that fits you.

Interested?Principal Software Engineer (Java) - Security - Elasticsearch at Elastic

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Elasticsearch, Java and Security

Interview questions for this job

For the skills the ad mentions: Elasticsearch, Java and Security.

289 questions
  • Elastic search, multiple indexes vs one index and types for different data sets?Elasticsearch

    There are different implications to both approaches.

    Assuming you are using Elasticsearch's default settings, having 1 index for each model will significantly increase the number of your shards as 1 index will use 5 shards, 5 data models will use 25 shards; while having 5 object types in 1 index is still going to use 5 shards.

    Implications for having each data model as index:

    • Efficient and fast to search within index, as amount of data should be smaller in each shard since it is distributed to different indices.
    • Searching a combination of data models from 2 or more indices is going to generate overhead, because the query will have to be sent to more shards across indices, compiled and sent back to the user.
    • Not recommended if your data set is small since you will incur more storage with each additional shard being created and the performance gain is marginal.
    • Recommended if your data set is big and your queries are taking a long time to process, since dedicated shards are storing your specific data and it will be easier for Elasticsearch to process.

    Implications for having each data model as an object type within an index:

    • More data will be stored within the 5 shards of an index, which means there is lesser overhead issues when you query across different data models but your shard size will be significantly bigger.
    • More data within the shards is going to take a longer time for Elasticsearch to search through since there are more documents to filter.
    • Not recommended if you know you are going through 1 terabytes of data and you are not distributing your data across different indices or multiple shards in your Elasticsearch mapping.
    • Recommended for small data sets, because you will not waste storage space for marginal performance gain since each shard take up space in your hardware.

    If you are asking what is too much data vs small data? Typically it depends on the processor speed and the RAM of your hardware, the amount of data you store within each variable in your mapping for Elasticsearch and your query requirements; using many facets in your queries is going to slow down your response time significantly. There is no straightforward answer to this and you will have to benchmark according to your needs.

    From Stack Overflow: asked by floriank, answered by Jonathan Moo (CC BY-SA 3.0)

  • What is the default garbage collector?Java

    The default depends on whether the JVM classifies the machine as server‑class or client‑class.

    • Server‑class machine - G1. In modern versions, this means the VM detects more than two processors and a heap size >= 1792 MB. Previously, in Java 8, the threshold was slightly higher at 2 GB.
    • Client‑class machine (does not meet the above) - Serial GC.

    This ergonomic selection has been in place since Java 9. However, JEP 523 (currently a Candidate JEP) aims to make G1 the default in all environments in a future JDK release, eliminating the client‑class distinction. Links

    • https://docs.oracle.com/en/java/javase/25/gctuning/ergonomics.html#GUID-DA88B6A6-AF89-4423-95A6-BBCBD9FAE781
    • https://openjdk.org/jeps/523

    From Java interview (MIT)

  • Do any security experts recommend bcrypt for password storage?Security

    Bcrypt has the best kind of repute that can be achieved for a cryptographic algorithm: it has been around for quite some time, used quite widely, "attracted attention", and yet remains unbroken to date.

    Why bcrypt is somewhat better than PBKDF2

    If you look at the situation in details, you can actually see some points where bcrypt is better than, say, PBKDF2. Bcrypt is a password hashing function which aims at being slow. To be precise, we want the password hashing function to be as slow as possible for the attacker while not being intolerably slow for the honest systems. Since "honest systems" tend to use off-the-shelf generic hardware (i.e. "a PC") which are also available to the attacker, the best that we can hope for is to make password hashing N times slower for both the attacker and for us. We then adjust N so as not to exceed our resources (foremost of which being the user's patience, which is really limited).

    What we want to avoid is that an attacker might use some non-PC hardware which would allow him to suffer less than us from the extra work implied by bcrypt or PBKDF2. In particular, an industrious attacker may want to use a GPU or a FPGA. SHA-256, for instance, can be very efficiently implemented on a GPU, since it uses only 32-bit logic and arithmetic operations that GPU are very good at. Hence, an attacker with 500$ worth of GPU will be able to "try" many more passwords per hour than what he could do with 500$ worth of PC (the ratio depends on the type of GPU, but a 10x or 20x ratio would be typical).

    Bcrypt happens to heavily rely on accesses to a table which is constantly altered throughout the algorithm execution. This is very fast on a PC, much less so on a GPU, where memory is shared and all cores compete for control of the internal memory bus. Thus, the boost that an attacker can get from using GPU is quite reduced, compared to what the attacker gets with PBKDF2 or similar designs.

    The designers of bcrypt were quite aware of the issue, which is why they designed bcrypt out of the block cipher Blowfish and not a SHA-* function. They note in their article the following:

    That means one should make any password function as efficient as possible for the setting in which it will operate. The designers of crypt failed to do this. They based crypt on DES, a particularly inefficient algorithm to implement in software because of many bit transpositions. They discounted hardware attacks, in part because crypt cannot be calculated with stock DES hardware. Unfortunately, Biham later discovered a software technique known as bitslicing that eliminates the cost of bit transpositions in computing many simultaneous DES encryptions. While bitslicing won't help anyone log in faster, it offers a staggering speedup to brute force password searches.

    which shows that the hardware and the way it can be used is important. Even with the same PC as the honest system, an attacker can use bitslicing to try several passwords in parallel and get a boost out of it, because the attacker has several passwords to try, while the honest system has only one at a time.

    Why bcrypt is not optimally secure

    Read the rest at the sourceFrom Information Security Stack Exchange: asked by Sam Saffron, answered by Thomas Pornin (CC BY-SA 3.0)

  • What is the difference between MUST and SHOULD in an Elasticsearch bool query?Elasticsearch

    must means: The clause (query) must appear in matching documents. These clauses must match, like logical AND.

    should means: At least one of these clauses must match, like logical OR.

    Basically they are used like logical operators AND and OR. See this.

    Now in a bool query:

    must means: Clauses that must match for the document to be included.

    should means: If these clauses match, they increase the _score; otherwise, they have no effect. They are simply used to refine the relevance score for each document.

    Yes you can use multiple filters inside must.

    From Stack Overflow: asked by user2722667, answered by Utsav Dawn (CC BY-SA 4.0)

  • What is String Pool? How do Strings get there?Java

    String pool is the special memory region where Strings are stored by the JVM. Links

    • https://www.baeldung.com/java-string-pool

    From Java interview (MIT)

  • What is the STAR method, and how do you use it to answer?Behavioural

    Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.

    What STAR stands for

    • Situation - the situation you had to deal with
    • Task - the task you were given to do
    • Action - the action you took
    • Result - what happened as a result of your action and what you learned from the experience

    When to use STAR

    You can use the STAR method in your:

    How to use STAR

    You can use the STAR method to structure the examples you give to questions, especially in interviews.

    A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these. 

    It can help to look at common interview questions when preparing.

    When using STAR, remember to:

    • use examples that work for you - these could be from work, home or volunteering
    • keep examples short and to the point
    • try to get your points across in a conversational way so as not to appear too rehearsed
    • be prepared to answer follow-up questions about the examples you give

    Example 1 - leadership skills

    Tell me about a time when you have shown leadership skills.

    Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.

    Task - my job was to find a way of getting more people to sign up.

    Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.

    Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.

    Example 2 - teamwork

    Tell me about a time you have worked as part of a team?

    Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.

    Task - my job was to work with the rest of the team to set up a bake sale to raise money.

    Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.

    Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.

    Example 3 - problem solving

    Give me an example of when you faced a problem at work. How did you handle it?

    Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Cyber security jobs in Canada (144)